mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 03:36:42 +07:00
e98ea774c8
This adds a scratch pin control interface to the Nomadik pinctrl driver, and defines the pins and groups in the DB8500 ASIC. We define GPIO ranges to cover the pins exposed. The DB8500 has more pins than this but we restrict the driver to the pins that can be controlled from the combined GPIO and pin control hardware to begin with. ChangeLog v1->v2: - Base on the latest pinctrl development from pinctrl-mergebase-20120418 so we can get rid of legacy group count mechanism. Also drop the range checks for group index, this is handled by the core now. Acked-by: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
95 lines
2.0 KiB
Plaintext
95 lines
2.0 KiB
Plaintext
if ARCH_U8500
|
|
|
|
config UX500_SOC_COMMON
|
|
bool
|
|
default y
|
|
select ARM_GIC
|
|
select HAS_MTU
|
|
select PL310_ERRATA_753970
|
|
select ARM_ERRATA_754322
|
|
select ARM_ERRATA_764369
|
|
select CACHE_L2X0
|
|
select PINCTRL
|
|
select PINCTRL_NOMADIK
|
|
|
|
config UX500_SOC_DB5500
|
|
bool
|
|
select MFD_DB5500_PRCMU
|
|
|
|
config UX500_SOC_DB8500
|
|
bool
|
|
select MFD_DB8500_PRCMU
|
|
select REGULATOR
|
|
select REGULATOR_DB8500_PRCMU
|
|
select CPU_FREQ_TABLE if CPU_FREQ
|
|
select PINCTRL_DB8500
|
|
|
|
menu "Ux500 target platform (boards)"
|
|
|
|
config MACH_MOP500
|
|
bool "U8500 Development platform, MOP500 versions"
|
|
select UX500_SOC_DB8500
|
|
select I2C
|
|
select I2C_NOMADIK
|
|
select SOC_BUS
|
|
help
|
|
Include support for the MOP500 development platform.
|
|
|
|
config MACH_HREFV60
|
|
bool "U8500 Development platform, HREFv60 version"
|
|
select MACH_MOP500
|
|
help
|
|
Include support for the HREFv60 new development platform.
|
|
Includes HREFv70, v71 etc.
|
|
|
|
config MACH_SNOWBALL
|
|
bool "U8500 Snowball platform"
|
|
select MACH_MOP500
|
|
help
|
|
Include support for the snowball development platform.
|
|
|
|
config MACH_U5500
|
|
bool "U5500 Development platform"
|
|
select UX500_SOC_DB5500
|
|
help
|
|
Include support for the U5500 development platform.
|
|
|
|
config UX500_AUTO_PLATFORM
|
|
def_bool y
|
|
depends on !MACH_U5500
|
|
select MACH_MOP500
|
|
help
|
|
At least one platform needs to be selected in order to build
|
|
a working kernel. If everything else is disabled, this
|
|
automatically enables MACH_MOP500.
|
|
|
|
config MACH_UX500_DT
|
|
bool "Generic U8500 support using device tree"
|
|
depends on MACH_MOP500
|
|
select USE_OF
|
|
|
|
endmenu
|
|
|
|
config UX500_DEBUG_UART
|
|
int "Ux500 UART to use for low-level debug"
|
|
default 2
|
|
help
|
|
Choose the UART on which kernel low-level debug messages should be
|
|
output.
|
|
|
|
config U5500_MODEM_IRQ
|
|
bool "Modem IRQ support"
|
|
depends on UX500_SOC_DB5500
|
|
default y
|
|
help
|
|
Add support for handling IRQ:s from modem side
|
|
|
|
config U5500_MBOX
|
|
bool "Mailbox support"
|
|
depends on U5500_MODEM_IRQ
|
|
default y
|
|
help
|
|
Add support for U5500 mailbox communication with modem side
|
|
|
|
endif
|