Message ID | 20221206231729.164453-3-mailingradian@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | cb98187a6883c498b0702cedc1f59247e7857bea |
Headers | show |
Series | [1/3] dt-bindings: nvmem: qfprom: add sdm670 compatible | expand |
On 07/12/2022 00:17, Richard Acayan wrote: > This nvmem cell is present on SDM670 as well as SDM845. Add it in SDM670 > so there is proper tuning. > > Signed-off-by: Richard Acayan <mailingradian@gmail.com> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > Changes since v1: > - remove "primary" indicator (SDM670 only has one USB controller) > > arch/arm64/boot/dts/qcom/sdm670.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi > index c78156e03d93..fcea26ba7fe9 100644 > --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi > @@ -736,6 +736,11 @@ qfprom: qfprom@784000 { > reg = <0 0x00784000 0 0x1000>; > #address-cells = <1>; > #size-cells = <1>; > + > + qusb2_hstx_trim: hstx-trim@1eb { > + reg = <0x1eb 0x1>; > + bits = <1 4>; > + }; > }; > > sdhc_1: mmc@7c4000 { > @@ -1418,6 +1423,8 @@ usb_1_hsphy: phy@88e2000 { > > resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; > > + nvmem-cells = <&qusb2_hstx_trim>; > + > status = "disabled"; > }; >
diff --git a/arch/arm64/boot/dts/qcom/sdm670.dtsi b/arch/arm64/boot/dts/qcom/sdm670.dtsi index c78156e03d93..fcea26ba7fe9 100644 --- a/arch/arm64/boot/dts/qcom/sdm670.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm670.dtsi @@ -736,6 +736,11 @@ qfprom: qfprom@784000 { reg = <0 0x00784000 0 0x1000>; #address-cells = <1>; #size-cells = <1>; + + qusb2_hstx_trim: hstx-trim@1eb { + reg = <0x1eb 0x1>; + bits = <1 4>; + }; }; sdhc_1: mmc@7c4000 { @@ -1418,6 +1423,8 @@ usb_1_hsphy: phy@88e2000 { resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; + nvmem-cells = <&qusb2_hstx_trim>; + status = "disabled"; };
This nvmem cell is present on SDM670 as well as SDM845. Add it in SDM670 so there is proper tuning. Signed-off-by: Richard Acayan <mailingradian@gmail.com> --- Changes since v1: - remove "primary" indicator (SDM670 only has one USB controller) arch/arm64/boot/dts/qcom/sdm670.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)