[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b54f9190-78c9-5b6a-932c-ad2b7b4444f3@codeaurora.org>
Date: Fri, 10 Apr 2020 17:50:08 -0700
From: Wesley Cheng <wcheng@...eaurora.org>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: agross@...nel.org, mturquette@...libre.com, sboyd@...nel.org,
robh+dt@...nel.org, mark.rutland@....com,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
vinod.koul@...aro.org, Jack Pham <jackp@...eaurora.org>
Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: sm8150: Add USB and PHY device
nodes
On 4/7/2020 4:38 PM, Bjorn Andersson wrote:
> On Tue 07 Apr 15:24 PDT 2020, Wesley Cheng wrote:
>
>> From: Jack Pham <jackp@...eaurora.org>
>>
>> Add device nodes for the USB3 controller, QMP SS PHY and
>> SNPS HS PHY.
>>
>
> Thanks for the respin Wesley, and thanks for testing Vinod. Just spotted
> one little details below.
>
>> Signed-off-by: Jack Pham <jackp@...eaurora.org>
>> Signed-off-by: Wesley Cheng <wcheng@...eaurora.org>
>> Reviewed-by: Bjorn Andersson <bjorn.andersson@...aro.org>
>> Tested-by: Vinod Koul <vinod.koul@...aro.org>
>> ---
>
> Please make a habit of documenting what changed since the previous
> version here, below the ---.
>
>> arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 21 ++++++++
>> arch/arm64/boot/dts/qcom/sm8150.dtsi | 92 +++++++++++++++++++++++++++++++++
>> 2 files changed, 113 insertions(+)
> [..]
>> diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
> [..]
>> + usb_1_hsphy: phy@...2000 {
>> + compatible = "qcom,usb-snps-hs-7nm-phy",
>> + "qcom,sm8150-usb-hs-phy";
> [..]
>> + usb_1: usb@...8800 {
>> + compatible = "qcom,sdm845-dwc3", "qcom,dwc3";
>
> The first cell here should be qcom,sm8150-dwc3. The Linux driver will
> "fall through" and match on the less specific "qcom,dwc3", but if we in
> the future realize that we have sm8150 specific behavior/quirks we can
> make the driver match on the more specific one to implement this.
>
> And similarly the order of the compatibles in &usb_1_hsphy should be
> reversed as well.
>
> Regards,
> Bjorn
>
Hi Bjorn,
Thanks for the input. Will do that and re-submit v4.
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists