Re: [PATCH] ARM: dts: qcom: msm8974: drop unit addresses from USB phys

From: Konrad Dybcio
Date: Thu Apr 20 2023 - 06:45:30 EST




On 20.04.2023 08:53, Krzysztof Kozlowski wrote:
> The ulpi node does not allow children to have unit address:
>
> Warning (unit_address_vs_reg): /soc/usb@f9a55000/ulpi/phy@a: node has a unit name, but no reg or ranges property
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad
>
> Actual way of fixing it depends on bindings change, so apply only if
> bindings got Acked/Reviewed:
> https://lore.kernel.org/linux-devicetree/20230420065051.22994-1-krzysztof.kozlowski@xxxxxxxxxx/T/#u
> ---
> arch/arm/boot/dts/qcom-msm8974.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
> index 6310f635197f..939449a0c695 100644
> --- a/arch/arm/boot/dts/qcom-msm8974.dtsi
> +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
> @@ -676,7 +676,7 @@ usb: usb@f9a55000 {
> #reset-cells = <1>;
>
> ulpi {
> - usb_hs1_phy: phy@a {
> + usb_hs1_phy: phy-0 {
> compatible = "qcom,usb-hs-phy-msm8974",
> "qcom,usb-hs-phy";
> #phy-cells = <0>;
> @@ -687,7 +687,7 @@ usb_hs1_phy: phy@a {
> status = "disabled";
> };
>
> - usb_hs2_phy: phy@b {
> + usb_hs2_phy: phy-1 {
> compatible = "qcom,usb-hs-phy-msm8974",
> "qcom,usb-hs-phy";
> #phy-cells = <0>;