All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ti: Add LED controller to phyBOARD-Electra
@ 2023-05-05 13:10 ` Wadim Egorov
  0 siblings, 0 replies; 4+ messages in thread
From: Wadim Egorov @ 2023-05-05 13:10 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: krzysztof.kozlowski+dt, robh+dt, kristo, vigneshr, nm, upstream

With commit 9f6ffd0da650 ("dt-bindings: leds: Convert PCA9532 to dtschema"),
we can now add the LED controller without introducing new dtbs_check warnings.
Add missing I2C LED controller.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
 .../dts/ti/k3-am642-phyboard-electra-rdk.dts  | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
index 8d3114d14a8b..8199ac06c09a 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
@@ -15,6 +15,7 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/leds/leds-pca9532.h>
 #include <dt-bindings/mux/ti-serdes.h>
 #include <dt-bindings/phy/phy.h>
 #include "k3-am642.dtsi"
@@ -210,6 +211,26 @@ eeprom@51 {
 		pagesize = <16>;
 		reg = <0x51>;
 	};
+
+	led-controller@62 {
+		compatible = "nxp,pca9533";
+		reg = <0x62>;
+
+		led-3 {
+			label = "red:user";
+			type = <PCA9532_TYPE_LED>;
+		};
+
+		led-4 {
+			label = "green:user";
+			type = <PCA9532_TYPE_LED>;
+		};
+
+		led-5 {
+			label = "blue:user";
+			type = <PCA9532_TYPE_LED>;
+		};
+	};
 };
 
 &main_mcan0 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] arm64: dts: ti: Add LED controller to phyBOARD-Electra
@ 2023-05-05 13:10 ` Wadim Egorov
  0 siblings, 0 replies; 4+ messages in thread
From: Wadim Egorov @ 2023-05-05 13:10 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-arm-kernel
  Cc: krzysztof.kozlowski+dt, robh+dt, kristo, vigneshr, nm, upstream

With commit 9f6ffd0da650 ("dt-bindings: leds: Convert PCA9532 to dtschema"),
we can now add the LED controller without introducing new dtbs_check warnings.
Add missing I2C LED controller.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
---
 .../dts/ti/k3-am642-phyboard-electra-rdk.dts  | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
index 8d3114d14a8b..8199ac06c09a 100644
--- a/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
+++ b/arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
@@ -15,6 +15,7 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/leds/leds-pca9532.h>
 #include <dt-bindings/mux/ti-serdes.h>
 #include <dt-bindings/phy/phy.h>
 #include "k3-am642.dtsi"
@@ -210,6 +211,26 @@ eeprom@51 {
 		pagesize = <16>;
 		reg = <0x51>;
 	};
+
+	led-controller@62 {
+		compatible = "nxp,pca9533";
+		reg = <0x62>;
+
+		led-3 {
+			label = "red:user";
+			type = <PCA9532_TYPE_LED>;
+		};
+
+		led-4 {
+			label = "green:user";
+			type = <PCA9532_TYPE_LED>;
+		};
+
+		led-5 {
+			label = "blue:user";
+			type = <PCA9532_TYPE_LED>;
+		};
+	};
 };
 
 &main_mcan0 {
-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: ti: Add LED controller to phyBOARD-Electra
  2023-05-05 13:10 ` Wadim Egorov
@ 2023-06-15 10:44   ` Vignesh Raghavendra
  -1 siblings, 0 replies; 4+ messages in thread
From: Vignesh Raghavendra @ 2023-06-15 10:44 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-arm-kernel, Wadim Egorov
  Cc: Vignesh Raghavendra, krzysztof.kozlowski+dt, robh+dt, kristo, nm,
	upstream

Hi Wadim Egorov,

On Fri, 05 May 2023 15:10:12 +0200, Wadim Egorov wrote:
> With commit 9f6ffd0da650 ("dt-bindings: leds: Convert PCA9532 to dtschema"),
> we can now add the LED controller without introducing new dtbs_check warnings.
> Add missing I2C LED controller.
> 
> 

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: Add LED controller to phyBOARD-Electra
      commit: 2dc39c564982f2ca77a9589a3d9906ecaf5a42e4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: ti: Add LED controller to phyBOARD-Electra
@ 2023-06-15 10:44   ` Vignesh Raghavendra
  0 siblings, 0 replies; 4+ messages in thread
From: Vignesh Raghavendra @ 2023-06-15 10:44 UTC (permalink / raw)
  To: linux-kernel, devicetree, linux-arm-kernel, Wadim Egorov
  Cc: Vignesh Raghavendra, krzysztof.kozlowski+dt, robh+dt, kristo, nm,
	upstream

Hi Wadim Egorov,

On Fri, 05 May 2023 15:10:12 +0200, Wadim Egorov wrote:
> With commit 9f6ffd0da650 ("dt-bindings: leds: Convert PCA9532 to dtschema"),
> we can now add the LED controller without introducing new dtbs_check warnings.
> Add missing I2C LED controller.
> 
> 

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/1] arm64: dts: ti: Add LED controller to phyBOARD-Electra
      commit: 2dc39c564982f2ca77a9589a3d9906ecaf5a42e4

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-06-15 10:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-05 13:10 [PATCH] arm64: dts: ti: Add LED controller to phyBOARD-Electra Wadim Egorov
2023-05-05 13:10 ` Wadim Egorov
2023-06-15 10:44 ` Vignesh Raghavendra
2023-06-15 10:44   ` Vignesh Raghavendra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.