From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1097DC433EF for ; Wed, 4 May 2022 16:19:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353326AbiEDQXI (ORCPT ); Wed, 4 May 2022 12:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353283AbiEDQXH (ORCPT ); Wed, 4 May 2022 12:23:07 -0400 Received: from m-r2.th.seeweb.it (m-r2.th.seeweb.it [IPv6:2001:4b7a:2000:18::171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A480646B10 for ; Wed, 4 May 2022 09:19:30 -0700 (PDT) Received: from [10.1.250.9] (riviera.nat.ds.pw.edu.pl [194.29.137.1]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id 9B8B33F7E2; Wed, 4 May 2022 18:19:28 +0200 (CEST) Message-ID: <0509ed44-903d-8167-bba2-ea176984d5ad@somainline.org> Date: Wed, 4 May 2022 18:19:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH v1 3/5] arm64: dts: qcom: sdm630: fix the qusb2phy ref clock To: Dmitry Baryshkov , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org References: <20220503220927.960821-1-dmitry.baryshkov@linaro.org> <20220503220927.960821-4-dmitry.baryshkov@linaro.org> From: Konrad Dybcio In-Reply-To: <20220503220927.960821-4-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 04/05/2022 00:09, Dmitry Baryshkov wrote: > According to the downstram DT file, the qusb2phy ref clock should be > GCC_RX0_USB2_CLKREF_CLK, not GCC_RX1_USB2_CLKREF_CLK. > > Fixes: c65a4ed2ea8b ("arm64: dts: qcom: sdm630: Add USB configuration") > Cc: Konrad Dybcio > Signed-off-by: Dmitry Baryshkov > --- So it always worked by miracle, as bootloader left it on. Nice catch. Reviewed-by: Konrad Dybcio > arch/arm64/boot/dts/qcom/sdm630.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi > index 45eaaa6a4a74..d8c3d2569340 100644 > --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi > @@ -1262,7 +1262,7 @@ qusb2phy: phy@c012000 { > #phy-cells = <0>; > > clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>, > - <&gcc GCC_RX1_USB2_CLKREF_CLK>; > + <&gcc GCC_RX0_USB2_CLKREF_CLK>; > clock-names = "cfg_ahb", "ref"; > > resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; >