Skip to contentSkip to conversation

dt-bindings: sunxi: Fix the pinecube compatible

PATCH In review Maxime Ripard 7 participants 52 messages Jan 14, 2021 – Jan 25, 2021

Subsystems (9)
lore
Share & tools
lore
#0 lore raw

PATCH 1/19 dt-bindings: sunxi: Fix the pinecube compatible

Commit 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to other S3 boards") changed the pinecube compatible to make it similar to the other S3 boards we have, but failed to update the bindings documentation.

Fixes 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to other S3 boards")
---
 Documentation/devicetree/bindings/arm/sunxi.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/sunxi.yaml +2 -1
index 7ea4d9645e93..08607c7ec1bf 100644
@@ -657,7 +657,8 @@ properties:
       - description: Pine64 PineCube
         items:
           - const: pine64,pinecube
-          - const: allwinner,sun8i-s3
+          - const: sochip,s3
+          - const: allwinner,sun8i-v3
 
       - description: Pine64 PineH64 model A
         items:
Signature · 1 line
2.29.2
#1 lore raw

PATCH 2/19 dt-bindings: iio: adc: Add AXP803 compatible

The AXP803 compatible was introduced recently with a fallback to the AXP813, but it was never documented.

Cc Jonathan Cameron <[email protected]>
Cc Lars-Peter Clausen <[email protected]>
Cc Peter Meerwald-Stadler <[email protected]>
---
 .../bindings/iio/adc/x-powers,axp209-adc.yaml        | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml +8 -4
index 5ccbb1f81960..e759a5da708d 100644
@@ -46,10 +46,14 @@ description: |
 
 properties:
   compatible:
-    enum:
-      - x-powers,axp209-adc
-      - x-powers,axp221-adc
-      - x-powers,axp813-adc
+    oneOf:
+      - const: x-powers,axp209-adc
+      - const: x-powers,axp221-adc
+      - const: x-powers,axp813-adc
+
+      - items:
+          - const: x-powers,axp803-adc
+          - const: x-powers,axp813-adc
 
   "#io-channel-cells":
     const: 1
Signature · 1 line
2.29.2
Acked-by on v1 2/19
#2 lore raw

Re: [PATCH 02/19] dt-bindings: iio: adc: Add AXP803 compatible

Dne četrtek, 14. januar 2021 ob 12:35:21 CET je Maxime Ripard napisal(a):

Quoted 7 lines

The AXP803 compatible was introduced recently with a fallback to the AXP813, but it was never documented.

Cc Jonathan Cameron <[email protected]>
Cc Lars-Peter Clausen <[email protected]>
Cc Peter Meerwald-Stadler <[email protected]>

Best regards,
Jernej

maintainer Acked-by
#3 lore raw

Re: [PATCH 02/19] dt-bindings: iio: adc: Add AXP803 compatible

Quoted 10 lines · On Thu, 14 Jan 2021 21:10:19 +0100 Jernej Škrabec <[email protected]>…

Dne četrtek, 14. januar 2021 ob 12:35:21 CET je Maxime Ripard napisal(a):

Quoted 7 lines

The AXP803 compatible was introduced recently with a fallback to the AXP813, but it was never documented.

Cc Jonathan Cameron <[email protected]>
Cc Lars-Peter Clausen <[email protected]>
Cc Peter Meerwald-Stadler <[email protected]>

Please make sure to cc [email protected] on patches like this. If nothing else I read that a lot more often than I catch up with patches that escaped all my filters!

This looks fine and I'm happy for it go with the rest of the series.

If preferred I can pick it up directly.

Quoted 5 lines

Best regards,
Jernej

#4 lore raw

PATCH 3/19 dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks

In reply to Maxime Ripard

The commit ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional") loosened the requirement of the clocks property, making it optional. However, the binding still required it to be present.

Cc Alexandre Belloni <[email protected]>
Fixes ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional")
---
 .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml         | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml +0 -1
index 37c2a601c3fa..b1b0ee769b71 100644
@@ -128,7 +128,6 @@ required:
   - compatible
   - reg
   - interrupts
-  - clocks
   - clock-output-names
 
 additionalProperties: false
Signature · 1 line
2.29.2
Acked-by on v1 3/19
#5 lore raw

Re: [PATCH 03/19] dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks

Dne četrtek, 14. januar 2021 ob 12:35:22 CET je Maxime Ripard napisal(a):

Quoted 7 lines

The commit ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional") loosened the requirement of the clocks property, making it optional. However, the binding still required it to be present.

Cc Alexandre Belloni <[email protected]>
Fixes ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional")

Thanks!

Best regards,
Jernej

maintainer Acked-by on v1 3/19
#6 lore raw

Re: [PATCH 03/19] dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks

In reply to Maxime Ripard
Quoted 7 lines · Maxime Ripard

The commit ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional") loosened the requirement of the clocks property, making it optional. However, the binding still required it to be present.

Cc Alexandre Belloni <[email protected]>
Fixes ec98a87509f4 ("rtc: sun6i: Make external 32k oscillator optional")
Quoted 19 lines
---
 .../devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml         | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/rtc/allwinner,sun6i-a31-rtc.yaml +0 -1
index 37c2a601c3fa..b1b0ee769b71 100644
@@ -128,7 +128,6 @@ required:
   - compatible
   - reg
   - interrupts
-  - clocks
   - clock-output-names
 
 additionalProperties: false
Signature · 1 line
2.29.2
Signature · 8 lines
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#7 lore raw

PATCH 4/19 dt-bindings: bridge: simple: Add corpro, gm7123 compatible

In reply to Maxime Ripard

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +4 -0
index 64e8a1c24b40..97ca07b56cbc 100644
@@ -22,6 +22,10 @@ properties:
               - ti,ths8134a
               - ti,ths8134b
           - const: ti,ths8134
+      - items:
+          - const: corpro,gm7123
+          - const: adi,adv7123
+          - const: dumb-vga-dac
       - enum:
           - adi,adv7123
           - dumb-vga-dac
Signature · 1 line
2.29.2
Acked-by on v1 4/19
#8 lore raw

Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro, gm7123 compatible

Dne četrtek, 14. januar 2021 ob 12:35:23 CET je Maxime Ripard napisal(a):

Quoted 6 lines

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>

Best regards,
Jernej

#9 lore raw

Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro,gm7123 compatible

In reply to Maxime Ripard

Hi Maxime,

Thank you for the patch.

Quoted 15 lines · Maxime Ripard

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +0 -0
index 64e8a1c24b40..97ca07b56cbc 100644

Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml properties: · line 27

Quoted 6 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +3 -0
@@ -22,6 +22,10 @@ properties:
               - ti,ths8134a
               - ti,ths8134b
           - const: ti,ths8134
+      - items:
+          - const: corpro,gm7123
+          - const: adi,adv7123

Do we need adi,adv7123 ?

Quoted 4 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +1 -0
+          - const: dumb-vga-dac
       - enum:
           - adi,adv7123
           - dumb-vga-dac
Signature · 3 lines
Regards,

Laurent Pinchart
#10 lore raw

Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro,gm7123 compatible

Hi Laurent,

Quoted 13 lines · Laurent Pinchart

Thank you for the patch.

Quoted 10 lines · Maxime Ripard

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 13 lines

Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml properties: · line 27

Quoted 11 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +3 -0
index 64e8a1c24b40..97ca07b56cbc 100644
@@ -22,6 +22,10 @@ properties:
               - ti,ths8134a
               - ti,ths8134b
           - const: ti,ths8134
+      - items:
+          - const: corpro,gm7123
+          - const: adi,adv7123

Do we need adi,adv7123 ?

I'm not sure: it looks like having both the adv7123 and the dumb-vga-dac compatible was never an option, so we can also change the DT to have corpro,gm7123, dumb-vga-dac

Would that work?

Maxime

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#11 lore raw

Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro, gm7123 compatible

Quoted 31 lines · Maxime Ripard

Hi Laurent,

Quoted 13 lines · Laurent Pinchart

Thank you for the patch.

Quoted 10 lines · Maxime Ripard

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 13 lines

Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml properties: · line 27

Quoted 11 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +3 -0
index 64e8a1c24b40..97ca07b56cbc 100644
@@ -22,6 +22,10 @@ properties:
               - ti,ths8134a
               - ti,ths8134b
           - const: ti,ths8134
+      - items:
+          - const: corpro,gm7123
+          - const: adi,adv7123

Do we need adi,adv7123 ?

Quoted 3 lines

I'm not sure: it looks like having both the adv7123 and the dumb-vga-dac compatible was never an option, so we can also change the DT to have corpro,gm7123, dumb-vga-dac

FYI I used the adi,adv7123 fallback because the gm7123 datasheet compares the two, with the gm7123 having lower standby current, but only limited to 3.3V power supply. Maximum resolution, conversion rate, and the range of output current are all the same. The package is the same as well. I believe the gm7123 is intended as a drop-in clone of the adv7123.

ChenYu

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

reviewer Reviewed-by
#12 lore raw

Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro,gm7123 compatible

Hi Chen-Yu,

Quoted 31 lines · Chen-Yu Tsai
Quoted 26 lines · Maxime Ripard
Quoted 11 lines · Laurent Pinchart
Quoted 10 lines · Maxime Ripard

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 13 lines

Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml properties: · line 27

Quoted 11 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +3 -0
index 64e8a1c24b40..97ca07b56cbc 100644
@@ -22,6 +22,10 @@ properties:
               - ti,ths8134a
               - ti,ths8134b
           - const: ti,ths8134
+      - items:
+          - const: corpro,gm7123
+          - const: adi,adv7123

Do we need adi,adv7123 ?

Quoted 3 lines

I'm not sure: it looks like having both the adv7123 and the dumb-vga-dac compatible was never an option, so we can also change the DT to have corpro,gm7123, dumb-vga-dac

Quoted 5 lines

FYI I used the adi,adv7123 fallback because the gm7123 datasheet compares the two, with the gm7123 having lower standby current, but only limited to 3.3V power supply. Maximum resolution, conversion rate, and the range of output current are all the same. The package is the same as well. I believe the gm7123 is intended as a drop-in clone of the adv7123.

That's a good point. I don't mind either way.

Signature · 8 lines
Regards,

Laurent Pinchart

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
reviewer Reviewed-by
#13 lore raw

Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro,gm7123 compatible

In reply to Maxime Ripard

Hi Maxime,

Quoted 26 lines · Maxime Ripard
Quoted 11 lines · Laurent Pinchart
Quoted 10 lines · Maxime Ripard

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 4 ++++
 1 file changed, 4 insertions(+)
Quoted 13 lines

Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml properties: · line 27

Quoted 11 lines
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +3 -0
index 64e8a1c24b40..97ca07b56cbc 100644
@@ -22,6 +22,10 @@ properties:
               - ti,ths8134a
               - ti,ths8134b
           - const: ti,ths8134
+      - items:
+          - const: corpro,gm7123
+          - const: adi,adv7123

Do we need adi,adv7123 ?

Quoted 5 lines

I'm not sure: it looks like having both the adv7123 and the dumb-vga-dac compatible was never an option, so we can also change the DT to have corpro,gm7123, dumb-vga-dac

Would that work?

With that,

Signature · 8 lines
Regards,

Laurent Pinchart

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Reviewed-by on v1 4/19
#14 lore raw

Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro, gm7123 compatible

In reply to Maxime Ripard
Quoted 10 lines · Maxime Ripard

The corpro,gm7123 was in use in a DT but was never properly documented, let's add it.

Cc Laurent Pinchart <[email protected]>
Cc Sam Ravnborg <[email protected]>
---
 .../devicetree/bindings/display/bridge/simple-bridge.yaml     | 4 ++++
 1 file changed, 4 insertions(+)

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#15 lore raw

PATCH 5/19 dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties

In reply to Maxime Ripard

additionalProperties prevent any property not explicitly defined in the binding to be used. Yet, some serial properties like max-speed are valid and validated through the serial/serial.yaml binding.

Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.

Cc Alistair Francis <[email protected]>
Cc Vasily Khoruzhick <[email protected]>
---
 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +1 -1
index 4f485df69ac3..f4d4969d87f4 100644
@@ -37,7 +37,7 @@ properties:
 required:
   - compatible
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.29.2
Acked-by on v1 5/19
#16 lore raw

Re: [PATCH 05/19] dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties

Dne četrtek, 14. januar 2021 ob 12:35:24 CET je Maxime Ripard napisal(a):

Quoted 10 lines

additionalProperties prevent any property not explicitly defined in the binding to be used. Yet, some serial properties like max-speed are valid and validated through the serial/serial.yaml binding.

Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.

Cc Alistair Francis <[email protected]>
Cc Vasily Khoruzhick <[email protected]>

Best regards,
Jernej

maintainer
#17 lore raw

Re: [PATCH 05/19] dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties

In reply to Maxime Ripard
Quoted 7 lines · Maxime Ripard

additionalProperties prevent any property not explicitly defined in the binding to be used. Yet, some serial properties like max-speed are valid and validated through the serial/serial.yaml binding.

Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.

Quoted 7 lines
Cc Alistair Francis <[email protected]>
Cc Vasily Khoruzhick <[email protected]>
---
 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml: 'additionalProperties' is a required property /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/realtek-bluetooth.yaml: ignoring, error in schema:
warning: no schema found in file: ./Documentation/devicetree/bindings/net/realtek-bluetooth.yaml

See https://patchwork.ozlabs.org/patch/1426311

This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:

pip3 install dtschema --upgrade

Please check and re-submit.

maintainer
#18 lore raw

Re: [PATCH 05/19] dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties

In reply to Maxime Ripard
Quoted 19 lines · Maxime Ripard

additionalProperties prevent any property not explicitly defined in the binding to be used. Yet, some serial properties like max-speed are valid and validated through the serial/serial.yaml binding.

Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.

Cc Alistair Francis <[email protected]>
Cc Vasily Khoruzhick <[email protected]>
---
 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +0 -0
index 4f485df69ac3..f4d4969d87f4 100644

Documentation/devicetree/bindings/net/realtek-bluetooth.yaml properties: · line 40

Quoted 5 lines
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +1 -1
@@ -37,7 +37,7 @@ properties:
 required:
   - compatible
 
-additionalProperties: false
+unevaluatedProperties: false

This would still fail because the serial schema is applied to the parent and this schema is applied to the child node. It's a common problem for how we've done bus schemas. We'd need to split them into 2 schemas and reference the child schema here. I'd rather not do that here because then we'd apply the schema twice assuming we keep bus schemas also applying the child schemas (which is good at least until we have schemas for *all* possible child devices).

We've handled this in other cases by just doing 'max-speed: true' here.

Rob

#19 lore raw

Re: [PATCH 05/19] dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties

Hi Rob,

Quoted 23 lines · Rob Herring
Quoted 22 lines · Maxime Ripard

additionalProperties prevent any property not explicitly defined in the binding to be used. Yet, some serial properties like max-speed are valid and validated through the serial/serial.yaml binding.

Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.

Cc Alistair Francis <[email protected]>
Cc Vasily Khoruzhick <[email protected]>
---
 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +0 -0
index 4f485df69ac3..f4d4969d87f4 100644
@@ -37,7 +37,7 @@ properties:
 required:
   - compatible
 
Quoted 10 lines

Documentation/devicetree/bindings/net/realtek-bluetooth.yaml properties: · line 40

Quoted 2 lines
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +1 -1
-additionalProperties: false
+unevaluatedProperties: false

This would still fail because the serial schema is applied to the parent and this schema is applied to the child node. It's a common problem for how we've done bus schemas. We'd need to split them into 2 schemas and reference the child schema here. I'd rather not do that here because then we'd apply the schema twice assuming we keep bus schemas also applying the child schemas (which is good at least until we have schemas for *all* possible child devices).

I couldn't find what requires additionalProperties in the meta-schemas, could you point me to what enforces it?

Quoted 1 line

We've handled this in other cases by just doing 'max-speed: true' here.

I will do that then, thanks!
Maxime

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

maintainer
#20 lore raw

Re: [PATCH 05/19] dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties

Quoted 38 lines · Maxime Ripard

Hi Rob,

Quoted 23 lines · Rob Herring
Quoted 22 lines · Maxime Ripard

additionalProperties prevent any property not explicitly defined in the binding to be used. Yet, some serial properties like max-speed are valid and validated through the serial/serial.yaml binding.

Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.

Cc Alistair Francis <[email protected]>
Cc Vasily Khoruzhick <[email protected]>
---
 Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +0 -0
index 4f485df69ac3..f4d4969d87f4 100644
@@ -37,7 +37,7 @@ properties:
 required:
   - compatible
 
Quoted 10 lines

Documentation/devicetree/bindings/net/realtek-bluetooth.yaml properties: · line 40

Quoted 2 lines
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +1 -1
-additionalProperties: false
+unevaluatedProperties: false

This would still fail because the serial schema is applied to the parent and this schema is applied to the child node. It's a common problem for how we've done bus schemas. We'd need to split them into 2 schemas and reference the child schema here. I'd rather not do that here because then we'd apply the schema twice assuming we keep bus schemas also applying the child schemas (which is good at least until we have schemas for *all* possible child devices).

Quoted 2 lines

I couldn't find what requires additionalProperties in the meta-schemas, could you point me to what enforces it?

https://github.com/devicetree-org/dt-schema/commit/14db51af82b0ab52f4a69f9aaa86726087b3022a

Rob

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#21 lore raw

PATCH 6/19 ARM: dts: sunxi: Fix the LED node names

In reply to Maxime Ripard

According to the LED bindings, the LED node names are supposed to be led plus an optional suffix. Let's fix our users to use that new scheme.

---
 arch/arm/boot/dts/sun4i-a10-a1000.dts                     | 4 ++--
 arch/arm/boot/dts/sun4i-a10-cubieboard.dts                | 4 ++--
 arch/arm/boot/dts/sun4i-a10-jesurun-q5.dts                | 2 +-
 arch/arm/boot/dts/sun4i-a10-marsboard.dts                 | 8 ++++----
 arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts            | 2 +-
 arch/arm/boot/dts/sun4i-a10-pcduino.dts                   | 4 ++--
 arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts              | 2 +-
 arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts              | 2 +-
 arch/arm/boot/dts/sun5i-a10s-mk802.dts                    | 2 +-
 arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts          | 2 +-
 arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts             | 2 +-
 arch/arm/boot/dts/sun5i-a10s-wobo-i5.dts                  | 2 +-
 arch/arm/boot/dts/sun5i-a13-licheepi-one.dts              | 6 +++---
 arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts           | 2 +-
 arch/arm/boot/dts/sun5i-a13-olinuxino.dts                 | 2 +-
 arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts    | 2 +-
 arch/arm/boot/dts/sun6i-a31-i7.dts                        | 2 +-
 arch/arm/boot/dts/sun6i-a31-m9.dts                        | 2 +-
 arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts          | 2 +-
 arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts          | 6 +++---
 arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts          | 4 ++--
 arch/arm/boot/dts/sun7i-a20-bananapi.dts                  | 2 +-
 arch/arm/boot/dts/sun7i-a20-bananapro.dts                 | 4 ++--
 arch/arm/boot/dts/sun7i-a20-cubieboard2.dts               | 4 ++--
 arch/arm/boot/dts/sun7i-a20-cubietruck.dts                | 8 ++++----
 arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts                 | 4 ++--
 arch/arm/boot/dts/sun7i-a20-itead-ibox.dts                | 4 ++--
 arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts                 | 2 +-
 arch/arm/boot/dts/sun7i-a20-m3.dts                        | 2 +-
 arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts            | 2 +-
 arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts         | 6 +++---
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts            | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts           | 2 +-
 arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts           | 2 +-
 arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts             | 4 ++--
 arch/arm/boot/dts/sun7i-a20-orangepi.dts                  | 2 +-
 arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts             | 6 ++----
 arch/arm/boot/dts/sun7i-a20-pcduino3.dts                  | 4 ++--
 arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts            | 2 +-
 arch/arm/boot/dts/sun8i-a33-olinuxino.dts                 | 2 +-
 arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts              | 4 ++--
 arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts          | 8 ++++----
 arch/arm/boot/dts/sun8i-h3-beelink-x2.dts                 | 4 ++--
 arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts                | 4 ++--
 arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts             | 4 ++--
 arch/arm/boot/dts/sun8i-h3-nanopi.dtsi                    | 4 ++--
 arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts        | 4 ++--
 arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts              | 6 +++---
 arch/arm/boot/dts/sun8i-r16-parrot.dts                    | 8 ++++----
 arch/arm/boot/dts/sun9i-a80-cubieboard4.dts               | 4 ++--
 arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 6 +++---
 arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts   | 2 +-
 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi   | 6 +++---
 arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts      | 4 ++--
 .../boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts     | 4 ++--
 arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts   | 4 ++--
 arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts  | 4 ++--
 .../arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts | 4 ++--
 .../boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts   | 4 ++--
 .../boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts  | 4 ++--
 arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts   | 2 +-
 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts    | 4 ++--
 arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi     | 4 ++--
 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts      | 6 +++---
 64 files changed, 117 insertions(+), 119 deletions(-)
arch/arm/boot/dts/sun4i-a10-a1000.dts +2 -2
index af8ab736fd3c..20f9ed244851 100644
@@ -74,12 +74,12 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		red {
+		led-0 {
 			label = "a1000:red:usr";
 			gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>;
 		};
 
-		blue {
+		led-1 {
 			label = "a1000:blue:pwr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun4i-a10-cubieboard.dts +2 -2
index 6ca02e824acc..0645d6064235 100644
@@ -75,12 +75,12 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_cubieboard>;
 
-		blue {
+		led-0 {
 			label = "cubieboard:blue:usr";
 			gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* LED1 */
 		};
 
-		green {
+		led-1 {
 			label = "cubieboard:green:usr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>; /* LED2 */
 			linux,default-trigger = "heartbeat";
arch/arm/boot/dts/sun4i-a10-jesurun-q5.dts +1 -1
index 8a7b4c53d278..1aeb0bd5519e 100644
@@ -63,7 +63,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led {
 			label = "q5:green:usr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;  /* PH20 */
 		};
arch/arm/boot/dts/sun4i-a10-marsboard.dts +4 -4
index a843e57530ed..81fdb217d339 100644
@@ -62,22 +62,22 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		red1 {
+		led-0 {
 			label = "marsboard:red1:usr";
 			gpios = <&pio 1 5 GPIO_ACTIVE_HIGH>;
 		};
 
-		red2 {
+		led-1 {
 			label = "marsboard:red2:usr";
 			gpios = <&pio 1 6 GPIO_ACTIVE_HIGH>;
 		};
 
-		red3 {
+		led-2 {
 			label = "marsboard:red3:usr";
 			gpios = <&pio 1 7 GPIO_ACTIVE_HIGH>;
 		};
 
-		red4 {
+		led-3 {
 			label = "marsboard:red4:usr";
 			gpios = <&pio 1 8 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts +1 -1
index 845f76824d57..ad0e25af45be 100644
@@ -74,7 +74,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_olinuxinolime>;
 
-		green {
+		led {
 			label = "a10-olinuxino-lime:green:usr";
 			gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun4i-a10-pcduino.dts +2 -2
index 83287b6c975e..1ac82376baef 100644
@@ -63,12 +63,12 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		tx {
+		led-0 {
 			label = "pcduino:green:tx";
 			gpios = <&pio 7 15 GPIO_ACTIVE_LOW>;
 		};
 
-		rx {
+		led-1 {
 			label = "pcduino:green:rx";
 			gpios = <&pio 7 16 GPIO_ACTIVE_LOW>;
 		};
arch/arm/boot/dts/sun5i-a10s-auxtek-t003.dts +1 -1
index 64d50fcfcd3a..04b0e6d28769 100644
@@ -62,7 +62,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_t003>;
 
-		red {
+		led {
 			label = "t003-tv-dongle:red:usr";
 			gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */
 			default-state = "on";
arch/arm/boot/dts/sun5i-a10s-auxtek-t004.dts +1 -1
index 8af0eae2ddc1..667bc2dc1ea9 100644
@@ -62,7 +62,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_t004>;
 
-		red {
+		led {
 			label = "t004-tv-dongle:red:usr";
 			gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */
 			default-state = "on";
arch/arm/boot/dts/sun5i-a10s-mk802.dts +1 -1
index 6e90ccb267aa..d0219404c231 100644
@@ -60,7 +60,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		red {
+		led {
 			label = "mk802:red:usr";
 			gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>; /* PB2 */
 		};
arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts +1 -1
index d6bb82c295f0..5832bb31fc51 100644
@@ -79,7 +79,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_olinuxino>;
 
-		green {
+		led {
 			label = "a10s-olinuxino-micro:green:usr";
 			gpios = <&pio 4 3 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun5i-a10s-r7-tv-dongle.dts +1 -1
index b2a49a216ebf..964360f0610a 100644
@@ -63,7 +63,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_r7>;
 
-		green {
+		led {
 			label = "r7-tv-dongle:green:usr";
 			gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun5i-a10s-wobo-i5.dts +1 -1
index 1f74ba1634cc..ef8baa992687 100644
@@ -62,7 +62,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led {
 			label = "a10s-wobo-i5:blue:usr";
 			gpios = <&pio 1 2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun5i-a13-licheepi-one.dts +3 -3
index ba8d75b3c716..2ce361f8fede 100644
@@ -66,18 +66,18 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		red {
+		led-0 {
 			label ="licheepi:red:usr";
 			gpios = <&pio 2 5 GPIO_ACTIVE_LOW>;
 		};
 
-		green {
+		led-1 {
 			label ="licheepi:green:usr";
 			gpios = <&pio 2 19 GPIO_ACTIVE_LOW>;
 			default-state = "on";
 		};
 
-		blue {
+		led-2 {
 			label ="licheepi:blue:usr";
 			gpios = <&pio 2 4 GPIO_ACTIVE_LOW>;
 		};
arch/arm/boot/dts/sun5i-a13-olinuxino-micro.dts +1 -1
index 5df398d77238..bfe1075e62cc 100644
@@ -64,7 +64,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_olinuxinom>;
 
-		power {
+		led {
 			label = "a13-olinuxino-micro:green:power";
 			gpios = <&pio 6 9 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun5i-a13-olinuxino.dts +1 -1
index 39101228a755..fadeae3cd8bb 100644
@@ -66,7 +66,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_olinuxino>;
 
-		power {
+		led {
 			gpios = <&pio 6 9 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts +1 -1
index e9ef97c9c893..3428bebceff0 100644
@@ -37,7 +37,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		power {
+		led {
 			gpios = <&pio 4 8 GPIO_ACTIVE_LOW>; /* PE8 */
 			default-state = "on";
 		};
arch/arm/boot/dts/sun6i-a31-i7.dts +1 -1
index 6cc8ccf53d88..744723d956f0 100644
@@ -72,7 +72,7 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led {
 			label = "i7:blue:usr";
 			gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun6i-a31-m9.dts +1 -1
index a645c8f4257c..aff716b523c4 100644
@@ -61,7 +61,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led {
 			label = "m9:blue:pwr";
 			gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts +1 -1
index 648f24746234..959ed9ce4b48 100644
@@ -61,7 +61,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led {
 			label = "a1000g:blue:pwr";
 			gpios = <&pio 7 13 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts +3 -3
index 367006fb280d..b4ce60a3b194 100644
@@ -59,17 +59,17 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "bpi-m2:blue:usr";
 			gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */
 		};
 
-		green {
+		led-1 {
 			label = "bpi-m2:green:usr";
 			gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10 */
 		};
 
-		red {
+		led-2 {
 			label = "bpi-m2:red:usr";
 			gpios = <&pio 6 5 GPIO_ACTIVE_HIGH>; /* PG5 */
 		};
arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts +2 -2
index 8945dbb114a2..caa935ca4f19 100644
@@ -74,12 +74,12 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led-0 {
 			label = "bananapi-m1-plus:green:usr";
 			gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
 		};
 
-		pwr {
+		led-1 {
 			label = "bananapi-m1-plus:pwr:usr";
 			gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun7i-a20-bananapi.dts +1 -1
index 0b3d9ae75650..9d792d7a0f92 100644
@@ -77,7 +77,7 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led {
 			label = "bananapi:green:usr";
 			gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun7i-a20-bananapro.dts +2 -2
index 01ccff756996..042badd50b42 100644
@@ -63,12 +63,12 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "bananapro:blue:usr";
 			gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>;
 		};
 
-		green {
+		led-1 {
 			label = "bananapro:green:usr";
 			gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun7i-a20-cubieboard2.dts +2 -2
index b8203e4ef21c..e35e6990c4b2 100644
@@ -75,12 +75,12 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "cubieboard2:blue:usr";
 			gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
 		};
 
-		green {
+		led-1 {
 			label = "cubieboard2:green:usr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun7i-a20-cubietruck.dts +4 -4
index 9109ca0919ad..52160e368304 100644
@@ -75,22 +75,22 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "cubietruck:blue:usr";
 			gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
 		};
 
-		orange {
+		led-1 {
 			label = "cubietruck:orange:usr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
 		};
 
-		white {
+		led-2 {
 			label = "cubietruck:white:usr";
 			gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>;
 		};
 
-		green {
+		led-3 {
 			label = "cubietruck:green:usr";
 			gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts +2 -2
index 358ed5f1b1c1..b21ddd0ec1c2 100644
@@ -62,12 +62,12 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		red {
+		led-0 {
 			label = "i12_tvbox:red:usr";
 			gpios = <&pio 7 9 GPIO_ACTIVE_LOW>;
 		};
 
-		blue {
+		led-1 {
 			label = "i12_tvbox:blue:usr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun7i-a20-itead-ibox.dts +2 -2
index 946c27278321..8ff83016ff5a 100644
@@ -53,13 +53,13 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_itead_core>;
 
-		green {
+		led-0 {
 			label = "itead_core:green:usr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		blue {
+		led-1 {
 			label = "itead_core:blue:usr";
 			gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts +1 -1
index 17fa8901fc00..97518afe4658 100644
@@ -75,7 +75,7 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led {
 			label = "lamobo_r1:green:usr";
 			gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun7i-a20-m3.dts +1 -1
index 6bff9e731fc3..f161d5238860 100644
@@ -64,7 +64,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led {
 			label = "m3:blue:usr";
 			gpios = <&pio 7 20 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts +1 -1
index 6f9c54b8e49a..f05ee32bc9cb 100644
@@ -75,7 +75,7 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led {
 			label = "a20-olimex-som-evb:green:usr";
 			gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts +3 -3
index 230d62a6b8f1..54af6c18075b 100644
@@ -46,19 +46,19 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		stat {
+		led-0 {
 			label = "a20-som204-evb:green:stat";
 			gpios = <&pio 8 0 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		led1 {
+		led-1 {
 			label = "a20-som204-evb:green:led1";
 			gpios = <&pio 8 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		led2 {
+		led-2 {
 			label = "a20-som204-evb:yellow:led2";
 			gpios = <&pio 8 11 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts +1 -1
index 2adbac860119..92938d022295 100644
@@ -78,7 +78,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_olinuxinolime>;
 
-		green {
+		led {
 			label = "a20-olinuxino-lime:green:usr";
 			gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +1 -1
index 9ba62774e89a..8077f1716fbc 100644
@@ -75,7 +75,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_olinuxinolime>;
 
-		green {
+		led {
 			label = "a20-olinuxino-lime2:green:usr";
 			gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts +1 -1
index 359bd0d5b3b1..a1b89b2a2999 100644
@@ -82,7 +82,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pins_olinuxino>;
 
-		green {
+		led {
 			label = "a20-olinuxino-micro:green:usr";
 			gpios = <&pio 7 2 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts +2 -2
index 2e328d2cefc1..84efa01e7cba 100644
@@ -75,12 +75,12 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led-0 {
 			label = "orangepi:green:usr";
 			gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; /* PH24 */
 		};
 
-		blue {
+		led-1 {
 			label = "orangepi:blue:usr";
 			gpios = <&pio 7 25 GPIO_ACTIVE_HIGH>; /* PH25 */
 		};
arch/arm/boot/dts/sun7i-a20-orangepi.dts +1 -1
index d75b2e2bab28..5d77f1d9818f 100644
@@ -64,7 +64,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led {
 			label = "orangepi:green:usr";
 			gpios = <&pio 7 24 GPIO_ACTIVE_HIGH>; /* PH24 */
 		};
arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts +2 -4
index bf38c66c1815..e40ecb48d726 100644
@@ -72,14 +72,12 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		/* Marked "LED3" on the PCB. */
-		usr1 {
+		led-3 {
 			label = "pcduino3-nano:green:usr1";
 			gpios = <&pio 7 16 GPIO_ACTIVE_LOW>; /* PH16 */
 		};
 
-		/* Marked "LED4" on the PCB. */
-		usr2 {
+		led-4 {
 			label = "pcduino3-nano:green:usr2";
 			gpios = <&pio 7 15 GPIO_ACTIVE_LOW>; /* PH15 */
 		};
arch/arm/boot/dts/sun7i-a20-pcduino3.dts +2 -2
index cc8271d777b8..4f8d55d3ba79 100644
@@ -64,12 +64,12 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		tx {
+		led-0 {
 			label = "pcduino3:green:tx";
 			gpios = <&pio 7 15 GPIO_ACTIVE_LOW>;
 		};
 
-		rx {
+		led-1 {
 			label = "pcduino3:green:rx";
 			gpios = <&pio 7 16 GPIO_ACTIVE_LOW>;
 		};
arch/arm/boot/dts/sun8i-a33-inet-d978-rev2.dts +1 -1
index 317763069c0a..065cb620aa99 100644
@@ -63,7 +63,7 @@ leds {
 		pinctrl-names = "default";
 		pinctrl-0 = <&led_pin_d978>;
 
-		home {
+		led {
 			label = "d978:blue:home";
 			gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
 		};
arch/arm/boot/dts/sun8i-a33-olinuxino.dts +1 -1
index a1953b2872d0..9adf58f866d6 100644
@@ -62,7 +62,7 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led {
 			label = "a33-olinuxino:green:usr";
 			gpios = <&pio 1 7 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +2 -2
index 431f70234d36..b60016a4429c 100644
@@ -74,12 +74,12 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "bananapi-m3:blue:usr";
 			gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>;
 		};
 
-		green {
+		led-1 {
 			label = "bananapi-m3:green:usr";
 			gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts +4 -4
index d8326a5c681d..e26af7cf10e0 100644
@@ -74,22 +74,22 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "cubietruck-plus:blue:usr";
 			gpios = <&pio 3 25 GPIO_ACTIVE_HIGH>; /* PD25 */
 		};
 
-		orange {
+		led-1 {
 			label = "cubietruck-plus:orange:usr";
 			gpios = <&pio 3 26 GPIO_ACTIVE_HIGH>; /* PD26 */
 		};
 
-		white {
+		led-2 {
 			label = "cubietruck-plus:white:usr";
 			gpios = <&pio 3 27 GPIO_ACTIVE_HIGH>; /* PD27 */
 		};
 
-		green {
+		led-3 {
 			label = "cubietruck-plus:green:usr";
 			gpios = <&pio 4 4 GPIO_ACTIVE_HIGH>; /* PE4 */
 		};
arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +2 -2
index 45a24441ff18..62b5280ec093 100644
@@ -75,13 +75,13 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "beelink-x2:blue:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
 			default-state = "on";
 		};
 
-		red {
+		led-1 {
 			label = "beelink-x2:red:standby";
 			gpios = <&pio 0 15 GPIO_ACTIVE_HIGH>; /* PA15 */
 		};
arch/arm/boot/dts/sun8i-h3-nanopi-duo2.dts +2 -2
index 6b149271ef13..8e7dfcffe1fb 100644
@@ -25,13 +25,13 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "nanopi:red:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "nanopi:green:status";
 			gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */
 		};
arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts +2 -2
index 07867a0d569b..be49eabbff94 100644
@@ -61,13 +61,13 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "nanopi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PL10 */
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "nanopi:blue:status";
 			gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */
 		};
arch/arm/boot/dts/sun8i-h3-nanopi.dtsi +2 -2
index 4df29a65316d..c7c3e7d8b3c8 100644
@@ -60,13 +60,13 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		status {
+		led-0 {
 			label = "nanopi:blue:status";
 			gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 
-		pwr {
+		led-1 {
 			label = "nanopi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
arch/arm/boot/dts/sun8i-h3-orangepi-zero-plus2.dts +2 -2
index 251bbab7d707..561ea1d2f861 100644
@@ -73,13 +73,13 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "orangepi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "orangepi:red:status";
 			gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>;
 		};
arch/arm/boot/dts/sun8i-r16-bananapi-m2m.dts +3 -3
index e1c75f7fa3ca..015ba66fd277 100644
@@ -64,17 +64,17 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			label = "bpi-m2m:blue:usr";
 			gpios = <&pio 2 7 GPIO_ACTIVE_LOW>;
 		};
 
-		green {
+		led-1 {
 			label = "bpi-m2m:green:usr";
 			gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>;
 		};
 
-		red {
+		led-2 {
 			label = "bpi-m2m:red:power";
 			gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>;
 			default-state = "on";
arch/arm/boot/dts/sun8i-r16-parrot.dts +4 -4
index 4f48eec6b2ef..09a6a3b2cccc 100644
@@ -64,14 +64,14 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		led1 {
+		led-1 {
 			label = "parrot:led1:usr";
-			gpio = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */
+			gpios = <&pio 4 17 GPIO_ACTIVE_HIGH>; /* PE17 */
 		};
 
-		led2 {
+		led-2 {
 			label = "parrot:led2:usr";
-			gpio = <&pio 4 16 GPIO_ACTIVE_HIGH>; /* PE16 */
+			gpios = <&pio 4 16 GPIO_ACTIVE_HIGH>; /* PE16 */
 		};
 	};
 
arch/arm/boot/dts/sun9i-a80-cubieboard4.dts +2 -2
index 484b93df20cb..1fe251ea94bc 100644
@@ -63,12 +63,12 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		green {
+		led-0 {
 			label = "cubieboard4:green:usr";
 			gpios = <&pio 7 17 GPIO_ACTIVE_HIGH>; /* PH17 */
 		};
 
-		red {
+		led-1 {
 			label = "cubieboard4:red:usr";
 			gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
 		};
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +3 -3
index e5e840b9fbb4..f7fe9fa50cb3 100644
@@ -36,18 +36,18 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr-led {
+		led-0 {
 			label = "bananapi-m64:red:pwr";
 			gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
 			default-state = "on";
 		};
 
-		green {
+		led-1 {
 			label = "bananapi-m64:green:user";
 			gpios = <&pio 4 14 GPIO_ACTIVE_HIGH>; /* PE14 */
 		};
 
-		blue {
+		led-2 {
 			label = "bananapi-m64:blue:user";
 			gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>; /* PE15 */
 		};
arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts +1 -1
index e58db8a6cab6..09b3c7fb82c0 100644
@@ -35,7 +35,7 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led {
 			label = "nanopi-a64:blue:status";
 			gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
 		};
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +3 -3
index 7f37f9fea0ab..bcf64998a829 100644
@@ -31,19 +31,19 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		blue {
+		led-0 {
 			function = LED_FUNCTION_INDICATOR;
 			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&pio 3 20 GPIO_ACTIVE_HIGH>; /* PD20 */
 		};
 
-		green {
+		led-1 {
 			function = LED_FUNCTION_INDICATOR;
 			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&pio 3 18 GPIO_ACTIVE_HIGH>; /* PD18 */
 		};
 
-		red {
+		led-2 {
 			function = LED_FUNCTION_INDICATOR;
 			color = <LED_COLOR_ID_RED>;
 			gpios = <&pio 3 19 GPIO_ACTIVE_HIGH>; /* PD19 */
arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts +2 -2
index a1864a89fb89..f0a16f355e27 100644
@@ -52,12 +52,12 @@ lid-switch {
 	leds {
 		compatible = "gpio-leds";
 
-		capslock {
+		led-0 {
 			label = "teres-i:green:capslock";
 			gpios = <&pio 2 7 GPIO_ACTIVE_HIGH>; /* PC7 */
 		};
 
-		numlock {
+		led-1 {
 			label = "teres-i:green:numlock";
 			gpios = <&pio 2 4 GPIO_ACTIVE_HIGH>; /* PC4 */
 		};
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo-plus2.dts +2 -2
index 9d93fe153689..4c3921ac236c 100644
@@ -25,13 +25,13 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "nanopi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "nanopi:red:status";
 			gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>;
 		};
arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi-neo2.dts +2 -2
index b059e20813bd..02f8e72f0cad 100644
@@ -22,13 +22,13 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "nanopi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "nanopi:blue:status";
 			gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>;
 		};
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts +2 -2
index 8bf2db9dcbda..1010c1b22d2e 100644
@@ -42,13 +42,13 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "orangepi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "orangepi:red:status";
 			gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>;
 		};
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-prime.dts +2 -2
index 33ab44072e6d..74e0444af19b 100644
@@ -36,13 +36,13 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "orangepi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "orangepi:red:status";
 			gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>;
 		};
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus.dts +2 -2
index ef5ca6444220..d13980ed7a79 100644
@@ -33,13 +33,13 @@ chosen {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "orangepi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "orangepi:red:status";
 			gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>; /* PA17 */
 		};
arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-zero-plus2.dts +2 -2
index de19e68eb84e..22530ace12d5 100644
@@ -33,13 +33,13 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		pwr {
+		led-0 {
 			label = "orangepi:green:pwr";
 			gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>;
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "orangepi:red:status";
 			gpios = <&pio 0 17 GPIO_ACTIVE_HIGH>;
 		};
arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts +1 -1
index 7c9dbde645b5..4f4755152fce 100644
@@ -43,7 +43,7 @@ ext_osc32k: ext_osc32k_clk {
 	leds {
 		compatible = "gpio-leds";
 
-		power {
+		led {
 			label = "beelink:white:power";
 			gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
 			default-state = "on";
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts +2 -2
index 15c9dd8c4479..7e83f6146f8a 100644
@@ -43,13 +43,13 @@ ext_osc32k: ext_osc32k_clk {
 	leds {
 		compatible = "gpio-leds";
 
-		power {
+		led-0 {
 			label = "orangepi:red:power";
 			gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "orangepi:green:status";
 			gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
 		};
arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi +2 -2
index ebc120a9232f..da0875bd38d4 100644
@@ -42,13 +42,13 @@ ext_osc32k: ext_osc32k_clk {
 	leds {
 		compatible = "gpio-leds";
 
-		power {
+		led-0 {
 			label = "orangepi:red:power";
 			gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
 			default-state = "on";
 		};
 
-		status {
+		led-1 {
 			label = "orangepi:green:status";
 			gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
 		};
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64.dts +3 -3
index 961732c52aa0..514d4a78b8dc 100644
@@ -44,17 +44,17 @@ hdmi_con_in: endpoint {
 	leds {
 		compatible = "gpio-leds";
 
-		heartbeat {
+		led-0 {
 			label = "pine-h64:green:heartbeat";
 			gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
 		};
 
-		link {
+		led-1 {
 			label = "pine-h64:white:link";
 			gpios = <&r_pio 0 3 GPIO_ACTIVE_HIGH>; /* PL3 */
 		};
 
-		status {
+		led-2 {
 			label = "pine-h64:blue:status";
 			gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
 		};
Signature · 1 line
2.29.2
Acked-by on v1 6/19
#22 lore raw

Re: [PATCH 06/19] ARM: dts: sunxi: Fix the LED node names

Dne četrtek, 14. januar 2021 ob 12:35:25 CET je Maxime Ripard napisal(a):

Quoted 5 lines

According to the LED bindings, the LED node names are supposed to be led plus an optional suffix. Let's fix our users to use that new scheme.

---

Best regards,
Jernej

#23 lore raw

PATCH 7/19 ARM: dts: sunxi: Add missing backlight supply

In reply to Maxime Ripard

The pwm-backlight binding requires a power supply. Make sure we provide one.

---
 arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts        | 1 +
 arch/arm/boot/dts/sun4i-a10-inet1.dts                   | 1 +
 arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts        | 1 +
 arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts  | 1 +
 arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts  | 1 +
 arch/arm/boot/dts/sun5i-gr8-evb.dts                     | 2 +-
 arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi    | 1 +
 arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts          | 1 +
 arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts               | 2 +-
 arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi    | 1 +
 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 9 +++++++++
 11 files changed, 19 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun4i-a10-dserve-dsrv9703c.dts +1 -0
index 8ee3ff42bd55..63e77c05bfda 100644
@@ -62,6 +62,7 @@ backlight: backlight {
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
 		enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+		power-supply = <&reg_vcc3v3>;
 	};
 
 	chosen {
arch/arm/boot/dts/sun4i-a10-inet1.dts +1 -0
index ca878384e902..60e432a0ef1c 100644
@@ -62,6 +62,7 @@ backlight: backlight {
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
 		enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+		power-supply = <&reg_vcc3v3>;
 	};
 
 	chosen {
arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts +1 -0
index 24a3d23e1952..c32596947647 100644
@@ -62,6 +62,7 @@ backlight: backlight {
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
 		enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+		power-supply = <&reg_vcc3v3>;
 	};
 
 	chosen {
arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts +1 -0
index a23bf24792ec..d059388d7252 100644
@@ -61,6 +61,7 @@ backlight: backlight {
 		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
+		power-supply = <&reg_vcc3v3>;
 		/* TODO: backlight uses axp gpio1 as enable pin */
 	};
 
arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts +1 -0
index 3428bebceff0..d60407772e5d 100644
@@ -28,6 +28,7 @@ backlight {
 		enable-gpios = <&pio 1 4 GPIO_ACTIVE_HIGH>; /* PB4 */
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
+		power-supply = <&reg_vcc3v3>;
 	};
 
 	chosen {
arch/arm/boot/dts/sun5i-gr8-evb.dts +1 -1
index 4c20d731a9c6..f4fe258ef06d 100644
@@ -71,7 +71,7 @@ backlight: backlight {
 		compatible = "pwm-backlight";
 		pwms = <&pwm 0 10000 0>;
 		enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>;
-
+		power-supply = <&reg_vcc3v3>;
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
 	};
arch/arm/boot/dts/sun5i-reference-design-tablet.dtsi +1 -0
index 1a9926d71410..6847f66699ac 100644
@@ -55,6 +55,7 @@ backlight: backlight {
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
 		enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; /* AXP GPIO1 */
+		power-supply = <&reg_vcc3v0>;
 	};
 
 	chosen {
arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts +1 -0
index 6a66b0432dfa..fef02fcbbdf8 100644
@@ -64,6 +64,7 @@ backlight {
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
 		enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */
+		power-supply = <&reg_vcc3v3>;
 	};
 
 	chosen {
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +1 -1
index bfc9bb277a49..83b01b03e08e 100644
@@ -65,7 +65,7 @@ backlight: backlight {
 		compatible = "pwm-backlight";
 		pwms = <&pwm 0 50000 PWM_POLARITY_INVERTED>;
 		enable-gpios = <&pio 3 29 GPIO_ACTIVE_HIGH>;
-
+		power-supply = <&reg_sw>;
 		brightness-levels = <0 1 2 4 8 16 32 64 128 255>;
 		default-brightness-level = <9>;
 	};
arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi +1 -0
index b3d8b8f056cd..daf4be6416df 100644
@@ -54,6 +54,7 @@ backlight: backlight {
 		brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
 		default-brightness-level = <8>;
 		enable-gpios = <&pio 7 6 GPIO_ACTIVE_HIGH>; /* PH6 */
+		power-supply = <&reg_dc1sw>;
 	};
 
 	chosen {
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +9 -0
index bcf64998a829..bbc26abb1e10 100644
@@ -21,6 +21,7 @@ backlight: backlight {
 		compatible = "pwm-backlight";
 		pwms = <&r_pwm 0 50000 PWM_POLARITY_INVERTED>;
 		enable-gpios = <&pio 7 10 GPIO_ACTIVE_HIGH>; /* PH10 */
+		power-supply = <&reg_ps>;
 		/* Backlight configuration differs per PinePhone revision. */
 	};
 
@@ -50,6 +51,14 @@ led-2 {
 		};
 	};
 
+	reg_ps: ps-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "ps";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+	};
+
 	reg_vbat_wifi: vbat-wifi {
 		compatible = "regulator-fixed";
 		regulator-min-microvolt = <3300000>;
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#25 lore raw

PATCH 8/19 ARM: dts: sunxi: Fix CPU thermal zone node name

In reply to Maxime Ripard

The CPU thermal zone is called on most of the older DTSI cpu_thermal. However, the underscore is an invalid character for a node name and the thermal zone binding explicitly requires that zones are called *-thermal. Let's fix it.

---
 arch/arm/boot/dts/sun5i-a13.dtsi | 2 +-
 arch/arm/boot/dts/sun6i-a31.dtsi | 2 +-
 arch/arm/boot/dts/sun7i-a20.dtsi | 2 +-
 arch/arm/boot/dts/sun8i-a33.dtsi | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm/boot/dts/sun5i-a13.dtsi +1 -1
index ae04955fd9a3..7075e10911d5 100644
@@ -48,7 +48,7 @@
 
 / {
 	thermal-zones {
-		cpu_thermal {
+		cpu-thermal {
 			/* milliseconds */
 			polling-delay-passive = <250>;
 			polling-delay = <1000>;
arch/arm/boot/dts/sun6i-a31.dtsi +1 -1
index f3425a66fc0a..92fd47c54d73 100644
@@ -165,7 +165,7 @@ cpu3: cpu@3 {
 	};
 
 	thermal-zones {
-		cpu_thermal {
+		cpu-thermal {
 			/* milliseconds */
 			polling-delay-passive = <250>;
 			polling-delay = <1000>;
arch/arm/boot/dts/sun7i-a20.dtsi +1 -1
index 6d6a37940db2..5a40e0280665 100644
@@ -140,7 +140,7 @@ cpu1: cpu@1 {
 	};
 
 	thermal-zones {
-		cpu_thermal {
+		cpu-thermal {
 			/* milliseconds */
 			polling-delay-passive = <250>;
 			polling-delay = <1000>;
arch/arm/boot/dts/sun8i-a33.dtsi +1 -1
index c458f5fb124f..7344c37107c6 100644
@@ -288,7 +288,7 @@ dphy: d-phy@1ca1000 {
 	};
 
 	thermal-zones {
-		cpu_thermal {
+		cpu-thermal {
 			/* milliseconds */
 			polling-delay-passive = <250>;
 			polling-delay = <1000>;
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 8/19
#26 lore raw

Re: [PATCH 08/19] ARM: dts: sunxi: Fix CPU thermal zone node name

Dne četrtek, 14. januar 2021 ob 12:35:27 CET je Maxime Ripard napisal(a):

Quoted 7 lines

The CPU thermal zone is called on most of the older DTSI cpu_thermal. However, the underscore is an invalid character for a node name and the thermal zone binding explicitly requires that zones are called *-thermal. Let's fix it.

---

Best regards,
Jernej

#27 lore raw

PATCH 9/19 ARM: dts: sunxi: Remove thermal zones without trip points

In reply to Maxime Ripard

The thermal zone binding requires a trips node with a list of trip points, however some thermal zones (usually the GPU ones) in our DTSI don't provide it.

Remove them until we have something to fill there.

---
 arch/arm/boot/dts/sun8i-a83t.dtsi             |  6 ------
 arch/arm/boot/dts/sun8i-r40.dtsi              | 16 ---------------
 .../arm64/boot/dts/allwinner/sun50i-a100.dtsi | 20 -------------------
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 -------------
 arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi  |  6 ------
 arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi  |  6 ------
 6 files changed, 68 deletions(-)
arch/arm/boot/dts/sun8i-a83t.dtsi +0 -6
index c010b27fdb6a..d42b6a0d1b53 100644
@@ -1264,11 +1264,5 @@ cpu-hot-limit {
 				};
 			};
 		};
-
-		gpu_thermal: gpu-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 2>;
-		};
 	};
 };
arch/arm/boot/dts/sun8i-r40.dtsi +0 -16
index d5ad3b9efd12..921cf8088413 100644
@@ -111,22 +111,6 @@ de: display-engine {
 		status = "disabled";
 	};
 
-	thermal-zones {
-		cpu_thermal: cpu0-thermal {
-			/* milliseconds */
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 0>;
-		};
-
-		gpu_thermal: gpu-thermal {
-			/* milliseconds */
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 1>;
-		};
-	};
-
 	soc {
 		compatible = "simple-bus";
 		#address-cells = <1>;
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +0 -20
index cc321c04f121..93fe7eee10cb 100644
@@ -341,24 +341,4 @@ r_i2c1: i2c@7081800 {
 			#size-cells = <0>;
 		};
 	};
-
-	thermal-zones {
-		cpu-thermal-zone {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 0>;
-		};
-
-		ddr-thermal-zone {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 2>;
-		};
-
-		gpu-thermal-zone {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 1>;
-		};
-	};
 };
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +0 -14
index 51cc30e84e26..9d3b280bd151 100644
@@ -215,20 +215,6 @@ cpu_crit: cpu_crit {
 				};
 			};
 		};
-
-		gpu0_thermal: gpu0-thermal {
-			/* milliseconds */
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 1>;
-		};
-
-		gpu1_thermal: gpu1-thermal {
-			/* milliseconds */
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 2>;
-		};
 	};
 
 	soc {
arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi +0 -6
index 578a63dedf46..f364918f8647 100644
@@ -216,12 +216,6 @@ cpu-hot-limit {
 				};
 			};
 		};
-
-		gpu_thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 1>;
-		};
 	};
 };
 
arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +0 -6
index 8a62a9fbe347..f35bd3b5b2a6 100644
@@ -1022,11 +1022,5 @@ map0 {
 				};
 			};
 		};
-
-		gpu-thermal {
-			polling-delay-passive = <0>;
-			polling-delay = <0>;
-			thermal-sensors = <&ths 1>;
-		};
 	};
 };
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Acked-by on v1 9/19
#28 lore raw

Re: [PATCH 09/19] ARM: dts: sunxi: Remove thermal zones without trip points

Dne četrtek, 14. januar 2021 ob 12:35:28 CET je Maxime Ripard napisal(a):

Quoted 8 lines

The thermal zone binding requires a trips node with a list of trip points, however some thermal zones (usually the GPU ones) in our DTSI don't provide it.

Remove them until we have something to fill there.

---

Best regards,
Jernej

#29 lore raw

PATCH 10/19 ARM: dts: sun6i: primo81: Remove useless io-channel-cells

In reply to Maxime Ripard

The mma8452 binding doesn't expect an io-channel-cells property, let's remove it.

---
 arch/arm/boot/dts/sun6i-a31s-primo81.dts | 1 -
 1 file changed, 1 deletion(-)
arch/arm/boot/dts/sun6i-a31s-primo81.dts +0 -1
index bc3170a0b8b5..0e1ee5ff2c2b 100644
@@ -115,7 +115,6 @@ accelerometer@1c {
 		reg = <0x1c>;
 		interrupt-parent = <&pio>;
 		interrupts = <0 9 IRQ_TYPE_LEVEL_HIGH>; /* PA9 */
-		#io-channel-cells = <1>;
 	};
 };
 
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#31 lore raw

PATCH 11/19 ARM: dts: sun8i: nanopi-r1: Fix GPIO regulator state array

In reply to Maxime Ripard

Even though it translates to the same thing down to the binary level, we should have an array of 2 number cells to describe each voltage state, which in turns create a validation warning.

Let's fix this.

---
 arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun8i-h3-nanopi-r1.dts +2 -2
index 204a39f93f4e..26e2e6172e0d 100644
@@ -39,8 +39,8 @@ reg_vdd_cpux: gpio-regulator {
 		regulator-ramp-delay = <50>;
 		gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
 		gpios-states = <0x1>;
-		states = <1100000 0x0
-			  1300000 0x1>;
+		states = <1100000 0x0>,
+			 <1300000 0x1>;
 	};
 
 	wifi_pwrseq: wifi_pwrseq {
Signature · 1 line
2.29.2
Acked-by on v1 11/19
#32 lore raw

Re: [PATCH 11/19] ARM: dts: sun8i: nanopi-r1: Fix GPIO regulator state array

Dne četrtek, 14. januar 2021 ob 12:35:30 CET je Maxime Ripard napisal(a):

Quoted 7 lines

Even though it translates to the same thing down to the binary level, we should have an array of 2 number cells to describe each voltage state, which in turns create a validation warning.

Let's fix this.

Best regards,
Jernej

#33 lore raw

PATCH 12/19 ARM: dts: sun8i-s3: impetus: Fix the USB PHY ID detect GPIO properties

In reply to Maxime Ripard

While the USB PHY Device Tree mandates that the name of the ID detect pin should be usb0_id_det-gpios, a significant number of device tree use usb0_id_det-gpio instead.

This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this.

---
 arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun8i-s3-elimo-impetus.dtsi +1 -1
index 24d507cdbcf9..052b010a5607 100644
@@ -39,6 +39,6 @@ &usb_otg {
 };
 
 &usbphy {
-	usb0_id_det-gpio = <&pio 5 6 GPIO_ACTIVE_HIGH>;
+	usb0_id_det-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>;
 	status = "okay";
 };
Signature · 1 line
2.29.2
Acked-by on v1 12/19
#34 lore raw

Re: [PATCH 12/19] ARM: dts: sun8i-s3: impetus: Fix the USB PHY ID detect GPIO properties

Dne četrtek, 14. januar 2021 ob 12:35:31 CET je Maxime Ripard napisal(a):

Quoted 9 lines

While the USB PHY Device Tree mandates that the name of the ID detect pin should be usb0_id_det-gpios, a significant number of device tree use usb0_id_det-gpio instead.

This was functional because the GPIO framework falls back to the gpio suffix that is legacy, but we should fix this.

---

Best regards,
Jernej

#35 lore raw

PATCH 13/19 ARM: dts: sun8i-s3: pinecube: Fix Display Engine DTC warnings

In reply to Maxime Ripard

Our CSI endpoint trigger some DTC warnings due to the fact that we're having a single endpoint that doesn't need any reg property, and since we don't have a reg property, we don't need the address-cells and size-cells properties anymore.

Fix those

---
 arch/arm/boot/dts/sun8i-s3-pinecube.dts | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/boot/dts/sun8i-s3-pinecube.dts +0 -3
index 3c4bc4b0ca7f..20966e954eda 100644
@@ -64,9 +64,6 @@ &csi1 {
 	status = "okay";
 
 	port {
-		#address-cells = <1>;
-		#size-cells = <0>;
-
 		csi1_ep: endpoint {
 			remote-endpoint = <&ov5640_ep>;
 			bus-width = <8>;
Signature · 1 line
2.29.2
Acked-by on v1 13/19
#36 lore raw

Re: [PATCH 13/19] ARM: dts: sun8i-s3: pinecube: Fix Display Engine DTC warnings

Dne četrtek, 14. januar 2021 ob 12:35:32 CET je Maxime Ripard napisal(a):

Quoted 8 lines

Our CSI endpoint trigger some DTC warnings due to the fact that we're having a single endpoint that doesn't need any reg property, and since we don't have a reg property, we don't need the address-cells and size-cells properties anymore.

Fix those

Best regards,
Jernej

#37 lore raw

PATCH 14/19 ARM: dts: sun8i-a83t: Remove empty CSI port

In reply to Maxime Ripard

The empty CSI port triggers a dt-validate warning. Let's align with the other DTSI and remove it entirely, expecting the DTS to fill it.

---
 arch/arm/boot/dts/sun8i-a83t.dtsi | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/boot/dts/sun8i-a83t.dtsi +0 -3
index d42b6a0d1b53..8cb3f2007853 100644
@@ -1061,9 +1061,6 @@ csi: camera@1cb0000 {
 			clock-names = "bus", "mod", "ram";
 			resets = <&ccu RST_BUS_CSI>;
 			status = "disabled";
-
-			csi_in: port {
-			};
 		};
 
 		hdmi: hdmi@1ee0000 {
Signature · 1 line
2.29.2
Acked-by on v1 14/19
#38 lore raw

Re: [PATCH 14/19] ARM: dts: sun8i-a83t: Remove empty CSI port

Dne četrtek, 14. januar 2021 ob 12:35:33 CET je Maxime Ripard napisal(a):

Quoted 4 lines

The empty CSI port triggers a dt-validate warning. Let's align with the other DTSI and remove it entirely, expecting the DTS to fill it.

Best regards,
Jernej

#39 lore raw

PATCH 15/19 ARM: dts: sun8i-a33: sina33: Add missing panel power supply

In reply to Maxime Ripard

The SinA33 panel is missing its power-supply property, even though the binding mandates it.

---
 arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts +1 -0
index 785798e3a104..a1f28e71aae4 100644
@@ -63,6 +63,7 @@ chosen {
 
 	panel {
 		compatible = "netron-dy,e231732";
+		power-supply = <&reg_vcc3v3>;
 
 		port {
 			panel_input: endpoint {
Signature · 1 line
2.29.2
#41 lore raw

PATCH 16/19 arm64: dts: allwinner: h6: Use - instead of @ for DT OPP entries

In reply to Maxime Ripard

DTC and the dt-validate tools report warnings for opp with the format opp@$frequency: dtc for a missing reg property, and dt-validate since the binding requires child nodes to have the format opp-$frequency.

Change this to the latter format.

---
 .../boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi | 20 +++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
arch/arm64/boot/dts/allwinner/sun50i-h6-cpu-opp.dtsi +10 -10
index 1a5eddc5a40f..8c6e8536b69f 100644
@@ -8,7 +8,7 @@ cpu_opp_table: cpu-opp-table {
 		nvmem-cells = <&cpu_speed_grade>;
 		opp-shared;
 
-		opp@480000000 {
+		opp-480000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <480000000>;
 
@@ -17,7 +17,7 @@ opp@480000000 {
 			opp-microvolt-speed2 = <820000 820000 1200000>;
 		};
 
-		opp@720000000 {
+		opp-720000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <720000000>;
 
@@ -26,7 +26,7 @@ opp@720000000 {
 			opp-microvolt-speed2 = <820000 820000 1200000>;
 		};
 
-		opp@816000000 {
+		opp-816000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <816000000>;
 
@@ -35,7 +35,7 @@ opp@816000000 {
 			opp-microvolt-speed2 = <820000 820000 1200000>;
 		};
 
-		opp@888000000 {
+		opp-888000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <888000000>;
 
@@ -44,7 +44,7 @@ opp@888000000 {
 			opp-microvolt-speed2 = <820000 820000 1200000>;
 		};
 
-		opp@1080000000 {
+		opp-1080000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1080000000>;
 
@@ -53,7 +53,7 @@ opp@1080000000 {
 			opp-microvolt-speed2 = <880000 880000 1200000>;
 		};
 
-		opp@1320000000 {
+		opp-1320000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1320000000>;
 
@@ -62,7 +62,7 @@ opp@1320000000 {
 			opp-microvolt-speed2 = <940000 940000 1200000>;
 		};
 
-		opp@1488000000 {
+		opp-1488000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1488000000>;
 
@@ -71,7 +71,7 @@ opp@1488000000 {
 			opp-microvolt-speed2 = <1000000 1000000 1200000>;
 		};
 
-		opp@1608000000 {
+		opp-1608000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1608000000>;
 
@@ -80,7 +80,7 @@ opp@1608000000 {
 			opp-microvolt-speed2 = <1030000 1030000 1200000>;
 		};
 
-		opp@1704000000 {
+		opp-1704000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1704000000>;
 
@@ -89,7 +89,7 @@ opp@1704000000 {
 			opp-microvolt-speed2 = <1060000 1060000 1200000>;
 		};
 
-		opp@1800000000 {
+		opp-1800000000 {
 			clock-latency-ns = <244144>; /* 8 32k periods */
 			opp-hz = /bits/ 64 <1800000000>;
 
Signature · 1 line
2.29.2
Acked-by on v1 16/19
#42 lore raw

Re: [PATCH 16/19] arm64: dts: allwinner: h6: Use - instead of @ for DT OPP entries

Dne četrtek, 14. januar 2021 ob 12:35:35 CET je Maxime Ripard napisal(a):

Quoted 7 lines

DTC and the dt-validate tools report warnings for opp with the format opp@$frequency: dtc for a missing reg property, and dt-validate since the binding requires child nodes to have the format opp-$frequency.

Change this to the latter format.

Best regards,
Jernej

#43 lore raw

PATCH 17/19 arm64: dts: allwinner: pinephone: Remove useless light sensor supplies

In reply to Maxime Ripard

The stk3311 binding don't expect a vdd or leda power supplies. Remove them.

---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +0 -2
index bbc26abb1e10..9f69d489a81d 100644
@@ -183,8 +183,6 @@ light-sensor@48 {
 		reg = <0x48>;
 		interrupt-parent = <&pio>;
 		interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */
-		vdd-supply = <&reg_ldo_io0>;
-		leda-supply = <&reg_dldo1>;
 	};
 
 	/* Accelerometer/gyroscope */
Signature · 1 line
2.29.2
#45 lore raw

PATCH 18/19 arm64: dts: allwinner: pinetab: Fix the panel compatible

In reply to Maxime Ripard

The commit 7fa40ca7ef61 ("arm64: allwinner: dts: a64: add DT for Early Adopter's PineTab") introduced an ili9881-based panel device node but didn't conform to the binding. Fix this.

Fixes 7fa40ca7ef61 ("arm64: allwinner: dts: a64: add DT for Early Adopter's PineTab")
---
 .../boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts +1 -1
index 652fc0cce304..6265360ce623 100644
@@ -17,7 +17,7 @@ &dsi {
 	/delete-node/ panel@0;
 
 	panel@0 {
-		compatible = "feixin,k101-im2byl02";
+		compatible = "feixin,k101-im2byl02", "ilitek,ili9881c";
 		reg = <0>;
 		power-supply = <&reg_dc1sw>;
 		reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
Signature · 1 line
2.29.2
Acked-by on v1 18/19
#46 lore raw

Re: [PATCH 18/19] arm64: dts: allwinner: pinetab: Fix the panel compatible

Dne četrtek, 14. januar 2021 ob 12:35:37 CET je Maxime Ripard napisal(a):

Quoted 5 lines

The commit 7fa40ca7ef61 ("arm64: allwinner: dts: a64: add DT for Early Adopter's PineTab") introduced an ili9881-based panel device node but didn't conform to the binding. Fix this.

Fixes 7fa40ca7ef61 ("arm64: allwinner: dts: a64: add DT for Early Adopter's

PineTab")

Quoted 1 line

Best regards,
Jernej

#47 lore raw

PATCH 19/19 arm64: dts: allwinner: pine-h64: Fix typos in BT GPIOs

In reply to Maxime Ripard

The commit 53441b8ef7de ("arm64: dts: allwinner: h6: PineH64 model B:
Add bluetooth") introduced the Bluetooth chip for the PineH64 model B, but the GPIOs property didn't conform to the binding of the bluetooth chip. Let's fix this.

Fixes 53441b8ef7de ("arm64: dts: allwinner: h6: PineH64 model B: Add bluetooth")
---
 arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts +2 -2
index 645bd8761eb5..686f58e77004 100644
@@ -43,8 +43,8 @@ &uart1 {
 
 	bluetooth {
 		compatible = "realtek,rtl8723bs-bt";
-		device-wakeup-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
-		host-wakeup-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
+		device-wake-gpios = <&r_pio 1 2 GPIO_ACTIVE_HIGH>; /* PM2 */
+		host-wake-gpios = <&r_pio 1 1 GPIO_ACTIVE_HIGH>; /* PM1 */
 		enable-gpios = <&r_pio 1 4 GPIO_ACTIVE_HIGH>; /* PM4 */
 		max-speed = <1500000>;
 	};
Signature · 1 line
2.29.2
Acked-by on v1 19/19
#48 lore raw

Re: [PATCH 19/19] arm64: dts: allwinner: pine-h64: Fix typos in BT GPIOs

Dne četrtek, 14. januar 2021 ob 12:35:38 CET je Maxime Ripard napisal(a):

Quoted 6 lines

The commit 53441b8ef7de ("arm64: dts: allwinner: h6: PineH64 model B:
Add bluetooth") introduced the Bluetooth chip for the PineH64 model B, but the GPIOs property didn't conform to the binding of the bluetooth chip. Let's fix this.

Fixes 53441b8ef7de ("arm64: dts: allwinner: h6: PineH64 model B: Add

bluetooth")

Quoted 1 line

Sorry for that.

Best regards,
Jernej

Acked-by on v1 1/19
#49 lore raw
In reply to Maxime Ripard

Dne četrtek, 14. januar 2021 ob 12:35:20 CET je Maxime Ripard napisal(a):

Quoted 6 lines

Commit 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to other S3 boards") changed the pinecube compatible to make it similar to the other S3 boards we have, but failed to update the bindings documentation.

Fixes 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to

other S3 boards")

Quoted 1 line

Best regards,
Jernej

Acked-by on v1 1/19
#50 lore raw
In reply to Maxime Ripard
Quoted 8 lines · Maxime Ripard

Commit 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to other S3 boards") changed the pinecube compatible to make it similar to the other S3 boards we have, but failed to update the bindings documentation.

Fixes 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to other S3 boards")

for the whole series.

#51 lore raw
Quoted 7 lines · Chen-Yu Tsai
Quoted 6 lines · Maxime Ripard

Commit 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to other S3 boards") changed the pinecube compatible to make it similar to the other S3 boards we have, but failed to update the bindings documentation.

Quoted 6 lines
Quoted 2 lines
Fixes 6ab48105aae7 ("ARM: dts: s3: pinecube: align compatible property to other S3 boards")

for the whole series.

Applied all the patches but the 4 and 5 that had comments

Thanks!
Maxime