From patchwork Tue Jul 5 11:40:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587839 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 931A6CCA485 for ; Tue, 5 Jul 2022 11:41:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231316AbiGELlB (ORCPT ); Tue, 5 Jul 2022 07:41:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbiGELk6 (ORCPT ); Tue, 5 Jul 2022 07:40:58 -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 CBDAA167CD; Tue, 5 Jul 2022 04:40:57 -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 030C461636; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56A1BC341CB; 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=zgtRvHIdwN3LeKsmN27laCCayvfj4Yk/UJaOE/TGy6k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pG4SiZzXwoZ7ZNq8Sozzq3v6fPr63ZZKjLwKKO5t8JX2iqgfyJynP9adWVZDFVQM5 /tldxkYOIERfMv6IzjjHQIYmBBrsoXgK3sMdG5007Qoi1ag/zgoGrSnLMz+sZGl47A 3FVPLJ2/98aUuPw26uPBJ4T+W/hn+n/AKNlbgwlf2xDQFXb3vqIvSTKvp48/A3XC3X f90Kw+6j2/M9kYEEv+QBljZsZu8YmJmZXrjXQjiNku4HU1GS1kcsuMXDNcb5dCjlSl M9muvmC4KoEZhJGF11II2cvwsrVNIemHP6CX1nlRI+Qnoo4l2VCCcPsB1LWRKSmj0i 9nKtxH50HTY7w== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xS-4p; Tue, 05 Jul 2022 13:40:57 +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 01/14] arm64: dts: qcom: sc7280: drop PCIe PHY clock index Date: Tue, 5 Jul 2022 13:40:19 +0200 Message-Id: <20220705114032.22787-2-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. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index e66fc67de206..b0ae2dbba50f 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -818,7 +818,7 @@ gcc: clock-controller@100000 { reg = <0 0x00100000 0 0x1f0000>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, <&sleep_clk>, - <0>, <&pcie1_lane 0>, + <0>, <&pcie1_lane>, <0>, <0>, <0>, <0>; clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk", "pcie_0_pipe_clk", "pcie_1_pipe_clk", @@ -2110,7 +2110,7 @@ pcie1_lane: phy@1c0e200 { clock-names = "pipe0"; #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clock-output-names = "pcie_1_pipe_clk"; }; }; From patchwork Tue Jul 5 11:40:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587834 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 862E7CCA489 for ; Tue, 5 Jul 2022 11:41:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231659AbiGELlG (ORCPT ); Tue, 5 Jul 2022 07:41:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231398AbiGELlA (ORCPT ); Tue, 5 Jul 2022 07:41:00 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3A39167E3; Tue, 5 Jul 2022 04:40:59 -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 sin.source.kernel.org (Postfix) with ESMTPS id 002A7CE1B58; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59461C341CF; 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=lw2S2Ef1vq5+Ow95i5kULk8+RLiW2dlj/y5wWPo5xw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hDfWA4Z85laoeykGWjemLg22kpk97xc/D7Opdknk9i3HHjSdDqonKqzJgMXv1FPOE efYIPuWLK2u4D0f3yhtgkTpzZfhE0gOZcgXDMFWwb6md9Upl1FGtLjT3+OhN5LTV6B W2NmiajukD3ICLgaZ+PmXXjiiczZNTR8MhBazPcTruU1hMAEX2pHlk1lu4NBnbxbI/ oo1EIwJzHmgIxbVtWLUAKV/Ns/EtZetncooDBz4CwYu2smGfobY+Lq5iKdaVy6Jj1S E4IJgzrvjSuPcQ9XZiOkNqMXZuYlag7y48Dq48HqsfW958v8b2y1xfJ/UN5AJFvUdn HQ4PMv3dlkLRg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xU-7L; Tue, 05 Jul 2022 13:40:57 +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 02/14] arm64: dts: qcom: sm8250: add missing PCIe PHY clock-cells Date: Tue, 5 Jul 2022 13:40:20 +0200 Message-Id: <20220705114032.22787-3-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 Add the missing '#clock-cells' properties to the PCIe QMP PHY nodes. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 53e0b57c13e4..f45a6cca397f 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -1892,6 +1892,8 @@ pcie0_lane: phy@1c06200 { clock-names = "pipe0"; #phy-cells = <0>; + + #clock-cells = <0>; clock-output-names = "pcie_0_pipe_clk"; }; }; @@ -1998,6 +2000,8 @@ pcie1_lane: phy@1c0e200 { clock-names = "pipe0"; #phy-cells = <0>; + + #clock-cells = <0>; clock-output-names = "pcie_1_pipe_clk"; }; }; @@ -2104,6 +2108,8 @@ pcie2_lane: phy@1c16200 { clock-names = "pipe0"; #phy-cells = <0>; + + #clock-cells = <0>; clock-output-names = "pcie_2_pipe_clk"; }; }; From patchwork Tue Jul 5 11:40:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587492 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 C4D1CCCA47B for ; Tue, 5 Jul 2022 11:41:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231290AbiGELk7 (ORCPT ); Tue, 5 Jul 2022 07:40:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230444AbiGELk6 (ORCPT ); Tue, 5 Jul 2022 07:40:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBF99167D8; Tue, 5 Jul 2022 04:40:57 -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 F05B361616; Tue, 5 Jul 2022 11:40:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53F2EC341CE; 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=u8THKk4ajgBBs95c1HTSf/xYHDV++eZ0huzhIB4RiiE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=juW3U61kxlGnX2cm1PXP4iGP+vrw8nS3YG1frzvJOfrQu5HL9Ck+ztJmlOODoIu5f PQb/n3fx+4XamxSsApctYLqH5q28FaGtcC1+83jaNrcS30dUK0yBq6CWxx0jRKB6M1 0PadT/nrG3xKQd+6IcVuSNxA8W9VHq3/7d85Aw0NONx5oUeFlr9Q26jVcfkCccyZ0t XALulk8xQZcfTvMG56mrrRHmiyBDIycc0yNICKgu2Zt/6HyhbAjD2mpaJTheqjNR6z uEfD1XlOLQNFmjeIjSPJ3cqaFb+sXrOZcn8f/PvN4Cx3QQo5EZX945OH10eAfKlS42 XaHGRQu90Ei9A== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xW-Ad; Tue, 05 Jul 2022 13:40:57 +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 03/14] arm64: dts: qcom: ipq6018: drop USB PHY clock index Date: Tue, 5 Jul 2022 13:40:21 +0200 Message-Id: <20220705114032.22787-4-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 USB PHY provides a single clock so drop the redundant clock index. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/ipq6018.dtsi b/arch/arm64/boot/dts/qcom/ipq6018.dtsi index c89499e366d3..ef1c5caacad0 100644 --- a/arch/arm64/boot/dts/qcom/ipq6018.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq6018.dtsi @@ -710,7 +710,7 @@ usb0_ssphy: phy@78200 { <0x0 0x00078800 0x0 0x1F8>, /* PCS */ <0x0 0x00078600 0x0 0x044>; /* PCS misc */ #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&gcc GCC_USB0_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "gcc_usb0_pipe_clk_src"; From patchwork Tue Jul 5 11:40:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587486 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 2739BCCA47B for ; Tue, 5 Jul 2022 11:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231665AbiGELlG (ORCPT ); Tue, 5 Jul 2022 07:41:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231346AbiGELlA (ORCPT ); Tue, 5 Jul 2022 07:41:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17BB5165B5; Tue, 5 Jul 2022 04:40:59 -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 A78ACB816B8; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B7B5C341CD; 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=nEbBmZ5FcOADu67NjSpu06Z/fdPtTz4/f7tD1mGjUfE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A54XWFGWG5rikRlyPO/uOuPXmlgFv+dZr6QE0mjFe4ysFCuuitI9zCYIU2SH+NReY C7eB60/IO+/I8RIQmKHOAbn4gICPNMS9//8jkhnGlO9NNp7D8swizt+ZVV7weXklvZ i5b/XMIrqyUhhm0WQ+wPlLMMur4/nDayRDE4UmfjRpNNB2ZVGszqmz0TxtoxexFJxk VKI0NqIMw+YTDBFwa54IORCUQYgwUAmQLhQKQ7JcqnKnuRAURkIvrjRvirZJ250NGH LEPGb6TV6BmTIFiSj0RCAcIzYjGfKS8am3mzNz3xJNXqayHQZZnjXzTFcZyNBMGQRB 7RGoQbu3ml65g== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xZ-D5; Tue, 05 Jul 2022 13:40:57 +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 04/14] arm64: dts: qcom: ipq8074: drop USB PHY clock index Date: Tue, 5 Jul 2022 13:40:22 +0200 Message-Id: <20220705114032.22787-5-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 USB PHY provides a single clock so drop the redundant clock index. Signed-off-by: Johan Hovold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/ipq8074.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi index 4c38b15c6fd4..f9c15b3adbfb 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -130,7 +130,7 @@ usb1_ssphy: phy@58200 { <0x00058800 0x1f8>, /* PCS */ <0x00058600 0x044>; /* PCS misc*/ #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&gcc GCC_USB1_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "gcc_usb1_pipe_clk_src"; @@ -173,7 +173,7 @@ usb0_ssphy: phy@78200 { <0x00078800 0x1f8>, /* PCS */ <0x00078600 0x044>; /* PCS misc*/ #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&gcc GCC_USB0_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "gcc_usb0_pipe_clk_src"; From patchwork Tue Jul 5 11:40:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587490 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 81BC4CCA487 for ; Tue, 5 Jul 2022 11:41:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231465AbiGELlC (ORCPT ); Tue, 5 Jul 2022 07:41:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231181AbiGELk7 (ORCPT ); Tue, 5 Jul 2022 07:40:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F4EB140B6; Tue, 5 Jul 2022 04:40:58 -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 8475E6146B; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62377C341D1; 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=mjxgl4rw9ggFIkwq3+nZ4cvTPFPaWX7xtaE5VM/7aNg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qv3KDCVIE8BmoS6JdSd9QZyinU3sMUVvgX7QILhmiHufqGaAX5tquIZ3JFmeS+vdk oxkQ8ppJF7xjBp5OD1w5QWv/YbVpLB60Wkzp0qCMDEo29BM+7pSe34MMl5RWYXz5Qg PGGYBt+s8h69Vf+/zbkkf3fWX7hqg78+C2ii3IN3dOFTMH1oKTlCR3GX8JjWgKjwr5 8j3VD/cqDPXrhXgoaXq8LQQLekfi7Q/fJWEyNeeXMKEj3IZkATJvXy1YNu8kknVaj7 WvpMtCTtLVdZWTgP+8SdsiNrl/WZlywot9/il1eQOCIZE1Yc+p7Xqkqpb7gi/P7Wkj qGHKlPmmDWnXQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xc-Fe; Tue, 05 Jul 2022 13:40:57 +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 05/14] arm64: dts: qcom: msm8996: drop USB PHY clock index Date: Tue, 5 Jul 2022 13:40:23 +0200 Message-Id: <20220705114032.22787-6-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 USB PHY provides a single clock so drop the redundant clock index. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 9932186f7ceb..34fd0c68b6e8 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -2769,7 +2769,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"; From patchwork Tue Jul 5 11:40:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587488 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 76994CCA48B for ; Tue, 5 Jul 2022 11:41:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231243AbiGELlF (ORCPT ); Tue, 5 Jul 2022 07:41:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230244AbiGELlB (ORCPT ); Tue, 5 Jul 2022 07:41:01 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B384A167D8; Tue, 5 Jul 2022 04:40:59 -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 4EE56B81676; Tue, 5 Jul 2022 11:40:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6C457C341D2; 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=/9XHZo8XHWmW1t+jSkDjHLDjP8E6+1rCI6KFMxMPUw8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DKWbgwm9VdjI6c176XANaOgqurZgaYKt82B1aQZO4Sic0cWlP/D6k5F97aIfBHgj7 p3wcuDE+lLJtDIs7HrMXftx5kkDrQwtDPdEUdvrjEKwmVltlU9h9CFWkR/Uwfwwpz8 UKRQRfIGMK8YCuqFjPRYD8A/WwzkoYhLTL/LEvYBXUk9tSHCv0d6STogAE1QGLW7Na Bl10Vz3eVknloLkWLgAd44f/nXI5evyPZ3pzndcOiRWPr2x9cNe/F81D9vrri/dtt4 Si1nU8as3+Spn2JFm9FWVBfeFx8d+y94FGBFslrbjPryI5xDlWFOsOteHyW1Z4oEUR k2mW52p7FNdDA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xf-IB; Tue, 05 Jul 2022 13:40:57 +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 06/14] arm64: dts: qcom: msm8998: drop USB PHY clock index Date: Tue, 5 Jul 2022 13:40:24 +0200 Message-Id: <20220705114032.22787-7-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 USB PHY provides a single clock so drop the redundant clock index. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 758c45bbbe78..2511e70d66ef 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -2080,7 +2080,7 @@ usb1_ssphy: phy@c010200 { <0xc010600 0x128>, <0xc010800 0x200>; #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "usb3_phy_pipe_clk_src"; From patchwork Tue Jul 5 11:40:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587487 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 A3A16CCA485 for ; Tue, 5 Jul 2022 11:41:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231639AbiGELlF (ORCPT ); Tue, 5 Jul 2022 07:41:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbiGELlA (ORCPT ); Tue, 5 Jul 2022 07:41:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93454165B8; Tue, 5 Jul 2022 04:40:59 -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 3CADDB817AD; Tue, 5 Jul 2022 11:40:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79F3BC341DD; 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=M/7E7Sp2xPyh/sHX0nhw0OO7Yo7WLm4QfvTwayPUVNM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SZKAUXiuDSE7QCcVuWk3uGhIcnD9v/ub/4G6VT1clglFNUny+r6qaV2Y1qMyX8tbD ACStLwujvQgbygO8poYYXCd6QlzjJQUaFsp6/H4v2G4QChPlL7gD2D8NREo4xWFSD/ Cc2gaxtkXGzIlvpFQFTIvDZQtA4uj+Hs/RtXlyI8vSDAkr93XRASSfcDCngLUaBVZD HivlR3WG2pBTniDsEvBLrHv6iv+qdE1ZO0hbA2DntCrHDhq4x1rZZ3sDO4ClDMJWug ViNVnAh9gt6udJbdFNDxwltwpCqSWTeohNRfRoRWa5E1o0c99lvzrBf7DxW/QVjkyr HJQxBFKEtXzcg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xj-Kh; Tue, 05 Jul 2022 13:40:57 +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 07/14] arm64: dts: qcom: sm8350: drop USB PHY clock index Date: Tue, 5 Jul 2022 13:40:25 +0200 Message-Id: <20220705114032.22787-8-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 USB PHY provides a single clock so drop the redundant clock index. Signed-off-by: Johan Hovold Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 743cba9b683c..7e399d739cd9 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2381,7 +2381,7 @@ usb_1_ssphy: phy@88e9200 { <0 0x088e9800 0 0x200>, <0 0x088e9a00 0 0x100>; #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "usb3_phy_pipe_clk_src"; @@ -2411,7 +2411,7 @@ usb_2_ssphy: phy@88ebe00 { <0 0x088ec000 0 0x200>, <0 0x088eb200 0 0x1100>; #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "usb3_uni_phy_pipe_clk_src"; From patchwork Tue Jul 5 11:40:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587491 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 07F82CCA47F for ; Tue, 5 Jul 2022 11:41:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231372AbiGELlA (ORCPT ); Tue, 5 Jul 2022 07:41:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231226AbiGELk6 (ORCPT ); Tue, 5 Jul 2022 07:40:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ECD313F7C; Tue, 5 Jul 2022 04:40:58 -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 8C3146163B; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A048C385A5; 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=mKHh30CZ+PwxG022IUiZ2RwPb3Rd7zqw8PzNTj1kVNw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oPcWZbpTEjc2M7Y09xSPzNo+9PUIspI49/o3nmbdsgX6gIyG76j0G1awIbUmrOGHh xxKSvgQY5lXFEueFTxRNdKE8ssp66AROkFkrn9o/xBFgxCNAYvlxTHS0lXmJ8yM2Nv cJjh1rcjaIrUBnXtFG16DSK1mqGrg9JjPx6XEi7ELRGtpN5STTRjQiULoEo9Lme2AS 3hr+HusEd8AncWKvFT9vgVOOIuz1nv++yyi2fzOE+WUUyj2FCPNwpGqfuk6rjdV12n aJufsPAqLX+WT2DJ8pxWHaCxNrNbJnbx772i97WQ3F5NH/fIQZXNvPwFs5IxaCtG3W Z8o4jlSfHURyw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xm-Nz; Tue, 05 Jul 2022 13:40:57 +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 08/14] arm64: dts: qcom: sm8450: drop USB PHY clock index Date: Tue, 5 Jul 2022 13:40:26 +0200 Message-Id: <20220705114032.22787-9-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 USB PHY provides a single clock so drop the redundant clock index. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 7d08fad76371..c06c95c0c557 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2001,7 +2001,7 @@ usb_1_ssphy: phy@88e9200 { <0 0x088e9800 0 0x200>, <0 0x088e9a00 0 0x100>; #phy-cells = <0>; - #clock-cells = <1>; + #clock-cells = <0>; clocks = <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>; clock-names = "pipe0"; clock-output-names = "usb3_phy_pipe_clk_src"; From patchwork Tue Jul 5 11:40:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587489 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 536A1CCA480 for ; Tue, 5 Jul 2022 11:41:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231561AbiGELlD (ORCPT ); Tue, 5 Jul 2022 07:41:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231231AbiGELk7 (ORCPT ); Tue, 5 Jul 2022 07:40:59 -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 DD1A7140B9; Tue, 5 Jul 2022 04:40:58 -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 949E26163C; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EF29C341E4; 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=oCHWJnh4WCZO6yPBPtBBm6bMnITR3d1GfoV37ZS+LIU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=C+NSJoDuWvEiXU4Jz+eG7gi02nH4oTWHvFW/ihyPGx4dQoKaYmatoqRIQfUkCk1od ZQVO7WAAfj9OUkHKiStU9t8200Yl1KgL9t4UkeEq0SPWk5JOII3RXbLI7dR05N7fLN mi1gIki/L6vU3lgbWrEZS5q19JOG4U6mHeK5Ee0bEHw6XLPk0Ka/65q1hhihyEX49S lzn8ASAZMJe9Buc6d67mptmdcwc0XOVM8TnnVZ+2/2uf3R4m/gKENabLMLsxqVVvR2 JF47JVlpQ5iOjpKI7DvpldKKToKkccTrsd1HDvXqRartrWabL71erZ4JUKfPov5JZU GQXCQ3nviVnPw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xp-Qr; Tue, 05 Jul 2022 13:40:57 +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 09/14] arm64: dts: qcom: sc8280xp: drop UFS PHY clock-cells Date: Tue, 5 Jul 2022 13:40:27 +0200 Message-Id: <20220705114032.22787-10-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 UFS PHY provides more than one symbol clock and would need an index to differentiate the clocks, but none of this is described by the binding currently. Drop the incorrect '#clock-cells' property for now. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index 345a19a6e874..ce4df4e814fe 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1447,7 +1447,6 @@ ufs_mem_phy_lanes: phy@1d87400 { <0 0x01d87800 0 0x108>, <0 0x01d87a00 0 0x1e0>; #phy-cells = <0>; - #clock-cells = <0>; }; }; @@ -1517,7 +1516,6 @@ ufs_card_phy_lanes: phy@1da7400 { <0 0x01da7800 0 0x108>, <0 0x01da7a00 0 0x1e0>; #phy-cells = <0>; - #clock-cells = <0>; }; }; From patchwork Tue Jul 5 11:40:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587838 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 2D54BCCA489 for ; Tue, 5 Jul 2022 11:41:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231539AbiGELlC (ORCPT ); Tue, 5 Jul 2022 07:41:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231213AbiGELk7 (ORCPT ); Tue, 5 Jul 2022 07:40:59 -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 DBFCF13F57; Tue, 5 Jul 2022 04:40:58 -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 9B6C86142F; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEA16C341EA; 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=ujskMW1N8gcjwTsYNFmpSl6x9W5Ja7UgKQRuwMPhtG0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WzoSx+3GzTJezLKq/zvfWNpo8Sd/zazPD9lSjrkGmg/icg3FrEBDzyGg4l3Iu7efL R3P35F3hoYqGoWL/t3CuqUFwU3GcOR0LoW6AtBHR/A/4JG8ycoNssiI2XsStmX7sDJ z/Zoarpc/6p3LJYBbPB2PG3HbfJysME9wpdVJP/mtUJhw/xmW12Dgasl1YlzEUpjDx KhYOgwSDLV87g7PAPG2tmZnuJN3S3KHJ6Hy4New+7/7zcxktVMzNOItD7/gQcKVvb9 FwRVy8NeED1aO2qEeKKY3aYthLz43E9zDHgZcOUH7ZsV8RlRhyXI84gI7n7mlLjxkG TEQW9kE1Lf4qw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvJ-0005xs-U7; Tue, 05 Jul 2022 13:40:57 +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 10/14] arm64: dts: qcom: sm8250: drop UFS PHY clock-cells Date: Tue, 5 Jul 2022 13:40:28 +0200 Message-Id: <20220705114032.22787-11-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 UFS PHY provides more than one symbol clock and would need an index to differentiate the clocks, but none of this is described by the binding currently. Drop the incorrect '#clock-cells' property for now. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 7e399d739cd9..57f5ece8b741 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2148,7 +2148,6 @@ ufs_mem_phy_lanes: phy@1d87400 { <0 0x01d87800 0 0x108>, <0 0x01d87a00 0 0x1e0>; #phy-cells = <0>; - #clock-cells = <0>; }; }; From patchwork Tue Jul 5 11:40:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587835 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 EB52ECCA48C for ; Tue, 5 Jul 2022 11:41:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231700AbiGELlH (ORCPT ); Tue, 5 Jul 2022 07:41:07 -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 S231264AbiGELk7 (ORCPT ); Tue, 5 Jul 2022 07:40:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17198165AB; Tue, 5 Jul 2022 04:40:59 -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 B50806163D; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD1BAC341EB; 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=/EGcRC0OZKz4hHwlGnqAX/v+h3NzsJOgVqmeIu8mZO0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F01jD69bmzzGu1ioHHgbcOazsJEYHDHGAunbaosgAV+SrR66p5UET4YTUnF//WJld D8zm9RAJabGQgajzXaLVcBbsm0XyHvT19Q9KiEJRPPoPRXKfwbqzw71NRDTfJZlVoV LHVnbCvq6367Z9iqlzwGa5NF8I1SJFx3CzuAk+uLp+udiX0YD9s2V3uxzVZf/iZHlM io5uSUSLJ49MuiAOHL+uO+ZFnjJne6ydvTecKKSkt6dOobyVRk3tJQTS2bSokXfcSg sHmDXIT0UblQf9MF9kOsh91qinjjmGhoN3Qb8au9R21UW7b4guE6EOuWxj+bbtjA+U JjKwLBc3mCtEw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvK-0005xv-11; 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 11/14] arm64: dts: qcom: sm8450: drop UFS PHY clock-cells Date: Tue, 5 Jul 2022 13:40:29 +0200 Message-Id: <20220705114032.22787-12-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 UFS PHY provides more than one symbol clock and would need an index to differentiate the clocks, but none of this is described by the binding currently. Drop the incorrect '#clock-cells' property for now. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index c06c95c0c557..e91766e4c6f7 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -3092,7 +3092,6 @@ ufs_mem_phy_lanes: phy@1d87400 { <0 0x01d87800 0 0x108>, <0 0x01d87a00 0 0x1e0>; #phy-cells = <0>; - #clock-cells = <0>; }; }; 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: 587485 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"; From patchwork Tue Jul 5 11:40:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587837 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 263E3CCA482 for ; Tue, 5 Jul 2022 11:41:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230095AbiGELlD (ORCPT ); Tue, 5 Jul 2022 07:41:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231337AbiGELlA (ORCPT ); Tue, 5 Jul 2022 07:41:00 -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 170A316587; Tue, 5 Jul 2022 04:40:59 -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 BE7FF61640; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1D35C341F0; 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=lbRbz+C9ylQQqmM6yIHghVjXaGtf5c6lGhSwwRAWYZw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ABtMGAFeUvcUCyEkm0iHmWa3FCGjPXPx42Ci7n6f54bMGVgSpfMxNBIhwH2Vb/sVE iYcg/mmIU4zEGIisxxzaznu6egrleODGBj4luSqJwr33y+VEvocDNWCLzO6FH/nrxg Tmn4LiUnCqmwDKU2qu3+ZjVM1sx4wRCwJEmxrLOn9+9n1fqtZjvAm65MmjoZpQSYZE FHeMEJ950XNcRdjiaWk4MCdBK/JEhXPP1bz5SxGAgZ0xtHiZzkyNA1HuRHpQ/F6yAp eoHnQ2ge+Ucu6hcLu+WoSvHLZwyTvx/t7jUB7JuTqYobx/fj9U3gosVJXOq+y6wm53 5U9WosDy8DtHw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvK-0005y1-79; 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 13/14] arm64: dts: qcom: msm8996: use non-empty ranges for PCIe PHYs Date: Tue, 5 Jul 2022 13:40:31 +0200 Message-Id: <20220705114032.22787-14-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 Clean up the PCIe PHY nodes by using a non-empty ranges property. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index b670d0412760..16869bb7d625 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -590,7 +590,7 @@ pcie_phy: phy@34000 { reg = <0x00034000 0x488>; #address-cells = <1>; #size-cells = <1>; - ranges; + ranges = <0x0 0x00034000 0x4000>; clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, <&gcc GCC_PCIE_PHY_CFG_AHB_CLK>, @@ -603,10 +603,10 @@ pcie_phy: phy@34000 { reset-names = "phy", "common", "cfg"; status = "disabled"; - pciephy_0: phy@35000 { - reg = <0x00035000 0x130>, - <0x00035200 0x200>, - <0x00035400 0x1dc>; + pciephy_0: phy@1000 { + reg = <0x1000 0x130>, + <0x1200 0x200>, + <0x1400 0x1dc>; #phy-cells = <0>; #clock-cells = <0>; @@ -617,10 +617,10 @@ pciephy_0: phy@35000 { reset-names = "lane0"; }; - pciephy_1: phy@36000 { - reg = <0x00036000 0x130>, - <0x00036200 0x200>, - <0x00036400 0x1dc>; + pciephy_1: phy@2000 { + reg = <0x2000 0x130>, + <0x2200 0x200>, + <0x2400 0x1dc>; #phy-cells = <0>; #clock-cells = <0>; @@ -631,10 +631,10 @@ pciephy_1: phy@36000 { reset-names = "lane1"; }; - pciephy_2: phy@37000 { - reg = <0x00037000 0x130>, - <0x00037200 0x200>, - <0x00037400 0x1dc>; + pciephy_2: phy@3000 { + reg = <0x3000 0x130>, + <0x3200 0x200>, + <0x3400 0x1dc>; #phy-cells = <0>; #clock-cells = <0>; From patchwork Tue Jul 5 11:40:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 587836 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 5198FCCA481 for ; Tue, 5 Jul 2022 11:41:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231307AbiGELlE (ORCPT ); Tue, 5 Jul 2022 07:41:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231338AbiGELlA (ORCPT ); Tue, 5 Jul 2022 07:41:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80F0D165B2; Tue, 5 Jul 2022 04:40:59 -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 C35D76165F; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FC86C341C7; Tue, 5 Jul 2022 11:40:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657021257; bh=1/rcgwcQKLweYTXDt2AYvYQjEnmbbEGMmYoUqECaYZ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hmwhYIeWJ+G9u9VUlirbUiuhCIFn9aTIRe9Zz0AyLtbQUGq9VlEpiChoCqLfO7W2/ OaFX/9ATJ+wDXTkPOsq6fDAN0siyfZ6nDMt4Jq/PfCkzsd7ZOa2Om6EoySWcFdhkxF Dyw+UCj2DXVr+rDAM68CGDjovMH5c0uX/Ngr4y+z3CC0Ku1ALW+WsvE72YRjQOFPqX Ed+mllkGDTTKY7j9QfmqAgsFq2j0Nog51BDCZzhfoatcWzS75yk8ON1bZv++irsGa8 O/RNQYuTwhzI48jthSs6JhxvSQvuk5Hm40claZtfl/7YFxmIjgAbybSPUW3CIk7Qwl 6K5jA2zpuQCzQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1o8gvK-0005y4-A4; 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 14/14] arm64: dts: qcom: msm8996: clean up PCIe PHY node Date: Tue, 5 Jul 2022 13:40:32 +0200 Message-Id: <20220705114032.22787-15-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 Clean up the PCIe PHY node by renaming the wrapper node and grouping the child node properties. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 16869bb7d625..98a4cad89e9f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -585,7 +585,7 @@ soc: soc { ranges = <0 0 0 0xffffffff>; compatible = "simple-bus"; - pcie_phy: phy@34000 { + pcie_phy: phy-wrapper@34000 { compatible = "qcom,msm8996-qmp-pcie-phy"; reg = <0x00034000 0x488>; #address-cells = <1>; @@ -601,48 +601,55 @@ pcie_phy: phy@34000 { <&gcc GCC_PCIE_PHY_COM_BCR>, <&gcc GCC_PCIE_PHY_COM_NOCSR_BCR>; reset-names = "phy", "common", "cfg"; + status = "disabled"; pciephy_0: phy@1000 { reg = <0x1000 0x130>, <0x1200 0x200>, <0x1400 0x1dc>; - #phy-cells = <0>; - #clock-cells = <0>; - clock-output-names = "pcie_0_pipe_clk_src"; clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; clock-names = "pipe0"; resets = <&gcc GCC_PCIE_0_PHY_BCR>; reset-names = "lane0"; + + #clock-cells = <0>; + clock-output-names = "pcie_0_pipe_clk_src"; + + #phy-cells = <0>; }; pciephy_1: phy@2000 { reg = <0x2000 0x130>, <0x2200 0x200>, <0x2400 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"; resets = <&gcc GCC_PCIE_1_PHY_BCR>; reset-names = "lane1"; + + #clock-cells = <0>; + clock-output-names = "pcie_1_pipe_clk_src"; + + #phy-cells = <0>; }; pciephy_2: phy@3000 { reg = <0x3000 0x130>, <0x3200 0x200>, <0x3400 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"; resets = <&gcc GCC_PCIE_2_PHY_BCR>; reset-names = "lane2"; + + #clock-cells = <0>; + clock-output-names = "pcie_2_pipe_clk_src"; + + #phy-cells = <0>; }; };