aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/i2c/i2c-emev2.txt
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2019-08-06 22:19:32 +0200
committerWolfram Sang <wsa@the-dreams.de>2019-08-06 22:19:32 +0200
commite611ee0b3b06b4d28216567a251e4de46e595b5d (patch)
tree70258d5815636e65431e19807726897949c16736 /Documentation/devicetree/bindings/i2c/i2c-emev2.txt
parentf29b7f39c0acbc66f18309227719460adab6851d (diff)
downloadkernel_replicant_linux-e611ee0b3b06b4d28216567a251e4de46e595b5d.tar.gz
kernel_replicant_linux-e611ee0b3b06b4d28216567a251e4de46e595b5d.tar.bz2
kernel_replicant_linux-e611ee0b3b06b4d28216567a251e4de46e595b5d.zip
Revert "dt-bindings: i2c: riic: Rename bindings documentation file"
This reverts commit 684ca71259a69c5a3019da72fe718bf983841926. I overlooked that the Rev-by tag was given in advance assuming a fix was made for the next revision. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-emev2.txt')
-rw-r--r--Documentation/devicetree/bindings/i2c/i2c-emev2.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-emev2.txt b/Documentation/devicetree/bindings/i2c/i2c-emev2.txt
new file mode 100644
index 000000000000..5ed1ea1c7e14
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-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";
+ };