From patchwork Tue Jul 5 11:40:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 12906482 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 EFD77CCA48B for ; Tue, 5 Jul 2022 11:41:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231710AbiGELlI (ORCPT ); Tue, 5 Jul 2022 07:41:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231493AbiGELlC (ORCPT ); Tue, 5 Jul 2022 07:41:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5384113F7C; Tue, 5 Jul 2022 04:41:00 -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 ams.source.kernel.org (Postfix) with ESMTPS id CCA9AB817B0; Tue, 5 Jul 2022 11:40:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D112AC341EC; Tue, 5 Jul 2022 11:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657021256; bh=Z3N2ndHEJ7o1znNL+Ut1e9hKVwDiO1GHRHJ5NRREKZc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uXYGPxve0LbKui0+dONvQoi2rp2Pv8TayEMG0R928ccYFtwiQ8xUxq9mHT515uZZQ QqDBdPgFdHe9AhA1iIZNH+OhcapMS9IXBXBBkmJerbVJXd38fRi679lLJ8NTQPef3N i0hSLTfkRsUguyugECdpE2CMmIOJ9gHBITPqWh0vwq/Z9OYshMFpoUMDmf6T5505PK W1GDczKPpcQ9Tm+5VqOR0GZ+dE8Qa2hGKSXGkMzdpJxbAqqEXZIw3mf1POXOUuZ8ox AYUAddPxuj8iJA/AVtfX+9ns2iQT+OBeyrb5oXJsjoPp6X+2lJ8kmuVtAPoUYTIYgQ QKnW9mxrICuzA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvK-0005xy-41; Tue, 05 Jul 2022 13:40:58 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 12/14] arm64: dts: qcom: msm8996: add missing PCIe PHY clock-cells Date: Tue, 5 Jul 2022 13:40:30 +0200 Message-Id: <20220705114032.22787-13-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220705114032.22787-1-johan+linaro@kernel.org> References: <20220705114032.22787-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The QMP PCIe PHY provides a single clock so drop the redundant clock index from the first PCIe PHY and add the missing '#clock-cells' properties to the second and third PHY nodes. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 34fd0c68b6e8..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";