summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt
diff options
context:
space:
mode:
authorSimon Horman <horms+renesas@verge.net.au>2019-08-09 14:30:04 -0700
committerWolfram Sang <wsa@the-dreams.de>2019-08-14 15:03:23 +0200
commit747bee3574040246be18e2e9db709a7cb058b35b (patch)
treeb554b30668be4a31757f9aba06bcfb416b3490b9 /Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt
parent4e4521f76ff96f83561555f76c50d25314320d10 (diff)
dt-bindings: i2c: i2c-emev2: Rename bindings documentation file
Rename the bindings documentation file for Renesas EMEV2 IIC controller from i2c-emev2.txt to renesas,iic-emev2.txt. This is part of an ongoing effort to name bindings documentation files for Renesas IP blocks consistently, in line with the compat strings they document. Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt')
-rw-r--r--Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt b/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt
new file mode 100644
index 000000000000..5ed1ea1c7e14
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/renesas,iic-emev2.txt
@@ -0,0 +1,22 @@
+Device tree configuration for Renesas EMEV2 IIC controller
+
+Required properties:
+- compatible : "renesas,iic-emev2"
+- reg : address start and address range size of device
+- interrupts : specifier for the IIC controller interrupt
+- clocks : phandle to the IP core SCLK
+- clock-names : must be "sclk"
+- #address-cells : should be <1>
+- #size-cells : should be <0>
+
+Example:
+
+ iic0: i2c@e0070000 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "renesas,iic-emev2";
+ reg = <0xe0070000 0x28>;
+ interrupts = <0 32 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&iic0_sclk>;
+ clock-names = "sclk";
+ };