diff mbox series

[1/2] i2c: Add DT bindings for Xscale I2C masters

Message ID 20190128222534.32213-1-linus.walleij@linaro.org
State Accepted
Headers show
Series [1/2] i2c: Add DT bindings for Xscale I2C masters | expand

Commit Message

Linus Walleij Jan. 28, 2019, 10:25 p.m. UTC
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

Comments

Wolfram Sang Feb. 5, 2019, 12:49 p.m. UTC | #1
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!
diff mbox series

Patch

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>;
+};