summaryrefslogtreecommitdiffstats
path: root/drivers/w1/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-29 14:02:36 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-29 22:31:18 +0100
commit6b21594df08f6f569ca86dfb80d03f2d9aa32920 (patch)
tree6cd0c20abbf3682f6cab7333796933d558b6d897 /drivers/w1/Kconfig
parentcf1670486b0b315c911e947a732f3bc603fe2438 (diff)
downloadbarebox-6b21594df08f6f569ca86dfb80d03f2d9aa32920.tar.gz
barebox-6b21594df08f6f569ca86dfb80d03f2d9aa32920.tar.xz
add 1-wire support
export for each device via param the familly id (fid) the id the full reg_num so for simple 64bit memory rom(ds2401/ds2411/ds1990*) no need driver. Based on linux implementation, cleaned and re-implement the master/slave support to use the device/driver model correctly. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/w1/Kconfig')
-rw-r--r--drivers/w1/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/w1/Kconfig b/drivers/w1/Kconfig
new file mode 100644
index 0000000000..ab349977a4
--- /dev/null
+++ b/drivers/w1/Kconfig
@@ -0,0 +1,14 @@
+menuconfig W1
+ bool "Dallas's 1-wire support"
+ ---help---
+ Dallas' 1-wire bus is useful to connect slow 1-pin devices
+ such as iButtons and thermal sensors.
+
+ If you want W1 support, you should say Y here.
+
+if W1
+
+source drivers/w1/masters/Kconfig
+source drivers/w1/slaves/Kconfig
+
+endif # W1