Makefile 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # SPDX-License-Identifier: GPL-2.0
  2. # generic pinmux support
  3. ifeq ($(cc-name),clang)
  4. ccflags-y += -Wno-error=enum-conversion
  5. endif
  6. subdir-ccflags-$(CONFIG_DEBUG_PINCTRL) += -DDEBUG
  7. obj-y += core.o pinctrl-utils.o
  8. obj-$(CONFIG_PINMUX) += pinmux.o
  9. obj-$(CONFIG_PINCONF) += pinconf.o
  10. obj-$(CONFIG_OF) += devicetree.o
  11. obj-$(CONFIG_GENERIC_PINCONF) += pinconf-generic.o
  12. obj-$(CONFIG_PINCTRL_ADI2) += pinctrl-adi2.o
  13. obj-$(CONFIG_PINCTRL_ARTPEC6) += pinctrl-artpec6.o
  14. obj-$(CONFIG_PINCTRL_AS3722) += pinctrl-as3722.o
  15. obj-$(CONFIG_PINCTRL_BF54x) += pinctrl-adi2-bf54x.o
  16. obj-$(CONFIG_PINCTRL_BF60x) += pinctrl-adi2-bf60x.o
  17. obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o
  18. obj-$(CONFIG_PINCTRL_AT91PIO4) += pinctrl-at91-pio4.o
  19. obj-$(CONFIG_PINCTRL_AMD) += pinctrl-amd.o
  20. obj-$(CONFIG_PINCTRL_DA850_PUPD) += pinctrl-da850-pupd.o
  21. obj-$(CONFIG_PINCTRL_DIGICOLOR) += pinctrl-digicolor.o
  22. obj-$(CONFIG_PINCTRL_FALCON) += pinctrl-falcon.o
  23. obj-$(CONFIG_PINCTRL_GEMINI) += pinctrl-gemini.o
  24. obj-$(CONFIG_PINCTRL_MAX77620) += pinctrl-max77620.o
  25. obj-$(CONFIG_PINCTRL_MCP23S08) += pinctrl-mcp23s08.o
  26. obj-$(CONFIG_PINCTRL_MESON) += meson/
  27. obj-$(CONFIG_PINCTRL_OXNAS) += pinctrl-oxnas.o
  28. obj-$(CONFIG_PINCTRL_PALMAS) += pinctrl-palmas.o
  29. obj-$(CONFIG_PINCTRL_PIC32) += pinctrl-pic32.o
  30. obj-$(CONFIG_PINCTRL_PISTACHIO) += pinctrl-pistachio.o
  31. obj-$(CONFIG_PINCTRL_ROCKCHIP) += pinctrl-rockchip.o
  32. obj-$(CONFIG_PINCTRL_RZA1) += pinctrl-rza1.o
  33. obj-$(CONFIG_PINCTRL_SINGLE) += pinctrl-single.o
  34. obj-$(CONFIG_PINCTRL_SIRF) += sirf/
  35. obj-$(CONFIG_PINCTRL_SX150X) += pinctrl-sx150x.o
  36. obj-$(CONFIG_ARCH_TEGRA) += tegra/
  37. obj-$(CONFIG_PINCTRL_TZ1090) += pinctrl-tz1090.o
  38. obj-$(CONFIG_PINCTRL_TZ1090_PDC) += pinctrl-tz1090-pdc.o
  39. obj-$(CONFIG_PINCTRL_U300) += pinctrl-u300.o
  40. obj-$(CONFIG_PINCTRL_COH901) += pinctrl-coh901.o
  41. obj-$(CONFIG_PINCTRL_XWAY) += pinctrl-xway.o
  42. obj-$(CONFIG_PINCTRL_LANTIQ) += pinctrl-lantiq.o
  43. obj-$(CONFIG_PINCTRL_LPC18XX) += pinctrl-lpc18xx.o
  44. obj-$(CONFIG_PINCTRL_TB10X) += pinctrl-tb10x.o
  45. obj-$(CONFIG_PINCTRL_ST) += pinctrl-st.o
  46. obj-$(CONFIG_PINCTRL_ZYNQ) += pinctrl-zynq.o
  47. obj-$(CONFIG_PINCTRL_INGENIC) += pinctrl-ingenic.o
  48. obj-$(CONFIG_PINCTRL_RK805) += pinctrl-rk805.o
  49. obj-$(CONFIG_ARCH_ASPEED) += aspeed/
  50. obj-y += bcm/
  51. obj-$(CONFIG_PINCTRL_BERLIN) += berlin/
  52. obj-y += freescale/
  53. obj-$(CONFIG_X86) += intel/
  54. obj-y += mvebu/
  55. obj-y += nomadik/
  56. obj-$(CONFIG_PINCTRL_PXA) += pxa/
  57. obj-$(CONFIG_ARCH_QCOM) += qcom/
  58. obj-$(CONFIG_PINCTRL_SAMSUNG) += samsung/
  59. obj-$(CONFIG_PINCTRL_SH_PFC) += sh-pfc/
  60. obj-$(CONFIG_PINCTRL_SPEAR) += spear/
  61. obj-y += sprd/
  62. obj-$(CONFIG_PINCTRL_STM32) += stm32/
  63. obj-$(CONFIG_PINCTRL_SUNXI) += sunxi/
  64. obj-y += ti/
  65. obj-$(CONFIG_PINCTRL_UNIPHIER) += uniphier/
  66. obj-$(CONFIG_ARCH_VT8500) += vt8500/
  67. obj-$(CONFIG_PINCTRL_MTK) += mediatek/
  68. obj-$(CONFIG_PINCTRL_MTK_V2) += mediatek/
  69. obj-$(CONFIG_PINCTRL_ZX) += zte/