dt-bindings: sunxi: Fix the pinecube compatible
Subsystems (9)
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.
--- Documentation/devicetree/bindings/arm/sunxi.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/arm/sunxi.yaml +2 -1
@@ -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
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.
--- .../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
@@ -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
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]>Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
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]>Signed-off-by Maxime Ripard <[email protected]>Acked-by Jernej Skrabec <[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
PATCH 3/19 dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks
In reply to Maxime RipardThe 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.
--- .../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
@@ -128,7 +128,6 @@ required: - compatible - reg - interrupts - - clocks - clock-output-names additionalProperties: false
Signature · 1 line
2.29.2
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")Signed-off-by Maxime Ripard <[email protected]>
Thanks!
Best regards,
Jernej
Re: [PATCH 03/19] dt-bindings: rtc: sun6i-a31-rtc: Loosen the requirements on the clocks
In reply to Maxime RipardQuoted 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")Signed-off-by Maxime Ripard <[email protected]>
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@@ -128,7 +128,6 @@ required: - compatible - reg - interrupts - - clocks - clock-output-names additionalProperties: falseSignature · 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
PATCH 4/19 dt-bindings: bridge: simple: Add corpro, gm7123 compatible
In reply to Maxime RipardThe corpro,gm7123 was in use in a DT but was never properly documented, let's add it.
--- .../devicetree/bindings/display/bridge/simple-bridge.yaml | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/display/bridge/simple-bridge.yaml +4 -0
@@ -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
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]>Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
Laurent Pinchart
reviewerRe: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro,gm7123 compatible
In reply to Maxime RipardHi 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]>Signed-off-by Maxime Ripard <[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
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
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]>Signed-off-by Maxime Ripard <[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@@ -22,6 +22,10 @@ properties: - ti,ths8134a - ti,ths8134b - const: ti,ths8134 + - items: + - const: corpro,gm7123 + - const: adi,adv7123Do 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
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]>Signed-off-by Maxime Ripard <[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@@ -22,6 +22,10 @@ properties: - ti,ths8134a - ti,ths8134b - const: ti,ths8134 + - items: + - const: corpro,gm7123 + - const: adi,adv7123Do 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
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]>Signed-off-by Maxime Ripard <[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@@ -22,6 +22,10 @@ properties: - ti,ths8134a - ti,ths8134b - const: ti,ths8134 + - items: + - const: corpro,gm7123 + - const: adi,adv7123Do 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
Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro,gm7123 compatible
In reply to Maxime RipardHi 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]>Signed-off-by Maxime Ripard <[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@@ -22,6 +22,10 @@ properties: - ti,ths8134a - ti,ths8134b - const: ti,ths8134 + - items: + - const: corpro,gm7123 + - const: adi,adv7123Do 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
Re: [PATCH 04/19] dt-bindings: bridge: simple: Add corpro, gm7123 compatible
In reply to Maxime RipardQuoted 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]>Signed-off-by Maxime Ripard <[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
PATCH 5/19 dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties
In reply to Maxime RipardadditionalProperties 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.
--- Documentation/devicetree/bindings/net/realtek-bluetooth.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/realtek-bluetooth.yaml +1 -1
@@ -37,7 +37,7 @@ properties: required: - compatible -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.29.2
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.yamlbinding.Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.
Cc Alistair Francis <[email protected]>Cc Vasily Khoruzhick <[email protected]>Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
Rob Herring
maintainerRe: [PATCH 05/19] dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties
In reply to Maxime RipardQuoted 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.yamlbinding.Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.
Quoted 7 lines
Cc Alistair Francis <[email protected]>Cc Vasily Khoruzhick <[email protected]>Signed-off-by Maxime Ripard <[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.
Rob Herring
maintainerRe: [PATCH 05/19] dt-bindings: bluetooth: realtek: Switch to unevaluatedProperties
In reply to Maxime RipardQuoted 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.yamlbinding.Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.
Cc Alistair Francis <[email protected]>Cc Vasily Khoruzhick <[email protected]>Signed-off-by Maxime Ripard <[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
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
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.yamlbinding.Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.
Cc Alistair Francis <[email protected]>Cc Vasily Khoruzhick <[email protected]>Signed-off-by Maxime Ripard <[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@@ -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: falseThis 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
Rob Herring
maintainerRe: [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.yamlbinding.Let's change additionalProperties to unevaluatedProperties to avoid spurious warnings.
Cc Alistair Francis <[email protected]>Cc Vasily Khoruzhick <[email protected]>Signed-off-by Maxime Ripard <[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@@ -37,7 +37,7 @@ properties: required: - compatibleQuoted 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: falseThis 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
PATCH 6/19 ARM: dts: sunxi: Fix the LED node names
In reply to Maxime RipardAccording 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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.
Signed-off-by Maxime Ripard <[email protected]>---
Best regards,
Jernej
PATCH 7/19 ARM: dts: sunxi: Add missing backlight supply
In reply to Maxime RipardThe 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
@@ -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 = <®_vcc3v3>; }; chosen {
arch/arm/boot/dts/sun4i-a10-inet1.dts +1 -0
@@ -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 = <®_vcc3v3>; }; chosen {
arch/arm/boot/dts/sun4i-a10-pov-protab2-ips9.dts +1 -0
@@ -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 = <®_vcc3v3>; }; chosen {
arch/arm/boot/dts/sun5i-a13-empire-electronix-d709.dts +1 -0
@@ -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 = <®_vcc3v3>; /* TODO: backlight uses axp gpio1 as enable pin */ };
arch/arm/boot/dts/sun5i-a13-pocketbook-touch-lux-3.dts +1 -0
@@ -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 = <®_vcc3v3>; }; chosen {
arch/arm/boot/dts/sun5i-gr8-evb.dts +1 -1
@@ -71,7 +71,7 @@ backlight: backlight { compatible = "pwm-backlight"; pwms = <&pwm 0 10000 0>; enable-gpios = <&axp_gpio 1 GPIO_ACTIVE_HIGH>; - + power-supply = <®_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
@@ -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 = <®_vcc3v0>; }; chosen {
arch/arm/boot/dts/sun7i-a20-wexler-tab7200.dts +1 -0
@@ -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 = <®_vcc3v3>; }; chosen {
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts +1 -1
@@ -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 = <®_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
@@ -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 = <®_dc1sw>; }; chosen {
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi +9 -0
@@ -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 = <®_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
Re: [PATCH 07/19] ARM: dts: sunxi: Add missing backlight supply
Dne četrtek, 14. januar 2021 ob 12:35:26 CET je Maxime Ripard napisal(a):
Quoted 4 lines
The pwm-backlight binding requires a power supply. Make sure we provide one.
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 8/19 ARM: dts: sunxi: Fix CPU thermal zone node name
In reply to Maxime RipardThe 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
@@ -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
@@ -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
@@ -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
@@ -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
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.Signed-off-by Maxime Ripard <[email protected]>---
Best regards,
Jernej
PATCH 9/19 ARM: dts: sunxi: Remove thermal zones without trip points
In reply to Maxime RipardThe 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
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.
Signed-off-by Maxime Ripard <[email protected]>---
Best regards,
Jernej
PATCH 10/19 ARM: dts: sun6i: primo81: Remove useless io-channel-cells
In reply to Maxime RipardThe 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
@@ -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
Re: [PATCH 10/19] ARM: dts: sun6i: primo81: Remove useless io-channel-cells
Dne četrtek, 14. januar 2021 ob 12:35:29 CET je Maxime Ripard napisal(a):
Quoted 5 lines
The mma8452 binding doesn't expect an io-channel-cells property, let's remove it.
Signed-off-by Maxime Ripard <[email protected]>---
Best regards,
Jernej
PATCH 11/19 ARM: dts: sun8i: nanopi-r1: Fix GPIO regulator state array
In reply to Maxime RipardEven 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
@@ -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
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.
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 12/19 ARM: dts: sun8i-s3: impetus: Fix the USB PHY ID detect GPIO properties
In reply to Maxime RipardWhile 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
@@ -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
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.
Signed-off-by Maxime Ripard <[email protected]>---
Best regards,
Jernej
PATCH 13/19 ARM: dts: sun8i-s3: pinecube: Fix Display Engine DTC warnings
In reply to Maxime RipardOur 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
@@ -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
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
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 14/19 ARM: dts: sun8i-a83t: Remove empty CSI port
In reply to Maxime RipardThe 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
@@ -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
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.
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 15/19 ARM: dts: sun8i-a33: sina33: Add missing panel power supply
In reply to Maxime RipardThe 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
@@ -63,6 +63,7 @@ chosen { panel { compatible = "netron-dy,e231732"; + power-supply = <®_vcc3v3>; port { panel_input: endpoint {
Signature · 1 line
2.29.2
Re: [PATCH 15/19] ARM: dts: sun8i-a33: sina33: Add missing panel power supply
Dne četrtek, 14. januar 2021 ob 12:35:34 CET je Maxime Ripard napisal(a):
Quoted 4 lines
The SinA33 panel is missing its power-supply property, even though the binding mandates it.
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 16/19 arm64: dts: allwinner: h6: Use - instead of @ for DT OPP entries
In reply to Maxime RipardDTC 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
@@ -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
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.
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 17/19 arm64: dts: allwinner: pinephone: Remove useless light sensor supplies
In reply to Maxime RipardThe 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
@@ -183,8 +183,6 @@ light-sensor@48 { reg = <0x48>; interrupt-parent = <&pio>; interrupts = <1 0 IRQ_TYPE_EDGE_FALLING>; /* PB0 */ - vdd-supply = <®_ldo_io0>; - leda-supply = <®_dldo1>; }; /* Accelerometer/gyroscope */
Signature · 1 line
2.29.2
Re: [PATCH 17/19] arm64: dts: allwinner: pinephone: Remove useless light sensor supplies
Dne četrtek, 14. januar 2021 ob 12:35:36 CET je Maxime Ripard napisal(a):
Quoted 4 lines
The stk3311 binding don't expect a vdd or leda power supplies. Remove them.
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 18/19 arm64: dts: allwinner: pinetab: Fix the panel compatible
In reply to Maxime RipardThe 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.
--- .../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
@@ -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 = <®_dc1sw>; reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
Signature · 1 line
2.29.2
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
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
PATCH 19/19 arm64: dts: allwinner: pine-h64: Fix typos in BT GPIOs
In reply to Maxime RipardThe 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.
--- 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
@@ -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
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
Signed-off-by Maxime Ripard <[email protected]>
Sorry for that.
Best regards,
Jernej
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
Signed-off-by Maxime Ripard <[email protected]>
Best regards,
Jernej
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")Signed-off-by Maxime Ripard <[email protected]>
for the whole series.
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")Signed-off-by Maxime Ripard <[email protected]>Acked-by Chen-Yu Tsai <[email protected]>for the whole series.
Applied all the patches but the 4 and 5 that had comments
Thanks!
Maxime