From mboxrd@z Thu Jan 1 00:00:00 1970 From: dianders@chromium.org (Doug Anderson) Date: Thu, 12 Jul 2018 09:56:02 -0700 Subject: [PATCH 1/3] arm64: dts: qcom: sdm845: Add USB-related nodes In-Reply-To: <20180710220202.116404-2-dianders@chromium.org> References: <20180710220202.116404-1-dianders@chromium.org> <20180710220202.116404-2-dianders@chromium.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, On Tue, Jul 10, 2018 at 3:02 PM, Douglas Anderson wrote: > From: Manu Gautam > > This adds nodes for USB and related PHYs. > > Signed-off-by: Manu Gautam > [dianders: reworked quite a bit] > Signed-off-by: Douglas Anderson > --- > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 189 +++++++++++++++++++++++++++ > 1 file changed, 189 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index 15188d34a2ab..1de59a39f4fa 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -8,6 +8,7 @@ > #include > #include > #include > +#include > #include > > / { > @@ -249,6 +250,18 @@ > #power-domain-cells = <1>; > }; > > + qfprom at 780000 { > + compatible = "qcom,qfprom"; > + reg = <0x780000 0x8ff>; I have later found that this should point to the "corrected" address range, not the raw one. Thus address should be 0x784000. ...still trying to get more details on the exact right length. > + #address-cells = <1>; > + #size-cells = <1>; > + > + qusb2p_hstx_trim: hstx-trim at 1eb { > + reg = <0x1eb 0x1>; > + bits = <1 4>; > + }; I've now found out the trim location for the secondary port. Thus on my next revision I'll add: qusb2s_hstx_trim: hstx-trim-secondary at 1eb { reg = <0x1eb 0x2>; bits = <6 4>; }; Since this series isn't really ready for merging yet (see the cover letter), I'll sit on these changes for now but I'll include them in the next spin. -Doug