]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
pinctrl: npcm8xx: add support for setting VCD input source
authorStanley Chu <yschu@nuvoton.com>
Thu, 7 Aug 2025 05:32:19 +0000 (13:32 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 18 Aug 2025 22:40:23 +0000 (16:40 -0600)
Add pinmux for the VCD input to use the HSYNC signal.

Signed-off-by: Stanley Chu <yschu@nuvoton.com>
Signed-off-by: Jim Liu <JJLIU0@nuvoton.com>
drivers/pinctrl/nuvoton/pinctrl-npcm8xx.c

index 67e564f85c38994c5f344b3fef6b06bd5c69518c..c960ca3393d779e55e8a047e62a85722770cb455 100644 (file)
@@ -23,6 +23,7 @@
 #define TIPRSTC                0x50
 #define CORSTC         0x5c
 #define FLOCKR1                0x74
+#define INTCR          0x3c
 #define INTCR4         0xc0
 #define I2CSEGSEL      0xe0
 #define MFSEL1         0x260
@@ -280,6 +281,7 @@ struct npcm8xx_pinctrl_priv {
        FUNC(lkgpo2, FLOCKR1, 8, 9) \
        FUNC(nprd_smi, FLOCKR1, 20, 190) \
        FUNC(mmcwp, FLOCKR1, 24, 153) \
+       FUNC(vcdhs, INTCR, 27) \
        FUNC(rg2refck, INTCR4, 6) \
        FUNC(r1en, INTCR4, 12) \
        FUNC(r2en, INTCR4, 13) \