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

Krzysztof Kozlowski posted 1 patch 1 year, 11 months ago
Documentation/devicetree/bindings/mfd/iqs62x.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: mfd: iqs62x: Do not override firmware-name $ref
Posted by Krzysztof Kozlowski 1 year, 11 months ago
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(-)

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
Re: (subset) [PATCH] dt-bindings: mfd: iqs62x: Do not override firmware-name $ref
Posted by Lee Jones 1 year, 11 months ago
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 [李琼斯]

Re: [PATCH] dt-bindings: mfd: iqs62x: Do not override firmware-name $ref
Posted by Conor Dooley 1 year, 11 months ago
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Re: [PATCH] dt-bindings: mfd: iqs62x: Do not override firmware-name $ref
Posted by Jeff LaBundy 1 year, 11 months ago
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
>