Commit 5b1b6da9 authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Bjorn Andersson

arm64: dts: qcom: qrb5165-rb5: Switch on basic TCPM

Switch on TCPM for the RB5. Here we declare as a source only not a sink
since qrb5165 doesn't support powering exclusively from the type-c port.
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230816115151.501736-6-bryan.odonoghue@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent c627d733
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <dt-bindings/regulator/qcom,rpmh-regulator.h> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include <dt-bindings/sound/qcom,q6afe.h> #include <dt-bindings/sound/qcom,q6afe.h>
#include <dt-bindings/sound/qcom,q6asm.h> #include <dt-bindings/sound/qcom,q6asm.h>
#include <dt-bindings/usb/pd.h>
#include "sm8250.dtsi" #include "sm8250.dtsi"
#include "pm8150.dtsi" #include "pm8150.dtsi"
#include "pm8150b.dtsi" #include "pm8150b.dtsi"
...@@ -1345,3 +1346,22 @@ &pm8150b_vbus { ...@@ -1345,3 +1346,22 @@ &pm8150b_vbus {
regulator-max-microamp = <3000000>; regulator-max-microamp = <3000000>;
status = "okay"; status = "okay";
}; };
&pm8150b_typec {
status = "okay";
vdd-pdphy-supply = <&vreg_l2a_3p1>;
connector {
compatible = "usb-c-connector";
power-role = "source";
data-role = "dual";
self-powered;
source-pdos = <PDO_FIXED(5000, 3000,
PDO_FIXED_DUAL_ROLE |
PDO_FIXED_USB_COMM |
PDO_FIXED_DATA_SWAP)>;
};
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment