Re: [U-Boot] [RFC 1/2] i2c: Describe Cadence I2C devicetree bindings

2016-01-03 Thread Heiko Schocher

Hello Moritz,

Am 28.12.2015 um 18:47 schrieb Moritz Fischer:

Signed-off-by: Moritz Fischer 
---
  doc/device-tree-bindings/i2c/i2c-cdns.txt | 20 
  1 file changed, 20 insertions(+)
  create mode 100644 doc/device-tree-bindings/i2c/i2c-cdns.txt


Looks good to me:
Acked-by: Heiko Schocher 

bye,
Heiko


diff --git a/doc/device-tree-bindings/i2c/i2c-cdns.txt 
b/doc/device-tree-bindings/i2c/i2c-cdns.txt
new file mode 100644
index 000..202e0b7
--- /dev/null
+++ b/doc/device-tree-bindings/i2c/i2c-cdns.txt
@@ -0,0 +1,20 @@
+Cadence I2C controller Device Tree Bindings
+---
+
+Required properties:
+- compatible   : Should be "cdns,i2c-r1p10" or "xlnx,zynq-spi-r1p10".
+- reg  : Physical base address and size of I2C registers map.
+- interrupts   : Property with a value describing the interrupt
+ number.
+- interrupt-parent : Must be core interrupt controller
+- clocks   : Clock phandles (see clock bindings for details).
+
+Example:
+   i2c0: i2c@e0004000 {
+   compatible = "cdns,i2c-r1p10";
+   reg = <0xe0004000 0x1000>;
+   clocks = < 38>;
+   interrupts = <0 25 4>;
+   interrupt-parent = <>;
+   status = "disabled";
+   };



--
DENX Software Engineering GmbH,  Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [RFC 1/2] i2c: Describe Cadence I2C devicetree bindings

2015-12-28 Thread Moritz Fischer
Signed-off-by: Moritz Fischer 
---
 doc/device-tree-bindings/i2c/i2c-cdns.txt | 20 
 1 file changed, 20 insertions(+)
 create mode 100644 doc/device-tree-bindings/i2c/i2c-cdns.txt

diff --git a/doc/device-tree-bindings/i2c/i2c-cdns.txt 
b/doc/device-tree-bindings/i2c/i2c-cdns.txt
new file mode 100644
index 000..202e0b7
--- /dev/null
+++ b/doc/device-tree-bindings/i2c/i2c-cdns.txt
@@ -0,0 +1,20 @@
+Cadence I2C controller Device Tree Bindings
+---
+
+Required properties:
+- compatible   : Should be "cdns,i2c-r1p10" or "xlnx,zynq-spi-r1p10".
+- reg  : Physical base address and size of I2C registers map.
+- interrupts   : Property with a value describing the interrupt
+ number.
+- interrupt-parent : Must be core interrupt controller
+- clocks   : Clock phandles (see clock bindings for details).
+
+Example:
+   i2c0: i2c@e0004000 {
+   compatible = "cdns,i2c-r1p10";
+   reg = <0xe0004000 0x1000>;
+   clocks = < 38>;
+   interrupts = <0 25 4>;
+   interrupt-parent = <>;
+   status = "disabled";
+   };
-- 
2.4.3

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot