Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2925749rwb; Mon, 15 Aug 2022 14:10:48 -0700 (PDT) X-Google-Smtp-Source: AA6agR7I8T/kOKjR0IcbGT+VS/32X0l8Qlj1D7VD39P69bxG9vu/xR/0HCIsCnHK9ElBs7kgEPGb X-Received: by 2002:a17:902:ce01:b0:172:59a6:fb3d with SMTP id k1-20020a170902ce0100b0017259a6fb3dmr13478441plg.119.1660597848030; Mon, 15 Aug 2022 14:10:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597848; cv=none; d=google.com; s=arc-20160816; b=gmKhrIlbKR4Tdd0GMHWxXzWXV+uEsSW1ryb907SKA7d+gavzMOmLtZAIFX9gmki5Gi DOQaOdM6ypSeV+p4fZ7PJhIUsbJDCjHckrnhVG29NJGql75njpKoOS0+Zqhl1BLeqLjx OgO0L0kstvqSqv2BH9q1i/kgaRNKXw2DnaTvIWFVs74HjkiGnH4Q7aiPcJubo4FJ67qD HjhINOalC6P091I8bB6RQAIkRByy0uGCJqOCUDEv5mmKhnbP84UBUggPlEb4lioIO/EW 7Kq7sF+7JBe16P22y1NJrmMYrUY+E6K8iAhCgP0Uog7t+Xh6fpUjmPsoihMDTk9f7X+v y+Jw== 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=ifEJCY7W7cin19PkQ0A6KfRutlRiXTDnD4wGjOGD1Vg=; b=Oayn5ahsNNamQmg4RDX+As7tBOK8zcnQqiILEo1sbnaBMCB1JmEmsZM7LjS/+QtgSv MzuvZVhEaQlycltRTZ9WY92/osJj/pM5iaNMO5rVpD+L6IDu+d1SOs/T9djhjxoWN9l0 rbddHv6esd0M3uLxt2K2mwQJg3xeB4iD53hHYgUTjRZd/zriFsft3ALU8VIj+AvTPPUK GlhpBezml18qgIfnRHiHAjidSVgYpYXwGivZe3Fd/ejKiQv2XM0ABiAerFuCFwbwvEZL yaFW/5kyvPCyv0r780aFNiHTqfA/V2t9YrhQT1x6Tpdk/6fVPunOWObwlc/kgtSTvpqz YdBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xs3cywuG; 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 c76-20020a624e4f000000b0052ace23bfd2si11250660pfb.70.2022.08.15.14.10.36; Mon, 15 Aug 2022 14:10:48 -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=xs3cywuG; 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 S1345359AbiHOUnh (ORCPT + 99 others); Mon, 15 Aug 2022 16:43:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345194AbiHOUjw (ORCPT ); Mon, 15 Aug 2022 16:39:52 -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 C2B5DAE222; Mon, 15 Aug 2022 12:07:12 -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 C0F0861019; Mon, 15 Aug 2022 19:07:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE5CDC433C1; Mon, 15 Aug 2022 19:07:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590431; bh=xHJUJwpKHAC+e9emaowpBnNgdWEKlSRsQ5QR4/3UQYE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xs3cywuGt1aejfJwuCicexj68rU1/iSW+NaNGO7m7luLvQkIfbsMHtbtpD2RfBNdK X7z529m7tTJtmkGJUHYY1vTkoJ3ldJ0FODMHI4Hn4Ayx3quUzMQ8KpsiigcnfMqx/D nPNeVS2OLxVXrYKrpGJ268zCuDOBzzlr4LgSI3Jk= 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.18 0257/1095] arm64: dts: qcom: msm8996: correct #clock-cells for QMP PHY nodes Date: Mon, 15 Aug 2022 19:54:16 +0200 Message-Id: <20220815180440.377834433@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 b9a48cfd760f..078edf46de2b 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -603,7 +603,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"; @@ -617,6 +617,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"; @@ -630,6 +631,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"; @@ -2659,7 +2661,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