Merge branch 'next/fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/linux...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / of / Kconfig
1 config DTC
2 bool
3
4 config OF
5 bool
6
7 menu "Device Tree and Open Firmware support"
8 depends on OF
9
10 config 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
18 config OF_FLATTREE
19 bool
20 select DTC
21
22 config OF_EARLY_FLATTREE
23 bool
24 select OF_FLATTREE
25
26 config OF_PROMTREE
27 bool
28
29 config OF_DYNAMIC
30 def_bool y
31 depends on PPC_OF
32
33 config OF_ADDRESS
34 def_bool y
35 depends on !SPARC
36
37 config OF_IRQ
38 def_bool y
39 depends on !SPARC
40
41 config OF_DEVICE
42 def_bool y
43
44 config OF_GPIO
45 def_bool y
46 depends on GPIOLIB && !SPARC
47 help
48 OpenFirmware GPIO accessors
49
50 config OF_I2C
51 def_tristate I2C
52 depends on I2C && !SPARC
53 help
54 OpenFirmware I2C accessors
55
56 config OF_NET
57 depends on NETDEVICES
58 def_bool y
59
60 config OF_SPI
61 def_tristate SPI
62 depends on SPI && !SPARC
63 help
64 OpenFirmware SPI accessors
65
66 config OF_MDIO
67 def_tristate PHYLIB
68 depends on PHYLIB
69 help
70 OpenFirmware MDIO bus (Ethernet PHY) accessors
71
72 config OF_PCI
73 def_tristate PCI
74 depends on PCI
75 help
76 OpenFirmware PCI bus accessors
77
78 config OF_PCI_IRQ
79 def_tristate PCI
80 depends on OF_PCI && OF_IRQ
81 help
82 OpenFirmware PCI IRQ routing helpers
83
84 endmenu # OF