]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/of/Kconfig
UBUNTU: [Config] CONFIG_SND_SOC_MAX98927=m
[mirror_ubuntu-artful-kernel.git] / drivers / of / Kconfig
CommitLineData
5ab5fc7e
GL
1config DTC
2 bool
3
0166dc11
RH
4menuconfig OF
5 bool "Device Tree and Open Firmware support"
6 help
7 This option enables the device tree infrastructure.
8 It is automatically selected by platforms that need it or can
9 be enabled manually for unittests, overlays or
10 compile-coverage.
bcbefae2 11
0166dc11 12if OF
5ab5fc7e 13
19fd7487
GL
14config OF_UNITTEST
15 bool "Device Tree runtime unit tests"
649e0a77
RH
16 depends on OF_IRQ
17 select OF_EARLY_FLATTREE
2eb46da2 18 select OF_RESOLVE
53a42093
GL
19 help
20 This option builds in test cases for the device tree infrastructure
5d927086 21 that are executed once at boot time, and the results dumped to the
53a42093
GL
22 console.
23
24 If unsure, say N here, but this option is safe to enable.
25
1b7c501b
RH
26config OF_ALL_DTBS
27 bool "Build all Device Tree Blobs"
28 depends on COMPILE_TEST
29 select DTC
30 help
31 This option builds all possible Device Tree Blobs (DTBs) for the
32 current architecture.
33
34 If unsure, say N here, but this option is safe to enable.
35
e169cfbe
GL
36config OF_FLATTREE
37 bool
5ab5fc7e 38 select DTC
e6a6928c 39 select LIBFDT
08d53aa5 40 select CRC32
e169cfbe 41
e6ce1324
SN
42config OF_EARLY_FLATTREE
43 bool
44 select OF_FLATTREE
45
3cfc535c
AS
46config OF_PROMTREE
47 bool
48
0f22dd39
GL
49# Hardly any platforms need this. It is safe to select, but only do so if you
50# need it.
fcdeb7fe 51config OF_DYNAMIC
121c92ca
GU
52 bool "Support for dynamic device trees" if OF_UNITTEST
53 help
54 On some platforms, the device tree can be manipulated at runtime.
55 While this option is selected automatically on such platforms, you
56 can enable it manually to improve device tree unit test coverage.
fcdeb7fe 57
6b884a8d
GL
58config OF_ADDRESS
59 def_bool y
39da809e 60 depends on !SPARC && HAS_IOMEM
25a31579
GC
61 select OF_ADDRESS_PCI if PCI
62
63config OF_ADDRESS_PCI
64 bool
6b884a8d 65
e3873444
GL
66config OF_IRQ
67 def_bool y
63c60e3a 68 depends on !SPARC && IRQ_DOMAIN
e3873444 69
4b6ba8aa
DD
70config OF_NET
71 depends on NETDEVICES
72 def_bool y
73
8bc487d1
GL
74config OF_MDIO
75 def_tristate PHYLIB
5ab5fc7e 76 depends on PHYLIB
a5e4bd99 77 select FIXED_PHY
8bc487d1
GL
78 help
79 OpenFirmware MDIO bus (Ethernet PHY) accessors
5ab5fc7e 80
04bea68b
SAS
81config OF_PCI
82 def_tristate PCI
98d9f30c 83 depends on PCI
04bea68b
SAS
84 help
85 OpenFirmware PCI bus accessors
86
98d9f30c
BH
87config OF_PCI_IRQ
88 def_tristate PCI
89 depends on OF_PCI && OF_IRQ
90 help
91 OpenFirmware PCI IRQ routing helpers
92
3f0c8206
MS
93config OF_RESERVED_MEM
94 depends on OF_EARLY_FLATTREE
95 bool
96 help
97 Helpers to allow for reservation of memory regions
98
7941b27b
PA
99config OF_RESOLVE
100 bool
101
7518b589 102config OF_OVERLAY
5c776064 103 bool "Device Tree overlays"
7518b589 104 select OF_DYNAMIC
7518b589 105 select OF_RESOLVE
121c92ca
GU
106 help
107 Overlays are a method to dynamically modify part of the kernel's
108 device tree with dynamically loaded data.
109 While this option is selected automatically when needed, you can
110 enable it manually to improve device tree unit test coverage.
7518b589 111
298535c0
DD
112config OF_NUMA
113 bool
114
606e2055
PA
115config OF_CONFIGFS
116 bool "Device Tree Overlay ConfigFS interface"
117 select CONFIGFS_FS
118 select OF_OVERLAY
119 help
120 Enable a simple user-space driven DT overlay interface.
121
0166dc11 122endif # OF