diff options
author | Eugen Hristev <eugen.hristev@microchip.com> | 2018-09-18 10:35:32 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-28 20:22:36 -0400 |
commit | 6a984d66b12d1ddc7745b005e24b099bed2fd271 (patch) | |
tree | 40e6fb2c79404327e9f87360b3045ba4a72bac5f /doc | |
parent | 84e55bdd8bcaba8548bedd1c0b46427e93c9ef75 (diff) | |
download | u-boot-6a984d66b12d1ddc7745b005e24b099bed2fd271.tar.gz |
dt-bindings: w1-eeprom: eep_sandbox: create bindings
Bindings for sandbox onewire eeprom driver
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt b/doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt new file mode 100644 index 0000000000..82bb5899af --- /dev/null +++ b/doc/device-tree-bindings/w1-eeprom/eep_sandbox.txt @@ -0,0 +1,34 @@ +Onewire EEPROM sandbox driver device binding - one wire protocol sandbox EEPROM +======================= + +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/eep_sandbox.c + +Software ds24xxx device-tree node properties: +Required: +* compatible = "sandbox,w1-eeprom" + +Optional: +* none + +Example: + eeprom1: eeprom@0 { + compatible = "sandbox,w1-eeprom"; + } + +Example with parent bus: + +onewire_tm: onewire { + compatible = "w1-gpio"; + gpios = <&gpio_a 8>; + + eeprom1: eeprom@0 { + compatible = "sandbox,w1-eeprom"; + } +}; + |