[PATCH v1 2/6] pinctrl: npcm8xx: Add smb11ddc pin config
Jim Liu
jim.t90615 at gmail.com
Tue Dec 16 03:47:25 CET 2025
From: Stanley Chu <yschu at nuvoton.com>
smb11ddcm: connect SMB11 to external DDC pins
smb11ddcs: connect SMB11 to internal GFXDDC
Signed-off-by: Stanley Chu <yschu at nuvoton.com>
---
arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi | 8 ++++++++
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 2 ++
2 files changed, 10 insertions(+)
diff --git a/arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi b/arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi
index 6f933355d9e..cdbe19ccf50 100644
--- a/arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi
+++ b/arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi
@@ -1060,5 +1060,13 @@
groups = "vcdhs";
function = "vcdhs";
};
+ smb11ddcm_pins: smb11ddcm-pins {
+ groups = "smb11ddcm";
+ function = "smb11ddcm";
+ };
+ smb11ddcs_pins: smb11ddcs-pins {
+ groups = "smb11ddcs";
+ function = "smb11ddcs";
+ };
};
};
diff --git a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c b/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
index c960ca3393d..0d089110df3 100644
--- a/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
+++ b/drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c
@@ -166,6 +166,8 @@ struct npcm8xx_pinctrl_priv {
213, 214, 215) \
FUNC(spix, MFSEL4, 27, 224, 225, 226, 227, 229, 230) \
FUNC(spixcs1, MFSEL4, 28, 228) \
+ FUNC(smb11ddcm, MFSEL4, 29) \
+ FUNC(smb11ddcs, MFSEL4, 30) \
FUNC(spi1cs1, MFSEL5, 0, 233) \
FUNC(jm2, MFSEL5, 1) \
FUNC(j2j3, MFSEL5, 2, 44, 62, 45, 46) \
--
2.34.1
More information about the U-Boot
mailing list