Merge tag 'v3.10.104' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / of / Kconfig
CommitLineData
5ab5fc7e
GL
1config DTC
2 bool
3
bcbefae2
SR
4config OF
5 bool
6
3cfc535c 7menu "Device Tree and Open Firmware support"
5ab5fc7e
GL
8 depends on OF
9
ef2a4524
AS
10config PROC_DEVICETREE
11 bool "Support for device tree in /proc"
12 depends on PROC_FS && !SPARC
13 help
14 This option adds a device-tree directory under /proc which contains
15 an image of the device tree that the kernel copies from Open
16 Firmware or other boot firmware. If unsure, say Y here.
17
53a42093
GL
18config OF_SELFTEST
19 bool "Device Tree Runtime self tests"
20 help
21 This option builds in test cases for the device tree infrastructure
22 that are executed one at boot time, and the results dumped to the
23 console.
24
25 If unsure, say N here, but this option is safe to enable.
26
e169cfbe
GL
27config OF_FLATTREE
28 bool
5ab5fc7e 29 select DTC
e169cfbe 30
e6ce1324
SN
31config OF_EARLY_FLATTREE
32 bool
33 select OF_FLATTREE
34
3cfc535c
AS
35config OF_PROMTREE
36 bool
37
0f22dd39
GL
38# Hardly any platforms need this. It is safe to select, but only do so if you
39# need it.
fcdeb7fe 40config OF_DYNAMIC
0f22dd39 41 bool
fcdeb7fe 42
6b884a8d
GL
43config OF_ADDRESS
44 def_bool y
5ab5fc7e 45 depends on !SPARC
6b884a8d 46
e3873444
GL
47config OF_IRQ
48 def_bool y
5ab5fc7e 49 depends on !SPARC
e3873444 50
f85ff305
SR
51config OF_DEVICE
52 def_bool y
863fbf49 53
612212a3 54config OF_I2C
585468e5 55 def_tristate I2C
476ab8fb 56 depends on I2C
612212a3
JF
57 help
58 OpenFirmware I2C accessors
284b0189 59
4b6ba8aa
DD
60config OF_NET
61 depends on NETDEVICES
62 def_bool y
63
8bc487d1
GL
64config OF_MDIO
65 def_tristate PHYLIB
5ab5fc7e 66 depends on PHYLIB
8bc487d1
GL
67 help
68 OpenFirmware MDIO bus (Ethernet PHY) accessors
5ab5fc7e 69
04bea68b
SAS
70config OF_PCI
71 def_tristate PCI
98d9f30c 72 depends on PCI
04bea68b
SAS
73 help
74 OpenFirmware PCI bus accessors
75
98d9f30c
BH
76config OF_PCI_IRQ
77 def_tristate PCI
78 depends on OF_PCI && OF_IRQ
79 help
80 OpenFirmware PCI IRQ routing helpers
81
770d7c39
JCPV
82config OF_MTD
83 depends on MTD
84 def_bool y
85
6fa3eb70
S
86config OF_RESERVED_MEM
87 depends on OF_EARLY_FLATTREE
88 bool "OF_RESERVED_MEM"
89 def_bool y
90 help
91 Helpers to allow for reservation of memory regions
92
5ab5fc7e 93endmenu # OF