From patchwork Thu Sep 15 14:34: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: 606518 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 530EEC6FA8D for ; Thu, 15 Sep 2022 14:36:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230292AbiIOOg3 (ORCPT ); Thu, 15 Sep 2022 10:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbiIOOfj (ORCPT ); Thu, 15 Sep 2022 10:35:39 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6BC673904; Thu, 15 Sep 2022 07:35:01 -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 182DAB82108; Thu, 15 Sep 2022 14:35:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3F71C433D6; Thu, 15 Sep 2022 14:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663252498; bh=MBEuRB4+zVxwIj+Pghot4ZhJxcst/TbsIw8jjymioF0=; h=From:To:Cc:Subject:Date:From; b=gmtJtNs8ZOB1r4cxXaWG4juoTtBhPPZIQ53ZQ2DVpOlfUatCxNQcU7i9hbFo9XeuU 5/DaHWwkQEWaK0pUMPT7plOJCOdLe8eHmWi8lNlfpfAGW4pLidggxmyGHylstVEkXp 1e/OhA+qjllUV0dT4kKG/oZzQBcm6XQVQ5cmHjS80jrWWhn9c5qkVnuIsWufyXwrM4 2QKPRg7XM3B1denglydAWs0itGudVz6ekbaPxa0DVXv2GWL+3PTcJ1yJqL0RND+QzF 8sYDx02ahVpYycq22zc5r01qF9vWk0Qjc0YXLzaQ1I39Iue/12s9UF/sOsAydnMn7/ OEBnZxgeMb4sg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oYpxG-0005AW-Cc; Thu, 15 Sep 2022 16:35:02 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 1/2] arm64: dts: qcom: ipq8074: fix PCIe PHY serdes size Date: Thu, 15 Sep 2022 16:34:30 +0200 Message-Id: <20220915143431.19842-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The size of the PCIe PHY serdes register region is 0x1c4 and the corresponding 'reg' property should specifically not include the adjacent regions that are defined in the child node (e.g. tx and rx). Fixes: 33057e1672fe ("ARM: dts: ipq8074: Add pcie nodes") Signed-off-by: Johan Hovold --- 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 d53675fc1595..b9bf43215ada 100644 --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi @@ -199,7 +199,7 @@ qusb_phy_0: phy@79000 { pcie_qmp0: phy@86000 { compatible = "qcom,ipq8074-qmp-pcie-phy"; - reg = <0x00086000 0x1000>; + reg = <0x00086000 0x1c4>; #address-cells = <1>; #size-cells = <1>; ranges; @@ -227,7 +227,7 @@ pcie_phy0: phy@86200 { pcie_qmp1: phy@8e000 { compatible = "qcom,ipq8074-qmp-pcie-phy"; - reg = <0x0008e000 0x1000>; + reg = <0x0008e000 0x1c4>; #address-cells = <1>; #size-cells = <1>; ranges; From patchwork Thu Sep 15 14:34: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: 606246 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 A5EE1C6FA8A for ; Thu, 15 Sep 2022 14:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230200AbiIOOg1 (ORCPT ); Thu, 15 Sep 2022 10:36:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbiIOOfh (ORCPT ); Thu, 15 Sep 2022 10:35:37 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C5EBB67CA3; Thu, 15 Sep 2022 07:34: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 5C9FB6247E; Thu, 15 Sep 2022 14:34:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B76E5C433D7; Thu, 15 Sep 2022 14:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663252498; bh=d073PaUnYzoOzHdAykMoHn66BIAIqRnlEi7221UuM3c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YNwCph1cC7IGp+PmXLFn5uK3KjNG3hP4D+W6plak+XNHIw14sXwTFzlSuqtaFUqki N2MdaLv+mPyelyc3l8uU5LtRdJTWfXqPOY8BUypwAndkfUbDXHWMW0ms8bl9fbKl0J zf37IGC5AtY/UdsFkhEDpBgv/6nEOv7GQOK5cJoro5ciNWrP58lYASsprDukA+LSfp xriOmQnbWqrd1Q7AnsmcZtFAzK7QZVcXRq66kUFnnmvVFQC1EXBItVTVXrr+iM+BfP E1FoftpZnsp0VqP7Nr7Ifzoe65pEpnTAyVfMx1uoUO1I9XEacX4SSTVpVWwPwiNKHj /lw6ayApcTFeQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oYpxG-0005AY-G3; Thu, 15 Sep 2022 16:35:02 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/2] arm64: dts: qcom: sm8540: fix UFS PHY serdes size Date: Thu, 15 Sep 2022 16:34:31 +0200 Message-Id: <20220915143431.19842-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220915143431.19842-1-johan+linaro@kernel.org> References: <20220915143431.19842-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The size of the UFS PHY serdes register region is 0x1c4 and the corresponding 'reg' property should specifically not include the adjacent regions that are defined in the child node (e.g. tx and rx). Fixes: 07fa917a335e ("arm64: dts: qcom: sm8450: add ufs nodes") 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 d0ebf61a0074..8dde41ed6491 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -3147,7 +3147,7 @@ ufs_mem_hc: ufshc@1d84000 { ufs_mem_phy: phy@1d87000 { compatible = "qcom,sm8450-qmp-ufs-phy"; - reg = <0 0x01d87000 0 0xe10>; + reg = <0 0x01d87000 0 0x1c4>; #address-cells = <2>; #size-cells = <2>; ranges;