U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: dts: imx943-evk: Add label for gpio expander devices
@ 2026-06-18  1:19 ye.li
  2026-06-18  2:05 ` Peng Fan
  0 siblings, 1 reply; 2+ messages in thread
From: ye.li @ 2026-06-18  1:19 UTC (permalink / raw)
  To: festevam, u-boot, peng.fan; +Cc: uboot-imx

From: Ye Li <ye.li@nxp.com>

Because the i2c address of some gpio expander devices are same, so
in dts they have same node name which lead to same gpio device name.
Users can't get the GPIO through GPIO API or GPIO command.
Add the label to each gpio expander node, hence give unique name.

Signed-off-by: Ye Li <ye.li@nxp.com>
---
 arch/arm/dts/imx943-evk-u-boot.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/dts/imx943-evk-u-boot.dtsi b/arch/arm/dts/imx943-evk-u-boot.dtsi
index 3b3619d2232..635a3042fdd 100644
--- a/arch/arm/dts/imx943-evk-u-boot.dtsi
+++ b/arch/arm/dts/imx943-evk-u-boot.dtsi
@@ -272,3 +272,31 @@
 &pinctrl_usdhc2_gpio {
 	bootph-pre-ram;
 };
+
+&pcal6416_i2c3_u46 {
+	label = "u46";
+};
+
+&pcal6416_i2c3_u171 {
+	label = "u171";
+};
+
+&pcal6416_i2c3_u48 {
+	label = "u48";
+};
+
+&pcal6408_i2c3_u172 {
+	label = "u172";
+};
+
+&pcal6416_i2c6_u50 {
+	label = "u50";
+};
+
+&pcal6408_i2c6_u170 {
+	label = "u170";
+};
+
+&pcal6416_i2c6_u44 {
+	label = "u44";
+};
-- 
2.34.1


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

* Re: [PATCH] arm: dts: imx943-evk: Add label for gpio expander devices
  2026-06-18  1:19 [PATCH] arm: dts: imx943-evk: Add label for gpio expander devices ye.li
@ 2026-06-18  2:05 ` Peng Fan
  0 siblings, 0 replies; 2+ messages in thread
From: Peng Fan @ 2026-06-18  2:05 UTC (permalink / raw)
  To: ye.li; +Cc: festevam, u-boot, peng.fan, uboot-imx

On Thu, Jun 18, 2026 at 09:19:36AM +0800, ye.li@oss.nxp.com wrote:
>From: Ye Li <ye.li@nxp.com>
>
>Because the i2c address of some gpio expander devices are same, so
>in dts they have same node name which lead to same gpio device name.
>Users can't get the GPIO through GPIO API or GPIO command.
>Add the label to each gpio expander node, hence give unique name.
>
>Signed-off-by: Ye Li <ye.li@nxp.com>

Reviewed-by: Peng Fan <peng.fan@nxp.com>

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

end of thread, other threads:[~2026-06-18  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-18  1:19 [PATCH] arm: dts: imx943-evk: Add label for gpio expander devices ye.li
2026-06-18  2:05 ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox