dt-bindings: usb: rt1711h: Add connector bindings
Add connector binding documentation for Richtek RT1711H Type-C chip driver It was noted by Rob Herring that the rt1711h binding docs doesn't include the connector binding. Thus this patch adds such documentation following the details in Documentation/devicetree/bindings/usb/typec-tcpci.txt Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> CC: ShuFan Lee <shufan_lee@richtek.com> Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Cc: Chunfeng Yun <chunfeng.yun@mediatek.com> Cc: Yu Chen <chenyu56@huawei.com> Cc: Felipe Balbi <balbi@kernel.org> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Andy Shevchenko <andy.shevchenko@gmail.com> Cc: Jun Li <lijun.kernel@gmail.com> Cc: Valentin Schneider <valentin.schneider@arm.com> Cc: linux-usb@vger.kernel.org Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Link: https://lore.kernel.org/r/20191108005657.31464-1-john.stultz@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ec5f8dfd89
commit
c368a411be
@ -6,10 +6,39 @@ Required properties:
|
|||||||
- interrupts : <a b> where a is the interrupt number and b represents an
|
- interrupts : <a b> where a is the interrupt number and b represents an
|
||||||
encoding of the sense and level information for the interrupt.
|
encoding of the sense and level information for the interrupt.
|
||||||
|
|
||||||
|
Required sub-node:
|
||||||
|
- connector: The "usb-c-connector" attached to the tcpci chip, the bindings
|
||||||
|
of connector node are specified in
|
||||||
|
Documentation/devicetree/bindings/connector/usb-connector.txt
|
||||||
|
|
||||||
Example :
|
Example :
|
||||||
rt1711h@4e {
|
rt1711h@4e {
|
||||||
compatible = "richtek,rt1711h";
|
compatible = "richtek,rt1711h";
|
||||||
reg = <0x4e>;
|
reg = <0x4e>;
|
||||||
interrupt-parent = <&gpio26>;
|
interrupt-parent = <&gpio26>;
|
||||||
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
||||||
|
|
||||||
|
usb_con: connector {
|
||||||
|
compatible = "usb-c-connector";
|
||||||
|
label = "USB-C";
|
||||||
|
data-role = "dual";
|
||||||
|
power-role = "dual";
|
||||||
|
try-power-role = "sink";
|
||||||
|
source-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)>;
|
||||||
|
sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM)
|
||||||
|
PDO_VAR(5000, 12000, 2000)>;
|
||||||
|
op-sink-microwatt = <10000000>;
|
||||||
|
|
||||||
|
ports {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
usb_con_ss: endpoint {
|
||||||
|
remote-endpoint = <&usb3_data_ss>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user