diff mbox series

[-next] dt-bindings: mfd: twl: Fix example

Message ID 20240612134039.1089839-1-andreas@kemnade.info
State Not Applicable
Headers show
Series [-next] dt-bindings: mfd: twl: Fix example | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 7 lines checked
robh/patch-applied fail build log

Commit Message

Andreas Kemnade June 12, 2024, 1:40 p.m. UTC
Fix example to also conform to rules specified in the separate
not-included gpadc binding.

Fixes: 62e4f3396197 ("dt-bindings: regulator: twl-regulator: convert to yaml")
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 Documentation/devicetree/bindings/mfd/ti,twl.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Lee Jones June 12, 2024, 2:03 p.m. UTC | #1
On Wed, 12 Jun 2024, Andreas Kemnade wrote:

> Fix example to also conform to rules specified in the separate
> not-included gpadc binding.
> 
> Fixes: 62e4f3396197 ("dt-bindings: regulator: twl-regulator: convert to yaml")

If this was applied via Regulator, that's where the fix will need to go.

Acked-by: Lee Jones <lee@kernel.org>

> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
>  Documentation/devicetree/bindings/mfd/ti,twl.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/ti,twl.yaml b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
> index 2cbdd238f48f..e94b0fd7af0f 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,twl.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
> @@ -225,6 +225,7 @@ examples:
>          gpadc {
>            compatible = "ti,twl6030-gpadc";
>            interrupts = <6>;
> +          #io-channel-cells = <1>;
>          };
>  
>          rtc {
> -- 
> 2.39.2
>
Krzysztof Kozlowski June 13, 2024, 6:36 a.m. UTC | #2
On 12/06/2024 15:40, Andreas Kemnade wrote:
> Fix example to also conform to rules specified in the separate
> not-included gpadc binding.
> 
> Fixes: 62e4f3396197 ("dt-bindings: regulator: twl-regulator: convert to yaml")
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
>  Documentation/devicetree/bindings/mfd/ti,twl.yaml | 1 +

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
Rob Herring (Arm) June 13, 2024, 2:38 p.m. UTC | #3
On Wed, Jun 12, 2024 at 03:40:39PM +0200, Andreas Kemnade wrote:
> Fix example to also conform to rules specified in the separate
> not-included gpadc binding.
> 
> Fixes: 62e4f3396197 ("dt-bindings: regulator: twl-regulator: convert to yaml")

Reported-by: Rob Herring (Arm) <robh@kernel.org>

> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
>  Documentation/devicetree/bindings/mfd/ti,twl.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/mfd/ti,twl.yaml b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
> index 2cbdd238f48f..e94b0fd7af0f 100644
> --- a/Documentation/devicetree/bindings/mfd/ti,twl.yaml
> +++ b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
> @@ -225,6 +225,7 @@ examples:
>          gpadc {
>            compatible = "ti,twl6030-gpadc";
>            interrupts = <6>;
> +          #io-channel-cells = <1>;
>          };
>  
>          rtc {
> -- 
> 2.39.2
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/mfd/ti,twl.yaml b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
index 2cbdd238f48f..e94b0fd7af0f 100644
--- a/Documentation/devicetree/bindings/mfd/ti,twl.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
@@ -225,6 +225,7 @@  examples:
         gpadc {
           compatible = "ti,twl6030-gpadc";
           interrupts = <6>;
+          #io-channel-cells = <1>;
         };
 
         rtc {