From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eugen Hristev Date: Thu, 19 Jul 2018 12:57:51 +0300 Subject: [U-Boot] [PATCH 03/20] dt-bindings: W1: w1-gpio: added bindings for w1-gpio In-Reply-To: <1531994288-19423-1-git-send-email-eugen.hristev@microchip.com> References: <1531994288-19423-1-git-send-email-eugen.hristev@microchip.com> Message-ID: <1531994288-19423-4-git-send-email-eugen.hristev@microchip.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Added bindings specification for bitbanged gpio driver for Dallas one wire protocol Signed-off-by: Eugen Hristev --- doc/device-tree-bindings/w1/w1-gpio.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 040000 doc/device-tree-bindings/w1 create mode 100644 doc/device-tree-bindings/w1/w1-gpio.txt diff --git a/doc/device-tree-bindings/w1/w1-gpio.txt b/doc/device-tree-bindings/w1/w1-gpio.txt new file mode 100644 index 0000000..b976d8c --- /dev/null +++ b/doc/device-tree-bindings/w1/w1-gpio.txt @@ -0,0 +1,26 @@ +W1 gpio device binding - one wire protocol over bitbanged gpio +======================= + + +No child nodes are required in device tree. The driver will autodetect +the devices and instantiate the driver for the child according to the detected +family. This is done according to the discovery protocol in 1wire standard. + +Driver: +- drivers/w1/w1-gpio.c + +Software w1 device-tree node properties: +Required: +* compatible = "w1-gpio"; +* gpios = <...>; + This is the gpio used for one wire protocol, using bitbanging + +Optional: +* none + +Example: + +onewire_tm: onewire { + compatible = "w1-gpio"; + gpios = <&pioA 32 0>; +}; -- 2.7.4