linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch V5 1/2] i2c: imx: add devicetree binding for lpi2c
@ 2016-11-17  8:17 Gao Pan
  2016-11-17  8:17 ` [Patch V5 2/2] i2c: imx: add low power i2c bus driver Gao Pan
  0 siblings, 1 reply; 4+ messages in thread
From: Gao Pan @ 2016-11-17  8:17 UTC (permalink / raw)
  To: wsa, u.kleine-koenig, cmo, robh, vz
  Cc: linux-i2c, pandy.gao, frank.li, fugang.duan

Add a binding document for lpi2c driver

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
---
 .../devicetree/bindings/i2c/i2c-imx-lpi2c.txt        | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt
new file mode 100644
index 0000000..70c054a
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt
@@ -0,0 +1,20 @@
+* Freescale Low Power Inter IC (LPI2C) for i.MX
+
+Required properties:
+- compatible :
+  - "fsl,imx7ulp-lpi2c" for LPI2C compatible with the one integrated on i.MX7ULP soc
+  - "fsl,imx8dv-lpi2c" for LPI2C compatible with the one integrated on i.MX8DV soc
+- reg : address and length of the lpi2c master registers
+- interrupt-parent : core interrupt controller
+- interrupts : lpi2c interrupt
+- clocks : lpi2c clock specifier
+
+Examples:
+
+lpi2c7: lpi2c7@40A50000 {
+	compatible = "fsl,imx8dv-lpi2c";
+	reg = <0x40A50000 0x10000>;
+	interrupt-parent = <&intc>;
+	interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&clks IMX7ULP_CLK_LPI2C7>;
+};
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [Patch V5 1/2] i2c: imx: add devicetree binding for lpi2c
@ 2016-11-21  7:51 Gao Pan
  0 siblings, 0 replies; 4+ messages in thread
From: Gao Pan @ 2016-11-21  7:51 UTC (permalink / raw)
  To: wsa, u.kleine-koenig, cmo, robh, vz, wsa-dev
  Cc: linux-i2c, pandy.gao, frank.li, fugang.duan

Add a binding document for lpi2c driver

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
---
 .../devicetree/bindings/i2c/i2c-imx-lpi2c.txt        | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt
new file mode 100644
index 0000000..70c054a
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.txt
@@ -0,0 +1,20 @@
+* Freescale Low Power Inter IC (LPI2C) for i.MX
+
+Required properties:
+- compatible :
+  - "fsl,imx7ulp-lpi2c" for LPI2C compatible with the one integrated on i.MX7ULP soc
+  - "fsl,imx8dv-lpi2c" for LPI2C compatible with the one integrated on i.MX8DV soc
+- reg : address and length of the lpi2c master registers
+- interrupt-parent : core interrupt controller
+- interrupts : lpi2c interrupt
+- clocks : lpi2c clock specifier
+
+Examples:
+
+lpi2c7: lpi2c7@40A50000 {
+	compatible = "fsl,imx8dv-lpi2c";
+	reg = <0x40A50000 0x10000>;
+	interrupt-parent = <&intc>;
+	interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
+	clocks = <&clks IMX7ULP_CLK_LPI2C7>;
+};
-- 
1.9.1

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

end of thread, other threads:[~2016-11-21 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-17  8:17 [Patch V5 1/2] i2c: imx: add devicetree binding for lpi2c Gao Pan
2016-11-17  8:17 ` [Patch V5 2/2] i2c: imx: add low power i2c bus driver Gao Pan
2016-11-17 22:36   ` Vladimir Zapolskiy
  -- strict thread matches above, loose matches on Subject: below --
2016-11-21  7:51 [Patch V5 1/2] i2c: imx: add devicetree binding for lpi2c Gao Pan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).