devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] i2c: Add DT bindings for Xscale I2C masters
@ 2019-01-28 22:25 Linus Walleij
  2019-02-05 12:49 ` Wolfram Sang
  0 siblings, 1 reply; 2+ messages in thread
From: Linus Walleij @ 2019-01-28 22:25 UTC (permalink / raw)
  To: Wolfram Sang, linux-i2c; +Cc: Linus Walleij, devicetree

This adds a device tree binding for Intel XScale I2C
masters. We define compatible strings for the iop3xx and
ixp4xx chip families.

Cc: devicetree@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 .../devicetree/bindings/i2c/i2c-xscale.txt    | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-xscale.txt

diff --git a/Documentation/devicetree/bindings/i2c/i2c-xscale.txt b/Documentation/devicetree/bindings/i2c/i2c-xscale.txt
new file mode 100644
index 000000000000..dcc8390e0d24
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-xscale.txt
@@ -0,0 +1,20 @@
+i2c Controller on XScale platforms such as IOP3xx and IXP4xx
+
+Required properties:
+- compatible : Must be one of
+  "intel,iop3xx-i2c"
+  "intel,ixp4xx-i2c";
+- reg
+- #address-cells = <1>;
+- #size-cells = <0>;
+
+Optional properties:
+- Child nodes conforming to i2c bus binding
+
+Example:
+
+i2c@c8011000 {
+	compatible = "intel,ixp4xx-i2c";
+	reg = <0xc8011000 0x18>;
+	interrupts = <33 IRQ_TYPE_LEVEL_LOW>;
+};
-- 
2.20.1

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

* Re: [PATCH 1/2] i2c: Add DT bindings for Xscale I2C masters
  2019-01-28 22:25 [PATCH 1/2] i2c: Add DT bindings for Xscale I2C masters Linus Walleij
@ 2019-02-05 12:49 ` Wolfram Sang
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfram Sang @ 2019-02-05 12:49 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-i2c, devicetree

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

On Mon, Jan 28, 2019 at 11:25:33PM +0100, Linus Walleij wrote:
> This adds a device tree binding for Intel XScale I2C
> masters. We define compatible strings for the iop3xx and
> ixp4xx chip families.
> 
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Applied to for-next, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2019-02-05 12:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28 22:25 [PATCH 1/2] i2c: Add DT bindings for Xscale I2C masters Linus Walleij
2019-02-05 12:49 ` Wolfram Sang

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).