arm64: dts: qcom: sm6115: Move USB node's 'maximum-speed' and 'dr_mode' properties to dts

Normally the 'maximum-speed' and 'dr_mode' properties
of a USB controller + port is dependent on the type of
the ports, regulators and mode change interrupt routing
available on the board(s).

So, move the same from the sm6115 dtsi file to respective
board file(s).

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230314083633.1882214-3-bhupesh.sharma@linaro.org
This commit is contained in:
Bhupesh Sharma
2023-03-14 14:06:33 +05:30
committed by Bjorn Andersson
parent 0ea0edc04a
commit 1f1e512288
3 changed files with 10 additions and 2 deletions

View File

@@ -229,6 +229,11 @@ &usb {
status = "okay";
};
&usb_dwc3 {
maximum-speed = "high-speed";
dr_mode = "peripheral";
};
&usb_hsphy {
vdd-supply = <&vreg_l4a>;
vdda-pll-supply = <&vreg_l12a>;

View File

@@ -1129,8 +1129,6 @@ usb_dwc3: usb@4e00000 {
snps,has-lpm-erratum;
snps,hird-threshold = /bits/ 8 <0x10>;
snps,usb3_lpm_capable;
maximum-speed = "high-speed";
dr_mode = "peripheral";
};
};

View File

@@ -277,6 +277,11 @@ &usb {
status = "okay";
};
&usb_dwc3 {
maximum-speed = "high-speed";
dr_mode = "peripheral";
};
&usb_hsphy {
vdd-supply = <&pm6125_l4>;
vdda-pll-supply = <&pm6125_l12>;