dt-bindings: usb: rt1711h device tree binding document
authorShuFan Lee <shufan_lee@richtek.com>
Mon, 9 Apr 2018 02:11:35 +0000 (10:11 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 14:08:25 +0000 (16:08 +0200)
Add device tree binding document for Richtek RT1711H Type-C chip driver

Signed-off-by: ShuFan Lee <shufan_lee@richtek.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/richtek,rt1711h.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt b/Documentation/devicetree/bindings/usb/richtek,rt1711h.txt
new file mode 100644 (file)
index 0000000..09e847e
--- /dev/null
@@ -0,0 +1,17 @@
+Richtek RT1711H TypeC PD Controller.
+
+Required properties:
+ - compatible : Must be "richtek,rt1711h".
+ - reg : Must be 0x4e, it's slave address of RT1711H.
+ - interrupt-parent : the phandle for the interrupt controller that
+   provides interrupts for this device.
+ - interrupts : <a b> where a is the interrupt number and b represents an
+   encoding of the sense and level information for the interrupt.
+
+Example :
+rt1711h@4e {
+       compatible = "richtek,rt1711h";
+       reg = <0x4e>;
+       interrupt-parent = <&gpio26>;
+       interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
+};