# SPDX-License-Identifier: GPL-2.0-only

menuconfig AMLOGIC_PINCTRL_MESON
	bool "Amlogic SoC pinctrl drivers"
	depends on OF
	depends on PINMUX
	depends on PINCONF
	depends on GENERIC_PINCONF
	depends on GPIOLIB
	depends on OF_GPIO
	depends on REGMAP_MMIO

config AMLOGIC_PINCTRL_A4
	tristate  "AMLOGIC pincontrol"
	depends on OF
	depends on PINMUX
	depends on PINCONF
	depends on GENERIC_PINCONF
	depends on GPIOLIB
	depends on OF_GPIO
	depends on REGMAP_MMIO
	depends on ARM64 || COMPILE_TEST
	default n
	help
	  This is the driver for the pin controller found on Amlogic SoCs.

	  This driver is simplify subsequent support for new amlogic SoCs,
	  to support new Amlogic SoCs, only need to add the corresponding dts file,
	  no additional binding header files or C file are added.

if AMLOGIC_PINCTRL_MESON
config AMLOGIC_PINCTRL_MESON_S4
	tristate "Meson s4 Soc pinctrl driver"
	default n
	help
	  the chip of s4 will be built
	  when enable this config.
	  s4 pinctrl can work.
	  otherwise s4 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_C2
	tristate "Meson c2 Soc pinctrl driver"
	default n
	help
	  the chip of c2 will be built
	  when enable this config.
	  c2 pinctrl can work.
	  otherwise c2 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_C3
	tristate "Meson C3 Soc pinctrl driver"
	default n
	help
	  the chip of C3 will be built
	  when enable this config.
	  C3 pinctrl can work.
	  otherwise C3 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_A1
	tristate "Meson A1 Soc pinctrl driver"
	default n
	help
	  the chip of A1 will be built
	  when enable this config.
	  A1 pinctrl can work.
	  otherwise A1 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_SC2
	tristate "Meson SC2 Soc pinctrl driver"
	default n
	help
	  the chip of SC2 will be built
	  when enable this config.
	  SC2 pinctrl can work.
	  otherwise SC2 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T3
	tristate "Meson T3 Soc pinctrl driver"
	default n
	help
	  the chip of T3 will be built
	  when enable this config.
	  T3 pinctrl can work.
	  otherwise T3 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T7
	tristate "Meson T7 Soc pinctrl driver"
	default n
	help
	  the chip of T7 will be built
	  when enable this config.
	  T7 pinctrl can work.
	  otherwise T7 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T5M
	tristate "Meson T5M Soc pinctrl driver"
	default n
	help
	  the chip of T5M will be built
	  when enable this config.
	  T5M pinctrl can work.
	  otherwise T5M pinctrl can't work

config AMLOGIC_PINCTRL_MESON_G12A
	tristate "Meson G12A Soc pinctrl driver"
	default n
	help
	  the chip of G12A will be built
	  when enable this config.
	  G12A pinctrl can work.
	  otherwise G12A pinctrl can't work

config AMLOGIC_PINCTRL_MESON_S5
	tristate "Meson S5 Soc pinctrl driver"
	default n
	help
	  the chip of S5 will be built
	  when enable this config.
	  S5 pinctrl can work.
	  otherwise S5 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T5W
	tristate "Meson T5W Soc pinctrl driver"
	default n
	help
	  the chip of T5W will be built
	  when enable this config.
	  T5M pinctrl can work.
	  otherwise T5W pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T3X
	tristate "Meson T3X Soc pinctrl driver"
	default n
	help
	  the chip of T3X will be built
	  when enable this config.
	  T3X pinctrl can work.
	  otherwise T3X pinctrl can't work

config AMLOGIC_PINCTRL_MESON_TXHD2
	tristate "Meson TXHD2 Soc pinctrl driver"
	default n
	help
	  the chip of TXHD2 will be built
	  when enable this config.
	  TXHD2 pinctrl can work.
	  otherwise TXHD2 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_C1
	tristate "Meson C1 Soc pinctrl driver"
	default n
	help
	  the chip of C1 will be built
	  when enable this config.
	  C1 pinctrl can work.
	  otherwise C1 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_S1A
	tristate "Meson S1A Soc pinctrl driver"
	default n
	help
	  the chip of S1A will be built
	  when enable this config.
	  S1A pinctrl can work.
	  otherwise S1A pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T5D
	tristate "Meson T5D Soc pinctrl driver"
	default n
	help
	  the chip of T5D will be built
	  when enable this config.
	  T5D pinctrl can work.
	  otherwise T5D pinctrl can't work

config AMLOGIC_PINCTRL_MESON_A4
	tristate "Meson A4 Soc pinctrl driver"
	default n
	help
	  the chip of A4 will be built
	  when enable this config.
	  A4 pinctrl can work.
	  otherwise A4 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_A5
	tristate "Meson A5 Soc pinctrl driver"
	default n
	help
	  the chip of A5 will be built
	  when enable this config.
	  A5 pinctrl can work.
	  otherwise A5 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_TM2
	tristate "Meson TM2 Soc pinctrl driver"
	default n
	help
	  the chip of TM2 will be built
	  when enable this config.
	  T5M pinctrl can work.
	  otherwise TM2 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_S7
	tristate "Meson S7 SoC pinctrl driver"
	default n
	help
	  the chip of S7 will be built
	  when enable this config.
	  S7 pinctrl can work.
	  otherwise S7 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_S7D
	tristate "Meson S7D SoC pinctrl driver"
	default n
	help
	  the chip of S7D will be built
	  when enable this config.
	  S7D pinctrl can work.
	  otherwise S7D pinctrl can't work

config AMLOGIC_PINCTRL_MESON_S6
	tristate "Meson S6 Soc pinctrl driver"
	default n
	help
	  the chip of S6 will be built
	  when enable this config.
	  S6 pinctrl can work.
	  otherwise S6 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T6D
	tristate "Meson T6D SoC pinctrl driver"
	default n
	help
	  the chip of T6D will be built
	  when enable this config.
	  T6D pinctrl can work.
	  otherwise T6D pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T6W
	tristate "Meson T6W SoC pinctrl driver"
	default n
	help
	  the chip of T6W will be built
	  when enable this config.
	  T6W pinctrl can work.
	  otherwise T6W pinctrl can't work

config AMLOGIC_PINCTRL_MESON_T6X
	tristate "Meson T6X SoC pinctrl driver"
	default n
	help
	  the chip of T6X will be built
	  when enable this config.
	  T6X pinctrl can work.
	  otherwise T6X pinctrl can't work

config AMLOGIC_PINCTRL_MESON_C4
	tristate "Meson C4 Soc pinctrl driver"
	default n
	help
	  the chip of C4 will be built
	  when enable this config.
	  C4 pinctrl can work.
	  otherwise C4 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_A9
	tristate "Meson A9 SoC pinctrl driver"
	default n
	help
	  the chip of A9 will be built
	  when enable this config.
	  A9 pinctrl can work.
	  otherwise A9 pinctrl can't work

config AMLOGIC_PINCTRL_MESON_C5
	tristate "Meson C5 Soc pinctrl driver"
	default n
	help
	  the chip of C5 will be built
	  when enable this config.
	  C5 pinctrl can work.
	  otherwise C5 pinctrl can't work

endif
