From: Heiko Schocher invitel <heiko.schocher@invitel.hu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 2/2] i2c: atmel: DT binding for i2c driver
Date: Wed, 29 Jun 2016 08:11:20 +0200 [thread overview]
Message-ID: <57736688.1040904@invitel.hu> (raw)
In-Reply-To: <1466400159-24233-3-git-send-email-songjun.wu@atmel.com>
Hello Songjun Wu,
Am 20.06.2016 um 07:22 schrieb Songjun Wu:
> DT binding documentation for atmel i2c driver.
>
> Signed-off-by: Songjun Wu <songjun.wu@atmel.com>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Add phandles to input clocks
>
> doc/device-tree-bindings/i2c/i2c-at91.txt | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
> create mode 100644 doc/device-tree-bindings/i2c/i2c-at91.txt
Thanks!
Reviewed-by: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
bye,
Heiko
>
> diff --git a/doc/device-tree-bindings/i2c/i2c-at91.txt b/doc/device-tree-bindings/i2c/i2c-at91.txt
> new file mode 100644
> index 0000000..2065b73
> --- /dev/null
> +++ b/doc/device-tree-bindings/i2c/i2c-at91.txt
> @@ -0,0 +1,26 @@
> +I2C for Atmel platforms
> +
> +Required properties :
> +- compatible : Must be "atmel,at91rm9200-i2c", "atmel,at91sam9261-i2c",
> + "atmel,at91sam9260-i2c", "atmel,at91sam9g20-i2c", "atmel,at91sam9g10-i2c",
> + "atmel,at91sam9x5-i2c", "atmel,sama5d4-i2c" or "atmel,sama5d2-i2c".
> +- reg: physical base address of the controller and length of memory mapped
> + region.
> +- #address-cells = <1>;
> +- #size-cells = <0>;
> +- clocks: phandles to input clocks.
> +
> +Optional properties:
> +- clock-frequency: Desired I2C bus frequency in Hz, default value is 100000.
> +- Child nodes conforming to i2c bus binding.
> +
> +Examples :
> +
> +i2c0: i2c at f8028000 {
> + compatible = "atmel,sama5d2-i2c";
> + reg = <0xf8028000 0x100>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + clocks = <&twi0_clk>;
> + clock-frequency = <100000>;
> +};
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
next prev parent reply other threads:[~2016-06-29 6:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-20 5:22 [U-Boot] [PATCH v3 0/2] i2c: atmel: add driver for Atmel i2c platform Songjun Wu
2016-06-20 5:22 ` [U-Boot] [PATCH v3 1/2] i2c: atmel: add i2c driver Songjun Wu
2016-06-29 6:10 ` Heiko Schocher invitel
2016-08-15 20:15 ` [U-Boot] [U-Boot,v3,1/2] " Andreas Bießmann
2016-06-20 5:22 ` [U-Boot] [PATCH v3 2/2] i2c: atmel: DT binding for " Songjun Wu
2016-06-29 6:11 ` Heiko Schocher invitel [this message]
2016-08-15 20:16 ` [U-Boot] [U-Boot,v3,2/2] " Andreas Bießmann
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=57736688.1040904@invitel.hu \
--to=heiko.schocher@invitel.hu \
--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