Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux-2.6
[cascardo/linux.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_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
27 config OF_FLATTREE
28         bool
29         select DTC
30
31 config OF_EARLY_FLATTREE
32         bool
33         select OF_FLATTREE
34
35 config OF_PROMTREE
36         bool
37
38 config OF_DYNAMIC
39         def_bool y
40         depends on PPC_OF
41
42 config OF_ADDRESS
43         def_bool y
44         depends on !SPARC
45
46 config OF_IRQ
47         def_bool y
48         depends on !SPARC
49
50 config OF_DEVICE
51         def_bool y
52
53 config OF_GPIO
54         def_bool y
55         depends on GPIOLIB && !SPARC
56         help
57           OpenFirmware GPIO accessors
58
59 config OF_I2C
60         def_tristate I2C
61         depends on I2C && !SPARC
62         help
63           OpenFirmware I2C accessors
64
65 config OF_NET
66         depends on NETDEVICES
67         def_bool y
68
69 config OF_SPI
70         def_tristate SPI
71         depends on SPI && !SPARC
72         help
73           OpenFirmware SPI accessors
74
75 config OF_MDIO
76         def_tristate PHYLIB
77         depends on PHYLIB
78         help
79           OpenFirmware MDIO bus (Ethernet PHY) accessors
80
81 config OF_PCI
82         def_tristate PCI
83         depends on PCI
84         help
85           OpenFirmware PCI bus accessors
86
87 config OF_PCI_IRQ
88         def_tristate PCI
89         depends on OF_PCI && OF_IRQ
90         help
91           OpenFirmware PCI IRQ routing helpers
92
93 endmenu # OF