From: Stephen Boyd <swboyd@chromium.org>
To: Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Doug Anderson <dianders@chromium.org>,
Felipe Balbi <balbi@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Matthias Kaehlcke <mka@chromium.org>,
Rob Herring <robh+dt@kernel.org>,
Sandeep Maheswaram <sanm@codeaurora.org>
Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
Pratham Pratap <prathampratap@codeaurora.org>
Subject: Re: [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add USB related nodes
Date: Thu, 19 Aug 2021 23:44:32 -0700 [thread overview]
Message-ID: <CAE-0n53gsF-U4YwZyVyjXm2_Fw6zc-FObzx1ATC4X_KXSRsJVA@mail.gmail.com> (raw)
In-Reply-To: <ea2380bd-734d-a835-05f0-db9d3dbcfe38@codeaurora.org>
Quoting Sandeep Maheswaram (2021-08-19 22:34:14)
> On 8/18/2021 1:28 AM, Stephen Boyd wrote:
> > Quoting Sandeep Maheswaram (2021-07-06 06:00:12)
> >> Add nodes for DWC3 USB controller, QMP and HS USB PHYs in sc7280 SOC.
> >>
> >> Signed-off-by: Sandeep Maheswaram <sanm@codeaurora.org>
> >> Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
> >> ---
> >> Changed qmp usb phy to usb dp phy combo node as per Stephen's comments.
> >> Changed dwc to usb and added SC7280 compatible as per Bjorn's comments.
> >>
> >> arch/arm64/boot/dts/qcom/sc7280.dtsi | 164 +++++++++++++++++++++++++++++++++++
> >> 1 file changed, 164 insertions(+)
> >>
> >> diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
> >> index a8c274a..cd6908f 100644
> >> --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
> >> +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
> >> @@ -1035,6 +1035,125 @@
> >> };
> >> };
> >>
> > [...]
> >> +
> >> + usb_2: usb@8cf8800 {
> >> + compatible = "qcom,sc7280-dwc3", "qcom,dwc3";
> >> + reg = <0 0x08cf8800 0 0x400>;
> >> + status = "disabled";
> >> + #address-cells = <2>;
> >> + #size-cells = <2>;
> >> + ranges;
> >> + dma-ranges;
> >> +
> >> + clocks = <&gcc GCC_CFG_NOC_USB3_SEC_AXI_CLK>,
> >> + <&gcc GCC_USB30_SEC_MASTER_CLK>,
> >> + <&gcc GCC_AGGRE_USB3_SEC_AXI_CLK>,
> >> + <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
> >> + <&gcc GCC_USB30_SEC_SLEEP_CLK>;
> >> + clock-names = "cfg_noc", "core", "iface","mock_utmi",
> >> + "sleep";
> >> +
> >> + assigned-clocks = <&gcc GCC_USB30_SEC_MOCK_UTMI_CLK>,
> >> + <&gcc GCC_USB30_SEC_MASTER_CLK>;
> >> + assigned-clock-rates = <19200000>, <200000000>;
> >> +
> >> + interrupts-extended = <&intc GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>,
> >> + <&pdc 13 IRQ_TYPE_EDGE_RISING>,
> >> + <&pdc 12 IRQ_TYPE_EDGE_RISING>;
> > I'm seeing this cause a warning at boot
> >
> > [ 4.724756] irq: type mismatch, failed to map hwirq-12 for
> > interrupt-controller@b220000!
> > [ 4.733401] irq: type mismatch, failed to map hwirq-13 for
> > interrupt-controller@b220000!
> I should be using IRQ_TYPE_LEVEL_HIGH. Will correct in next version.
Ok. Please send a patch to fix it as this is already staged to be merged
in the next merge window.
next prev parent reply other threads:[~2021-08-20 6:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-06 13:00 [PATCH v5 0/3] Add DT bindings and DT nodes for USB in SC7280 Sandeep Maheswaram
2021-07-06 13:00 ` [PATCH v5 1/3] dt-bindings: phy: qcom,qmp-usb3-dp: Add support for SC7280 Sandeep Maheswaram
2021-07-09 0:35 ` Stephen Boyd
2021-07-12 16:05 ` Rob Herring
2021-07-06 13:00 ` [PATCH v5 2/3] arm64: dts: qcom: sc7280: Add USB related nodes Sandeep Maheswaram
2021-07-09 0:36 ` Stephen Boyd
2021-08-17 19:58 ` Stephen Boyd
2021-08-20 5:34 ` Sandeep Maheswaram
2021-08-20 6:44 ` Stephen Boyd [this message]
2021-07-06 13:00 ` [PATCH v5 3/3] arm64: dts: qcom: sc7280: Add USB nodes for IDP board Sandeep Maheswaram
2021-07-09 0:36 ` Stephen Boyd
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=CAE-0n53gsF-U4YwZyVyjXm2_Fw6zc-FObzx1ATC4X_KXSRsJVA@mail.gmail.com \
--to=swboyd@chromium.org \
--cc=agross@kernel.org \
--cc=balbi@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mka@chromium.org \
--cc=prathampratap@codeaurora.org \
--cc=robh+dt@kernel.org \
--cc=sanm@codeaurora.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).