1 # SPDX-License-Identifier: GPL-2.0
2 # generic pinmux support
4 subdir-ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG
6 obj-y += core.o pinctrl-utils.o
7 obj-$(CONFIG_PINMUX) += pinmux.o
8 obj-$(CONFIG_PINCONF) += pinconf.o
9 obj-$(CONFIG_OF) += devicetree.o
10 obj-$(CONFIG_GENERIC_PINCONF) += pinconf-generic.o
11 obj-$(CONFIG_PINCTRL_ARTPEC6) += pinctrl-artpec6.o
12 obj-$(CONFIG_PINCTRL_AS3722) += pinctrl-as3722.o
13 obj-$(CONFIG_PINCTRL_AXP209) += pinctrl-axp209.o
14 obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o
15 obj-$(CONFIG_PINCTRL_AT91PIO4) += pinctrl-at91-pio4.o
16 obj-$(CONFIG_PINCTRL_AMD) += pinctrl-amd.o
17 obj-$(CONFIG_PINCTRL_BM1880) += pinctrl-bm1880.o
18 obj-$(CONFIG_PINCTRL_DA850_PUPD) += pinctrl-da850-pupd.o
19 obj-$(CONFIG_PINCTRL_DA9062) += pinctrl-da9062.o
20 obj-$(CONFIG_PINCTRL_DIGICOLOR) += pinctrl-digicolor.o
21 obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
22 obj-$(CONFIG_PINCTRL_GEMINI) += pinctrl-gemini.o
23 obj-$(CONFIG_PINCTRL_MAX77620) += pinctrl-max77620.o
24 obj-$(CONFIG_PINCTRL_MCP23S08_I2C) += pinctrl-mcp23s08_i2c.o
25 obj-$(CONFIG_PINCTRL_MCP23S08_SPI) += pinctrl-mcp23s08_spi.o
26 obj-$(CONFIG_PINCTRL_MCP23S08) += pinctrl-mcp23s08.o
27 obj-$(CONFIG_PINCTRL_MESON) += meson/
28 obj-$(CONFIG_PINCTRL_OXNAS) += pinctrl-oxnas.o
29 obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o
30 obj-$(CONFIG_PINCTRL_PIC32) += pinctrl-pic32.o
31 obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o
32 obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
33 obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
34 obj-$(CONFIG_PINCTRL_SX150X) += pinctrl-sx150x.o
35 obj-$(CONFIG_ARCH_TEGRA) += tegra/
36 obj-$(CONFIG_PINCTRL_XWAY) += pinctrl-xway.o
37 obj-$(CONFIG_PINCTRL_LANTIQ) += pinctrl-lantiq.o
38 obj-$(CONFIG_PINCTRL_LPC18XX) += pinctrl-lpc18xx.o
39 obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o
40 obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
41 obj-$(CONFIG_PINCTRL_STMFX) += pinctrl-stmfx.o
42 obj-$(CONFIG_PINCTRL_ZYNQ) += pinctrl-zynq.o
43 obj-$(CONFIG_PINCTRL_ZYNQMP) += pinctrl-zynqmp.o
44 obj-$(CONFIG_PINCTRL_INGENIC) += pinctrl-ingenic.o
45 obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o
46 obj-$(CONFIG_PINCTRL_OCELOT) += pinctrl-ocelot.o
47 obj-$(CONFIG_PINCTRL_MICROCHIP_SGPIO) += pinctrl-microchip-sgpio.o
48 obj-$(CONFIG_PINCTRL_EQUILIBRIUM) += pinctrl-equilibrium.o
49 obj-$(CONFIG_PINCTRL_K210) += pinctrl-k210.o
50 obj-$(CONFIG_PINCTRL_KEEMBAY) += pinctrl-keembay.o
53 obj-$(CONFIG_ARCH_ASPEED) += aspeed/
55 obj-$(CONFIG_PINCTRL_BERLIN) += berlin/
57 obj-$(CONFIG_X86) += intel/
60 obj-$(CONFIG_ARCH_NPCM7XX) += nuvoton/
61 obj-$(CONFIG_PINCTRL_PXA) += pxa/
62 obj-$(CONFIG_ARCH_QCOM) += qcom/
63 obj-$(CONFIG_PINCTRL_RALINK) += ralink/
64 obj-$(CONFIG_PINCTRL_RENESAS) += renesas/
65 obj-$(CONFIG_PINCTRL_SAMSUNG) += samsung/
66 obj-$(CONFIG_PINCTRL_SPEAR) += spear/
68 obj-$(CONFIG_PINCTRL_STM32) += stm32/
69 obj-$(CONFIG_PINCTRL_SUNXI) += sunxi/
71 obj-$(CONFIG_PINCTRL_UNIPHIER) += uniphier/
72 obj-$(CONFIG_ARCH_VT8500) += vt8500/
75 obj-$(CONFIG_PINCTRL_VISCONTI) += visconti/