[PATCH v3 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller

2018-06-30 Thread Manivannan Sadhasivam
Add devicetree binding for Actions Semiconductor Owl I2C controller

Signed-off-by: Manivannan Sadhasivam 
---
 .../devicetree/bindings/i2c/i2c-owl.txt   | 27 +++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-owl.txt

diff --git a/Documentation/devicetree/bindings/i2c/i2c-owl.txt 
b/Documentation/devicetree/bindings/i2c/i2c-owl.txt
new file mode 100644
index ..b743fe444e9f
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-owl.txt
@@ -0,0 +1,27 @@
+Actions Semiconductor Owl I2C controller
+
+Required properties:
+
+- compatible: Should be "actions,s900-i2c".
+- reg   : Offset and length of the register set for the device.
+- #address-cells: Should be 1.
+- #size-cells   : Should be 0.
+- interrupts: A single interrupt specifier.
+- clocks: Phandle of the clock feeding the I2C controller.
+
+Optional properties:
+
+- clock-frequency   : Desired I2C bus clock frequency in Hz. As only Normal and
+  Fast modes are supported, possible values are 10 and
+  40.
+Examples:
+
+i2c0: i2c@e017 {
+compatible = "actions,s900-i2c";
+reg = <0 0xe017 0 0x1000>;
+#address-cells = <1>;
+#size-cells = <0>;
+interrupts = ;
+clocks = < CLK_I2C0>;
+clock-frequency = <10>;
+};
-- 
2.17.1



[PATCH v3 1/6] dt-bindings: i2c: Add binding for Actions Semiconductor Owl I2C controller

2018-06-30 Thread Manivannan Sadhasivam
Add devicetree binding for Actions Semiconductor Owl I2C controller

Signed-off-by: Manivannan Sadhasivam 
---
 .../devicetree/bindings/i2c/i2c-owl.txt   | 27 +++
 1 file changed, 27 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-owl.txt

diff --git a/Documentation/devicetree/bindings/i2c/i2c-owl.txt 
b/Documentation/devicetree/bindings/i2c/i2c-owl.txt
new file mode 100644
index ..b743fe444e9f
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-owl.txt
@@ -0,0 +1,27 @@
+Actions Semiconductor Owl I2C controller
+
+Required properties:
+
+- compatible: Should be "actions,s900-i2c".
+- reg   : Offset and length of the register set for the device.
+- #address-cells: Should be 1.
+- #size-cells   : Should be 0.
+- interrupts: A single interrupt specifier.
+- clocks: Phandle of the clock feeding the I2C controller.
+
+Optional properties:
+
+- clock-frequency   : Desired I2C bus clock frequency in Hz. As only Normal and
+  Fast modes are supported, possible values are 10 and
+  40.
+Examples:
+
+i2c0: i2c@e017 {
+compatible = "actions,s900-i2c";
+reg = <0 0xe017 0 0x1000>;
+#address-cells = <1>;
+#size-cells = <0>;
+interrupts = ;
+clocks = < CLK_I2C0>;
+clock-frequency = <10>;
+};
-- 
2.17.1