gpiolib: allow user-selection
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / powerpc / platforms / 52xx / Kconfig
1 config PPC_MPC52xx
2 bool "52xx-based boards"
3 depends on PPC_MULTIPLATFORM && PPC32
4 select FSL_SOC
5 select PPC_CLOCK
6 select PPC_PCI_CHOICE
7
8 config PPC_MPC5200_SIMPLE
9 bool "Generic support for simple MPC5200 based boards"
10 depends on PPC_MPC52xx
11 select DEFAULT_UIMAGE
12 help
13 This option enables support for a simple MPC52xx based boards which
14 do not need a custom platform specific setup. Such boards are
15 supported assuming the following:
16
17 - GPIO pins are configured by the firmware,
18 - CDM configuration (clocking) is setup correctly by firmware,
19 - if the 'fsl,has-wdt' property is present in one of the
20 gpt nodes, then it is safe to use such gpt to reset the board,
21 - PCI is supported if enabled in the kernel configuration
22 and if there is a PCI bus node defined in the device tree.
23
24 Boards that are compatible with this generic platform support
25 are: 'tqc,tqm5200', 'promess,motionpro', 'schindler,cm5200'.
26
27 config PPC_EFIKA
28 bool "bPlan Efika 5k2. MPC5200B based computer"
29 depends on PPC_MPC52xx
30 select PPC_RTAS
31 select RTAS_PROC
32 select PPC_NATIVE
33
34 config PPC_LITE5200
35 bool "Freescale Lite5200 Eval Board"
36 depends on PPC_MPC52xx
37 select DEFAULT_UIMAGE
38
39 config PPC_MPC5200_BUGFIX
40 bool "MPC5200 (L25R) bugfix support"
41 depends on PPC_MPC52xx
42 help
43 Enable workarounds for original MPC5200 errata. This is not required
44 for MPC5200B based boards.
45
46 It is safe to say 'Y' here
47
48 config PPC_MPC5200_GPIO
49 bool "MPC5200 GPIO support"
50 depends on PPC_MPC52xx
51 select ARCH_REQUIRE_GPIOLIB
52 help
53 Enable gpiolib support for mpc5200 based boards