Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

if CONFIG_ARCH_MEDIATEK || CONFIG_COMPILE_TEST

config CONFIG_PINCTRL_MTK
	bool
	depends on CONFIG_OF
	select CONFIG_PINMUX
	select CONFIG_GENERIC_PINCONF
	select CONFIG_GPIOLIB
	select CONFIG_OF_GPIO

# For ARMv7 SoCs
config CONFIG_PINCTRL_MT2701
	bool "Mediatek MT2701 pin control" if CONFIG_COMPILE_TEST && !CONFIG_MACH_MT2701
	depends on CONFIG_OF
	default CONFIG_MACH_MT2701
	select CONFIG_PINCTRL_MTK

config CONFIG_PINCTRL_MT7623
	bool "Mediatek MT7623 pin control" if CONFIG_COMPILE_TEST && !CONFIG_MACH_MT7623
	depends on CONFIG_OF
	default CONFIG_MACH_MT7623
	select PINCTRL_MTK_COMMON

config CONFIG_PINCTRL_MT8135
	bool "Mediatek MT8135 pin control" if CONFIG_COMPILE_TEST && !CONFIG_MACH_MT8135
	depends on CONFIG_OF
	default CONFIG_MACH_MT8135
	select CONFIG_PINCTRL_MTK

config CONFIG_PINCTRL_MT8127
	bool "Mediatek MT8127 pin control" if CONFIG_COMPILE_TEST && !CONFIG_MACH_MT8127
	depends on CONFIG_OF
	default CONFIG_MACH_MT8127
	select CONFIG_PINCTRL_MTK

# For ARMv8 SoCs
config CONFIG_PINCTRL_MT8173
	bool "Mediatek MT8173 pin control"
	depends on CONFIG_OF
	depends on CONFIG_ARM64 || CONFIG_COMPILE_TEST
	default CONFIG_ARM64 && CONFIG_ARCH_MEDIATEK
	select CONFIG_PINCTRL_MTK

# For PMIC
config CONFIG_PINCTRL_MT6397
	bool "Mediatek MT6397 pin control" if CONFIG_COMPILE_TEST && !CONFIG_MFD_MT6397
	depends on CONFIG_OF
	default CONFIG_MFD_MT6397
	select CONFIG_PINCTRL_MTK

endif