From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] ARM: dts: qcom: ipq4019: use generic node names for USB
Date: Mon, 19 Jun 2023 19:15:19 +0200 [thread overview]
Message-ID: <38d3d28f-fa64-8c7b-cfdc-36e3ab6dc475@linaro.org> (raw)
In-Reply-To: <20230619170151.65505-1-krzysztof.kozlowski@linaro.org>
On 19.06.2023 19:01, Krzysztof Kozlowski wrote:
> Device node names should be generic which is also expected by USB
> bindings:
>
> qcom-ipq4018-jalapeno.dtb: dwc3@6000000: $nodename:0: 'dwc3@6000000' does not match '^usb(@.*)?'
>
> Override also the DWC3 node in qcom-ipq4018-ap120c-ac.dtsi by
> label/phandle, not via node path, because it is less error-prone and
> makes the overriding node-name independent.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
> arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 7 ++++---
> arch/arm/boot/dts/qcom-ipq4019.dtsi | 14 +++++++-------
> 2 files changed, 11 insertions(+), 10 deletions(-)
>
> diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
> index d90b4f4c63af..da67d55fa557 100644
> --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
> @@ -262,10 +262,11 @@ &usb3_hs_phy {
> &usb3 {
> status = "okay";
>
> - dwc3@8a00000 {
> - phys = <&usb3_hs_phy>;
> - phy-names = "usb2-phy";
> };
> +
> +&usb3_dwc {
> + phys = <&usb3_hs_phy>;
> + phy-names = "usb2-phy";
> };
>
> &usb2_hs_phy {
> diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> index f0ef86fadc9d..13388e5c1b4b 100644
> --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
> @@ -621,7 +621,7 @@ ethphy4: ethernet-phy@4 {
> };
> };
>
> - usb3_ss_phy: ssphy@9a000 {
> + usb3_ss_phy: usb-phy@9a000 {
> compatible = "qcom,usb-ss-ipq4019-phy";
> #phy-cells = <0>;
> reg = <0x9a000 0x800>;
> @@ -631,7 +631,7 @@ usb3_ss_phy: ssphy@9a000 {
> status = "disabled";
> };
>
> - usb3_hs_phy: hsphy@a6000 {
> + usb3_hs_phy: usb-phy@a6000 {
> compatible = "qcom,usb-hs-ipq4019-phy";
> #phy-cells = <0>;
> reg = <0xa6000 0x40>;
> @@ -641,7 +641,7 @@ usb3_hs_phy: hsphy@a6000 {
> status = "disabled";
> };
>
> - usb3: usb3@8af8800 {
> + usb3: usb@8af8800 {
> compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
> reg = <0x8af8800 0x100>;
> #address-cells = <1>;
> @@ -653,7 +653,7 @@ usb3: usb3@8af8800 {
> ranges;
> status = "disabled";
>
> - dwc3@8a00000 {
> + usb3_dwc: usb@8a00000 {
> compatible = "snps,dwc3";
> reg = <0x8a00000 0xf8000>;
> interrupts = <GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>;
> @@ -663,7 +663,7 @@ dwc3@8a00000 {
> };
> };
>
> - usb2_hs_phy: hsphy@a8000 {
> + usb2_hs_phy: usb-phy@a8000 {
> compatible = "qcom,usb-hs-ipq4019-phy";
> #phy-cells = <0>;
> reg = <0xa8000 0x40>;
> @@ -673,7 +673,7 @@ usb2_hs_phy: hsphy@a8000 {
> status = "disabled";
> };
>
> - usb2: usb2@60f8800 {
> + usb2: usb@60f8800 {
> compatible = "qcom,ipq4019-dwc3", "qcom,dwc3";
> reg = <0x60f8800 0x100>;
> #address-cells = <1>;
> @@ -685,7 +685,7 @@ usb2: usb2@60f8800 {
> ranges;
> status = "disabled";
>
> - dwc3@6000000 {
> + usb@6000000 {
> compatible = "snps,dwc3";
> reg = <0x6000000 0xf8000>;
> interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
next prev parent reply other threads:[~2023-06-19 17:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 17:01 [PATCH 1/4] ARM: dts: qcom: ipq4019: use generic node names for USB Krzysztof Kozlowski
2023-06-19 17:01 ` [PATCH 2/4] ARM: dts: qcom: sdx55: " Krzysztof Kozlowski
2023-06-19 17:15 ` Konrad Dybcio
2023-06-19 17:01 ` [PATCH 3/4] ARM: dts: qcom: ipq8064: drop spi-max-frequency from controller Krzysztof Kozlowski
2023-06-19 17:16 ` Konrad Dybcio
2023-06-19 17:01 ` [PATCH 4/4] ARM: dts: qcom: msm8960: " Krzysztof Kozlowski
2023-06-19 17:16 ` Konrad Dybcio
2023-06-19 17:15 ` Konrad Dybcio [this message]
2023-07-10 5:07 ` (subset) [PATCH 1/4] ARM: dts: qcom: ipq4019: use generic node names for USB Bjorn Andersson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=38d3d28f-fa64-8c7b-cfdc-36e3ab6dc475@linaro.org \
--to=konrad.dybcio@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).