Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3080830rwb; Mon, 15 Aug 2022 17:39:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR4rvFDLsAKYsexd4KIjbwnUdDbs1kQWKdl9plRKERu+qRYA/yeORKH8OEE9mCvMxQm2nR/Z X-Received: by 2002:a17:907:1c8a:b0:6e9:2a0d:d7b7 with SMTP id nb10-20020a1709071c8a00b006e92a0dd7b7mr11351884ejc.572.1660610349913; Mon, 15 Aug 2022 17:39:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660610349; cv=none; d=google.com; s=arc-20160816; b=m/SLMF4UvTke/92xkB03alNmEMiMvGH/8Q+nWl5KeAm0OA9qWIvihQvJRT35niV7t/ iuEOMuQenljGQTk/xiyTHkYVTRWzF2SWH3wcx6YneTecTPwNGofIn9qc9HhNMzPbkP7b nfrHpSZsE930q8oelUwdHyD4Lg9WTLxupAP2LCvRVmHDI3Q87L5TV9SXOUWpO2sJsaTR kkoEfvPQGAkr0oh6Xrc8/IHWPwO5IRZxcgRQkP+dtFMUL85krhqdlKkzhLIORMdXIbgA o9CUpwpmTBHuuAPv6B+9VU06pOcdD5gQOYS4rX+Fd/QZJOB1Yq6i/xBtevP7vO8c2iAO +UZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=VDYQI38bJPLUYWkD/YoNj0oNPvjt3MU3p+U3tSDZgKc=; b=AfngJ/yHL45X14MZe8bSyFfjPAsqsBHLpcDnjGpdLuxlnrh9/HQZnfurslhXhL+B8I YiWVVBv+n9Zh5HU2VYFDlRietd8NffVeMf5FgkNWH4i0A0wY1BxNxFd0C4t7tUY8pXKF g2MR7F1h74A1Rqns77fAcWeWOqCUrptmpEdJo1vwA8k2HQxD8m7wbBjccdVJaKhD+lKf ZsS17brduGTSAkvD4SSwF7f5UDEWKhUrK1kEvvjxCVomsv1zt2/xWH3BYaMjEIIbsy0R YZ143nYZG00CqpkVHzNze1QT0DEvsw6/FQsVLTBA3QBdW5KV5fuY7TyW2ZP7Ithg7j+8 l0Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XE4YExgQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa42-20020a17090786aa00b00734be0ce0e5si9275744ejc.311.2022.08.15.17.38.44; Mon, 15 Aug 2022 17:39:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XE4YExgQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243864AbiHOW71 (ORCPT + 99 others); Mon, 15 Aug 2022 18:59:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352288AbiHOW5S (ORCPT ); Mon, 15 Aug 2022 18:57:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 612C962AB8; Mon, 15 Aug 2022 12:56:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CF0E260FB5; Mon, 15 Aug 2022 19:56:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9706C433D6; Mon, 15 Aug 2022 19:56:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660593372; bh=GHUg3/3om1y16xLkY9xRDeAEW++BDx8eOg8B/6QwxXw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XE4YExgQp5ux6gHuT8VD0lJsvFG7iYR4Fp7K7M6s5L6+N2Hmh7CCpkbALcvK8ItCf /4BrVUObhab+SEAJDaiTtSIRXOhXHGRByR2fwlOFKsD9rXjeOEX7cChNNLUCbf4T+H WKSdHxDL3sXupwm017ENM299/yhArmJ1pLiFbx/g= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Baryshkov , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.19 0258/1157] arm64: dts: qcom: msm8996: correct #clock-cells for QMP PHY nodes Date: Mon, 15 Aug 2022 19:53:34 +0200 Message-Id: <20220815180449.897779983@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dmitry Baryshkov [ Upstream commit b874fff9a7683df30e5aff16d5a85b1f8a43aa5d ] The commit 82d61e19fccb ("arm64: dts: qcom: msm8996: Move '#clock-cells' to QMP PHY child node") moved the '#clock-cells' properties to the child nodes. However it missed the fact that the property must have been set to <0> (as all pipe clocks use of_clk_hw_simple_get as the xlate function. Also the mentioned commit didn't add '#clock-cells' properties to second and third PCIe PHY nodes. Correct both these mistakes: - Set '#clock-cells' to <0>, - Add the property to pciephy_1 and pciephy_2 nodes. Fixes: 82d61e19fccb ("arm64: dts: qcom: msm8996: Move '#clock-cells' to QMP PHY child node") Signed-off-by: Dmitry Baryshkov Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220620071936.1558906-3-dmitry.baryshkov@linaro.org Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 9932186f7ceb..b670d0412760 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -609,7 +609,7 @@ pciephy_0: phy@35000 { <0x00035400 0x1dc>; #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clock-output-names = "pcie_0_pipe_clk_src"; clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; clock-names = "pipe0"; @@ -623,6 +623,7 @@ pciephy_1: phy@36000 { <0x00036400 0x1dc>; #phy-cells = <0>; + #clock-cells = <0>; clock-output-names = "pcie_1_pipe_clk_src"; clocks = <&gcc GCC_PCIE_1_PIPE_CLK>; clock-names = "pipe1"; @@ -636,6 +637,7 @@ pciephy_2: phy@37000 { <0x00037400 0x1dc>; #phy-cells = <0>; + #clock-cells = <0>; clock-output-names = "pcie_2_pipe_clk_src"; clocks = <&gcc GCC_PCIE_2_PIPE_CLK>; clock-names = "pipe2"; @@ -2769,7 +2771,7 @@ ssusb_phy_0: phy@7410200 { <0x07410600 0x1a8>; #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clock-output-names = "usb3_phy_pipe_clk_src"; clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; clock-names = "pipe0"; -- 2.35.1