dt-bindings: mfd: iqs62x: Do not override firmware-name $ref

Message ID 20240115182042.1610134-1-krzysztof.kozlowski@linaro.org
State New
Headers
Series dt-bindings: mfd: iqs62x: Do not override firmware-name $ref |

Commit Message

Krzysztof Kozlowski Jan. 15, 2024, 6:20 p.m. UTC
  dtschema package defines firmware-name as string-array, so individual
bindings should not make it a string but instead just narrow the number
of expected firmware file names.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/mfd/iqs62x.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jeff LaBundy Jan. 15, 2024, 10:32 p.m. UTC | #1
On Mon, Jan 15, 2024 at 07:20:42PM +0100, Krzysztof Kozlowski wrote:
> dtschema package defines firmware-name as string-array, so individual
> bindings should not make it a string but instead just narrow the number
> of expected firmware file names.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Acked-by: Jeff LaBundy <jeff@labundy.com>

> ---
>  Documentation/devicetree/bindings/mfd/iqs62x.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/iqs62x.yaml b/Documentation/devicetree/bindings/mfd/iqs62x.yaml
> index 044cd7542c2b..f438c2374966 100644
> --- a/Documentation/devicetree/bindings/mfd/iqs62x.yaml
> +++ b/Documentation/devicetree/bindings/mfd/iqs62x.yaml
> @@ -31,7 +31,7 @@ properties:
>      maxItems: 1
>  
>    firmware-name:
> -    $ref: /schemas/types.yaml#/definitions/string
> +    maxItems: 1
>      description:
>        Specifies the name of the calibration and configuration file selected by
>        the driver. If this property is omitted, the name is chosen based on the
> -- 
> 2.34.1
>
  
Conor Dooley Jan. 16, 2024, 5:28 p.m. UTC | #2
Acked-by: Conor Dooley <conor.dooley@microchip.com>
  
Lee Jones Jan. 18, 2024, 2:50 p.m. UTC | #3
On Mon, 15 Jan 2024 19:20:42 +0100, Krzysztof Kozlowski wrote:
> dtschema package defines firmware-name as string-array, so individual
> bindings should not make it a string but instead just narrow the number
> of expected firmware file names.
> 
> 

Applied, thanks!

[1/1] dt-bindings: mfd: iqs62x: Do not override firmware-name $ref
      commit: da4326075cff7ee6416309a9c3641d7eca2a53c7

--
Lee Jones [李琼斯]
  

Patch

diff --git a/Documentation/devicetree/bindings/mfd/iqs62x.yaml b/Documentation/devicetree/bindings/mfd/iqs62x.yaml
index 044cd7542c2b..f438c2374966 100644
--- a/Documentation/devicetree/bindings/mfd/iqs62x.yaml
+++ b/Documentation/devicetree/bindings/mfd/iqs62x.yaml
@@ -31,7 +31,7 @@  properties:
     maxItems: 1
 
   firmware-name:
-    $ref: /schemas/types.yaml#/definitions/string
+    maxItems: 1
     description:
       Specifies the name of the calibration and configuration file selected by
       the driver. If this property is omitted, the name is chosen based on the