summaryrefslogtreecommitdiff
path: root/drivers/w1/Kconfig
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2018-09-18 10:35:24 +0300
committerTom Rini <trini@konsulko.com>2018-09-28 20:22:34 -0400
commitd3e19cf9195e7308c6333bbbbc12f8db8fa2d079 (patch)
tree96c9b9583e2c5f2b59bd142e89f7fb9e73702196 /drivers/w1/Kconfig
parent620300043c95cc695585748ba6ef79da8b8095eb (diff)
w1: Add 1-Wire uclass
We might want to use 1-Wire devices connected on boards such as EEPROMs in U-Boot. Provide a framework to be able to do that. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> [eugen.hristev@microchip.com: reworked] Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r--drivers/w1/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig
new file mode 100644
index 0000000000..64b27c6cd1
--- /dev/null
+++ b/drivers/w1/Kconfig
@@ -0,0 +1,18 @@
+#
+# W1 subsystem configuration
+#
+
+menu "1-Wire support"
+
+config W1
+ bool "Enable 1-wire controllers support"
+ default no
+ depends on DM
+ help
+ Support for the Dallas 1-Wire bus.
+
+if W1
+
+endif
+
+endmenu