public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eugen Hristev <eugen.hristev@microchip.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 03/34] dt-bindings: W1: w1-gpio: added bindings for w1-gpio
Date: Tue, 18 Sep 2018 10:35:26 +0300	[thread overview]
Message-ID: <1537256157-18001-4-git-send-email-eugen.hristev@microchip.com> (raw)
In-Reply-To: <1537256157-18001-1-git-send-email-eugen.hristev@microchip.com>

Added bindings specification for bitbanged gpio driver for Dallas
one wire protocol

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 doc/device-tree-bindings/w1/w1-gpio.txt | 40 +++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 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..5a58244
--- /dev/null
+++ b/doc/device-tree-bindings/w1/w1-gpio.txt
@@ -0,0 +1,40 @@
+W1 gpio device binding - one wire protocol over bitbanged gpio
+=======================
+
+
+Child nodes are required in device tree. The driver will detect
+the devices serial number and then search in the child nodes in the device tree
+for the proper node and try to match it with the device.
+
+Also check doc/device-tree-bindings/w1-eeprom for possible child nodes drivers
+
+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>;
+};
+
+Example with child:
+
+onewire_tm: onewire {
+		compatible = "w1-gpio";
+		gpios = <&pioA 32 0>;
+
+		eeprom1: eeprom at 0 {
+			compatible = "maxim,ds24xxx";
+		}
+};
+
-- 
2.7.4

  parent reply	other threads:[~2018-09-18  7:35 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-18  7:35 [U-Boot] [PATCH v4 00/34] Add support for 1wire protocol and 1wire eeproms Eugen Hristev
2018-09-18  7:35 ` [U-Boot] [PATCH v4 01/34] w1: Add 1-Wire uclass Eugen Hristev
2018-09-29 15:44   ` [U-Boot] [U-Boot,v4,01/34] " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 02/34] w1: Add 1-Wire gpio driver Eugen Hristev
2018-09-29 15:44   ` [U-Boot] [U-Boot,v4,02/34] " Tom Rini
2018-09-18  7:35 ` Eugen Hristev [this message]
2018-09-29 15:44   ` [U-Boot] [U-Boot, v4, 03/34] dt-bindings: W1: w1-gpio: added bindings for w1-gpio Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 04/34] W1-EEPROM: Add an W1-EEPROM uclass for 1 wire EEPROMs Eugen Hristev
2018-09-29 15:44   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 05/34] w1: identify devices with w1-eeprom uclass Eugen Hristev
2018-09-29 15:44   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 06/34] W1-EEPROM: add support for Maxim DS24 eeprom families Eugen Hristev
2018-09-29 15:44   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 07/34] dt-bindings: w1-eeprom: ds24xxx: create bindings Eugen Hristev
2018-09-29 15:44   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 08/34] W1-EEPROM: add sandbox driver Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot,v4,08/34] " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 09/34] dt-bindings: w1-eeprom: eep_sandbox: create bindings Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 10/34] w1: add command for onewire protocol Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 11/34] pinctrl: sandbox: add gpio onewire w1 group Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 12/34] sandbox: DTS: w1: add node for one wire interface on GPIO Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 13/34] configs: sandbox: add onewire w1 and sandbox eeprom Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 14/34] configs: sama5d2_xplained: add onewire and eeprom drivers Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 15/34] configs: sama5d3_xplained: " Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 16/34] configs: sama5d27_som1_ek: " Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 17/34] configs: sama5d2_ptc_ek: " Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 18/34] configs: sama5d4_xplained: " Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 19/34] board: atmel: add support for pda detection Eugen Hristev
2018-09-29 15:45   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 20/34] board: sama5d2_xplained: add pda detect call at init time Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 21/34] board: sama5d3_xplained: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 22/34] board: sama5d27_som1_ek: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 23/34] board: sama5d2_ptc_ek: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 24/34] board: sama5d4_xplained: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 25/34] configs: sama5d2_xplained: add fdt overlay support Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 26/34] configs: sama5d3_xplained: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 27/34] configs: sama5d2_ptc_ek: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 28/34] configs: sama5d27_som1_ek: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 29/34] configs: sama5d4_xplained: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 30/34] ARM: dts: at91: sama5d2_xplained: add onewire connector for LCD eeprom Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 31/34] ARM: dts: at91: sama5d3_xplained: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 32/34] ARM: dts: at91: sama5d27_som1_ek: " Eugen Hristev
2018-09-29 15:46   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 33/34] ARM: dts: at91: sama5d2_ptc: " Eugen Hristev
2018-09-29 15:47   ` [U-Boot] [U-Boot, v4, " Tom Rini
2018-09-18  7:35 ` [U-Boot] [PATCH v4 34/34] ARM: dts: at91: sama5d4_xplained: " Eugen Hristev
2018-09-29 15:47   ` [U-Boot] [U-Boot, v4, " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537256157-18001-4-git-send-email-eugen.hristev@microchip.com \
    --to=eugen.hristev@microchip.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox