mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
arm64: dts: qcom: sm8250-xiaomi-elish: add usb pd negotiation support
Add usb pd negotiation, but charging is controlled by pm8150b pmic, so it can only charge battery with 5W, Signed-off-by: Jianhua Lu <lujianhua000@gmail.com> Link: https://lore.kernel.org/r/20240302131025.13741-1-lujianhua000@gmail.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
parent
81051f14a6
commit
91905d8368
|
|
@ -636,7 +636,8 @@ &pm8150b_typec {
|
|||
connector {
|
||||
compatible = "usb-c-connector";
|
||||
|
||||
power-role = "source";
|
||||
op-sink-microwatt = <10000000>;
|
||||
power-role = "dual";
|
||||
data-role = "dual";
|
||||
self-powered;
|
||||
|
||||
|
|
@ -645,6 +646,12 @@ PDO_FIXED_DUAL_ROLE |
|
|||
PDO_FIXED_USB_COMM |
|
||||
PDO_FIXED_DATA_SWAP)>;
|
||||
|
||||
sink-pdos = <PDO_FIXED(5000, 3000,
|
||||
PDO_FIXED_DUAL_ROLE |
|
||||
PDO_FIXED_USB_COMM |
|
||||
PDO_FIXED_DATA_SWAP)
|
||||
PDO_VAR(5000, 12000, 5000)>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user