
MIPS appears to define a RST symbol at a high level, which clashes with some register naming in the driver. Since there is currently no case for running this driver on MIPS devices simply cut off the build of this driver on MIPS. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202311071303.JJMAOjy4-lkp@intel.com/ Suggested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20231115162853.1891940-1-ckeepax@opensource.cirrus.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
983 B
SPDX-License-Identifier: GPL-2.0-only
config PINCTRL_CS42L43 tristate "Cirrus Logic CS42L43 Pinctrl Driver" depends on MFD_CS42L43 select GPIOLIB select PINMUX select PINCONF select GENERIC_PINCONF help Select this to support the GPIO/Pinctrl functions of the Cirrus Logic CS42L43 PC CODEC.
config PINCTRL_LOCHNAGAR tristate "Cirrus Logic Lochnagar pinctrl driver" # Avoid clash caused by MIPS defining RST, which is used in the driver depends on MFD_LOCHNAGAR && !MIPS select GPIOLIB select PINMUX select PINCONF select GENERIC_PINCONF help This driver supports configuring the GPIO and other pin configuration of the Cirrus Logic Lochnagar audio development board.
This is all selected by the Madera MFD driver Kconfig options
config PINCTRL_MADERA tristate select PINMUX select GENERIC_PINCONF
config PINCTRL_CS47L15 bool
config PINCTRL_CS47L35 bool
config PINCTRL_CS47L85 bool
config PINCTRL_CS47L90 bool
config PINCTRL_CS47L92 bool