[PATCH v2 07/11] arm64: dts: qcom: sm6350: switch UFS QMP PHY to new style of bindings

Konrad Dybcio konrad.dybcio at linaro.org
Mon May 22 10:00:58 PDT 2023



On 21.05.2023 22:38, Dmitry Baryshkov wrote:
> Change the UFS QMP PHY to use newer style of QMP PHY bindings (single
> resource region, no per-PHY subnodes).
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov at linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio at linaro.org>

Konrad
>  arch/arm64/boot/dts/qcom/sm6350.dtsi | 18 ++++--------------
>  1 file changed, 4 insertions(+), 14 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi
> index 18c4616848ce..a816bb212174 100644
> --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi
> @@ -943,7 +943,7 @@ ufs_mem_hc: ufs at 1d84000 {
>  			      <0 0x01d90000 0 0x8000>;
>  			reg-names = "std", "ice";
>  			interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>;
> -			phys = <&ufs_mem_phy_lanes>;
> +			phys = <&ufs_mem_phy>;
>  			phy-names = "ufsphy";
>  			lanes-per-direction = <2>;
>  			#reset-cells = <1>;
> @@ -988,10 +988,7 @@ ufs_mem_hc: ufs at 1d84000 {
>  
>  		ufs_mem_phy: phy at 1d87000 {
>  			compatible = "qcom,sm6350-qmp-ufs-phy";
> -			reg = <0 0x01d87000 0 0x18c>;
> -			#address-cells = <2>;
> -			#size-cells = <2>;
> -			ranges;
> +			reg = <0 0x01d87000 0 0x1000>;
>  
>  			clock-names = "ref",
>  				      "ref_aux";
> @@ -1001,16 +998,9 @@ ufs_mem_phy: phy at 1d87000 {
>  			resets = <&ufs_mem_hc 0>;
>  			reset-names = "ufsphy";
>  
> -			status = "disabled";
> +			#phy-cells = <0>;
>  
> -			ufs_mem_phy_lanes: phy at 1d87400 {
> -				reg = <0 0x01d87400 0 0x128>,
> -				      <0 0x01d87600 0 0x1fc>,
> -				      <0 0x01d87c00 0 0x1dc>,
> -				      <0 0x01d87800 0 0x128>,
> -				      <0 0x01d87a00 0 0x1fc>;
> -				#phy-cells = <0>;
> -			};
> +			status = "disabled";
>  		};
>  
>  		ipa: ipa at 1e40000 {



More information about the linux-phy mailing list