blob: acd42ae36c73030e6e904ff8a50992bcff54e738 [file] [log] [blame]
Grant Likely5ab5fc72010-07-05 12:02:13 -06001config DTC
2 bool
3
Stephen Rothwellbcbefae2010-06-29 12:45:51 +10004config OF
5 bool
6
Andres Salomon3cfc5352010-10-10 21:42:33 -06007menu "Device Tree and Open Firmware support"
Grant Likely5ab5fc72010-07-05 12:02:13 -06008 depends on OF
9
Andres Salomonef2a4522010-06-28 22:00:48 -040010config 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
Grant Likely53a42092011-12-12 09:25:57 -070018config 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
Grant Likelye169cfb2009-11-23 14:53:09 -070027config OF_FLATTREE
28 bool
Grant Likely5ab5fc72010-07-05 12:02:13 -060029 select DTC
Grant Likelye169cfb2009-11-23 14:53:09 -070030
Stephen Neuendorffere6ce1322010-11-18 15:54:56 -080031config OF_EARLY_FLATTREE
32 bool
33 select OF_FLATTREE
34
Andres Salomon3cfc5352010-10-10 21:42:33 -060035config OF_PROMTREE
36 bool
37
Grant Likely0f22dd32012-02-15 20:38:40 -070038# Hardly any platforms need this. It is safe to select, but only do so if you
39# need it.
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070040config OF_DYNAMIC
Grant Likely0f22dd32012-02-15 20:38:40 -070041 bool
Grant Likelyfcdeb7f2010-01-29 05:04:33 -070042
Grant Likely6b884a82010-06-08 07:48:09 -060043config OF_ADDRESS
44 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060045 depends on !SPARC
Grant Likely6b884a82010-06-08 07:48:09 -060046
Grant Likelye3873442010-06-18 11:09:59 -060047config OF_IRQ
48 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060049 depends on !SPARC
Grant Likelye3873442010-06-18 11:09:59 -060050
Stephen Rothwellf85ff302007-05-01 16:40:36 +100051config OF_DEVICE
52 def_bool y
Anton Vorontsov863fbf42008-04-11 23:06:45 +100053
54config OF_GPIO
55 def_bool y
Grant Likely5ab5fc72010-07-05 12:02:13 -060056 depends on GPIOLIB && !SPARC
Anton Vorontsov863fbf42008-04-11 23:06:45 +100057 help
58 OpenFirmware GPIO accessors
Jochen Friedrich612212a2008-04-12 05:22:35 +100059
60config OF_I2C
Jochen Friedrich585468e2008-04-19 00:23:03 +100061 def_tristate I2C
Grant Likely5ab5fc72010-07-05 12:02:13 -060062 depends on I2C && !SPARC
Jochen Friedrich612212a2008-04-12 05:22:35 +100063 help
64 OpenFirmware I2C accessors
Grant Likely284b0182008-05-16 11:37:09 -060065
David Daney4b6ba8a2010-10-26 15:07:13 -070066config OF_NET
67 depends on NETDEVICES
68 def_bool y
69
Grant Likely284b0182008-05-16 11:37:09 -060070config OF_SPI
71 def_tristate SPI
Grant Likely5ab5fc72010-07-05 12:02:13 -060072 depends on SPI && !SPARC
Grant Likely284b0182008-05-16 11:37:09 -060073 help
74 OpenFirmware SPI accessors
Grant Likely8bc487d2009-04-25 12:52:56 +000075
76config OF_MDIO
77 def_tristate PHYLIB
Grant Likely5ab5fc72010-07-05 12:02:13 -060078 depends on PHYLIB
Grant Likely8bc487d2009-04-25 12:52:56 +000079 help
80 OpenFirmware MDIO bus (Ethernet PHY) accessors
Grant Likely5ab5fc72010-07-05 12:02:13 -060081
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053082config OF_PCI
83 def_tristate PCI
Benjamin Herrenschmidt98d9f302011-04-11 11:37:07 +100084 depends on PCI
Sebastian Andrzej Siewior04bea682011-01-24 09:58:55 +053085 help
86 OpenFirmware PCI bus accessors
87
Benjamin Herrenschmidt98d9f302011-04-11 11:37:07 +100088config OF_PCI_IRQ
89 def_tristate PCI
90 depends on OF_PCI && OF_IRQ
91 help
92 OpenFirmware PCI IRQ routing helpers
93
Michael Bohan86e30dc2012-01-05 14:16:43 -080094config OF_SPMI
95 def_tristate SPMI
96 depends on SPMI
97 help
98 OpenFirmware SPMI bus accessors
99
Jean-Christophe PLAGNIOL-VILLARD770d7c32012-01-28 12:12:36 +0800100config OF_MTD
101 depends on MTD
102 def_bool y
103
Sagar Dharia7e42e7f2012-03-21 15:29:04 -0600104config OF_SLIMBUS
105 def_tristate SLIMBUS
106 depends on SLIMBUS
107 help
108 OpenFirmware SLIMBUS accessors
109
Pratik Patelf5e84972013-05-14 12:40:22 -0700110config OF_CORESIGHT
111 def_bool y
112 depends on CORESIGHT
113 help
114 OpenFirmware CoreSight accessors
115
Grant Likely5ab5fc72010-07-05 12:02:13 -0600116endmenu # OF