summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Fuzzey <martin.fuzzey@flowbird.group>2018-10-24 10:21:19 +0200
committerTom Rini <trini@konsulko.com>2018-11-16 16:51:55 -0500
commitf9c87adc47a84fbe44f580ffa5fd2540ce7793b2 (patch)
tree01e59ad84ede69ca095fbf180fa84da0cbe8e342 /doc
parent8cd3f51b4478c5a03dba31178ba3952747abdba3 (diff)
downloadu-boot-f9c87adc47a84fbe44f580ffa5fd2540ce7793b2.tar.gz
w1-eeprom: Add support for Maxim DS2502 add only memory
Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/w1-eeprom/ds2502.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/w1-eeprom/ds2502.txt b/doc/device-tree-bindings/w1-eeprom/ds2502.txt
new file mode 100644
index 0000000000..7f05fc432e
--- /dev/null
+++ b/doc/device-tree-bindings/w1-eeprom/ds2502.txt
@@ -0,0 +1,33 @@
+Maxim DS2502 driver device binding - one wire protocol add only memory from Maxim
+=======================
+
+This memory needs to be connected to a onewire bus, as a child node.
+The bus will read the device serial number and match this node with a found
+device on the bus
+Also check doc/device-tree-bindings/w1 for onewire bus drivers
+
+Driver:
+- drivers/w1-eeprom/ds2502.c
+
+Ds2502 device-tree node properties:
+Required:
+* compatible = "maxim,ds2502"
+
+Optional:
+* none
+
+Example:
+ eeprom1: eeprom@0 {
+ compatible = "maxim,ds2502";
+ };
+
+Example with parent bus:
+ onewire {
+ compatible = "fsl,imx53-owire";
+ reg = <0x63fa4000 0x4000>;
+
+ eeprom1: eeprom@0 {
+ compatible = "maxim,ds2502";
+ };
+ };
+