dt-bindings: usb: fusb302: Use usb-connector bindings for configuration
There are now generic usb-connector bindings which can be used to define a port controllers configuration for USB-PD, so device specific bindings are no longer necessary. This update deprecates 'fcs,operating-sink-microwatt', and references the 'usb-connector' bindings instead to achieve the required port config. Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
63f59b73e8
commit
c8c11ad1af
|
@ -5,10 +5,19 @@ Required properties :
|
||||||
- reg : I2C slave address
|
- reg : I2C slave address
|
||||||
- interrupts : Interrupt specifier
|
- interrupts : Interrupt specifier
|
||||||
|
|
||||||
Optional properties :
|
Required sub-node:
|
||||||
- fcs,operating-sink-microwatt :
|
- connector : The "usb-c-connector" attached to the FUSB302 IC. The bindings
|
||||||
Minimum amount of power accepted from a sink
|
of the connector node are specified in:
|
||||||
when negotiating
|
|
||||||
|
Documentation/devicetree/bindings/connector/usb-connector.txt
|
||||||
|
|
||||||
|
Deprecated properties :
|
||||||
|
- fcs,max-sink-microvolt : Maximum sink voltage accepted by port controller
|
||||||
|
- fcs,max-sink-microamp : Maximum sink current accepted by port controller
|
||||||
|
- fcs,max-sink-microwatt : Maximum sink power accepted by port controller
|
||||||
|
- fcs,operating-sink-microwatt : Minimum amount of power accepted from a sink
|
||||||
|
when negotiating
|
||||||
|
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -17,7 +26,16 @@ fusb302: typec-portc@54 {
|
||||||
reg = <0x54>;
|
reg = <0x54>;
|
||||||
interrupt-parent = <&nmi_intc>;
|
interrupt-parent = <&nmi_intc>;
|
||||||
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
|
||||||
fcs,max-sink-microvolt = <12000000>;
|
|
||||||
fcs,max-sink-microamp = <3000000>;
|
usb_con: connector {
|
||||||
fcs,max-sink-microwatt = <36000000>;
|
compatible = "usb-c-connector";
|
||||||
|
label = "USB-C";
|
||||||
|
power-role = "dual";
|
||||||
|
try-power-role = "sink";
|
||||||
|
source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>;
|
||||||
|
sink-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)
|
||||||
|
PDO_VAR(3000, 12000, 3000)
|
||||||
|
PDO_PPS_APDO(3000, 11000, 3000)>;
|
||||||
|
op-sink-microwatt = <10000000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue