summaryrefslogtreecommitdiffstats
path: root/drivers/w1/slaves
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/slaves
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/slaves')
-rw-r--r--drivers/w1/slaves/Kconfig7
-rw-r--r--drivers/w1/slaves/Makefile4
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/w1/slaves/Kconfig b/drivers/w1/slaves/Kconfig
new file mode 100644
index 0000000000..f35eedf4df
--- /dev/null
+++ b/drivers/w1/slaves/Kconfig
@@ -0,0 +1,7 @@
+#
+# 1-wire slaves configuration
+#
+
+menu "1-wire Slaves"
+
+endmenu
diff --git a/drivers/w1/slaves/Makefile b/drivers/w1/slaves/Makefile
new file mode 100644
index 0000000000..ac9a5a75a6
--- /dev/null
+++ b/drivers/w1/slaves/Makefile
@@ -0,0 +1,4 @@
+#
+# Makefile for the Dallas's 1-wire slaves.
+#
+