All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/2] i2c: Describe Cadence I2C devicetree bindings
@ 2016-04-11 12:55 Michal Simek
  2016-04-11 12:55 ` [U-Boot] [PATCH v2 2/2] dm: i2c: Add driver for Cadence I2C IP Michal Simek
  2016-04-13  5:44 ` [U-Boot] [PATCH v2 1/2] i2c: Describe Cadence I2C devicetree bindings Heiko Schocher
  0 siblings, 2 replies; 7+ messages in thread
From: Michal Simek @ 2016-04-11 12:55 UTC (permalink / raw)
  To: u-boot

From: Moritz Fischer <moritz.fischer@ettus.com>

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

Changes in v2: None

 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 000000000000..202e0b762666
--- /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 at e0004000 {
+		compatible = "cdns,i2c-r1p10";
+		reg = <0xe0004000 0x1000>;
+		clocks = <&clkc 38>;
+		interrupts = <0 25 4>;
+		interrupt-parent = <&intc>;
+		status = "disabled";
+	};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-13  6:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-11 12:55 [U-Boot] [PATCH v2 1/2] i2c: Describe Cadence I2C devicetree bindings Michal Simek
2016-04-11 12:55 ` [U-Boot] [PATCH v2 2/2] dm: i2c: Add driver for Cadence I2C IP Michal Simek
2016-04-13  5:44   ` Heiko Schocher
2016-04-13  6:01     ` Michal Simek
2016-04-13  6:12       ` Heiko Schocher
2016-04-13  6:24         ` Michal Simek
2016-04-13  5:44 ` [U-Boot] [PATCH v2 1/2] i2c: Describe Cadence I2C devicetree bindings Heiko Schocher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.