diff options
| author | Stanley Chu <[email protected]> | 2025-12-16 10:47:25 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-12-31 10:17:00 -0600 |
| commit | 78dbe92cb0bd3ca527769dea199c9ab1300512ab (patch) | |
| tree | c89f4e128ff927130b97c0f99b4d47d9dcd84df3 | |
| parent | f74beb8dcf325707dcf6b4f6e260c940236f8067 (diff) | |
pinctrl: npcm8xx: Add smb11ddc pin config
smb11ddcm: connect SMB11 to external DDC pins
smb11ddcs: connect SMB11 to internal GFXDDC
Signed-off-by: Stanley Chu <[email protected]>
| -rw-r--r-- | arch/arm/dts/nuvoton-npcm8xx-u-boot.dtsi | 8 | ||||
| -rw-r--r-- | drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c | 2 |
2 files changed, 10 insertions, 0 deletions
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) \ |
