From patchwork Mon Oct 24 09:15:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 617978 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 20B89FA3741 for ; Mon, 24 Oct 2022 09:16:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231244AbiJXJQT (ORCPT ); Mon, 24 Oct 2022 05:16:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230517AbiJXJQE (ORCPT ); Mon, 24 Oct 2022 05:16:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32C7D6A49A; Mon, 24 Oct 2022 02:15:44 -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 4A0A3B81014; Mon, 24 Oct 2022 09:15:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D866DC4347C; Mon, 24 Oct 2022 09:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666602940; bh=FdN33m7qh8wPHoMj/+tmhrdjUqB83uz8MCt9pB9Y6yE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZKddshhGR/n5UkBSMiVK4AsktNDI6RoGqfKd9I+8VH8sCv1vToZIThg5odY6rPQbE VhfP61SdjcVlF2Cw5yZO7RrSp+da1OcrboTlXMHZrZlp30nGdKZ4qFa1lCsfiqtw7P lrViBLvnohMoJJkRebuUgQRwAU3ld+OXEouh1OfUwo+fcUAh6WDxBpfjlrYC0JrxiY 4rMJcSajwXRzoSJhRr0LHpGJ8FIAP5egAl4iIGMkO/NnfXN/Qt/Mh5cRZW9BJrBIX/ LV9d3qFwMBO6jiIcc8GqqoWXkR1bStxo7Q+teZHSX9xat+runc5nB425KiVoVms6Jk tTW4i+u8LWkAQ== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1omtYK-0005J2-GL; Mon, 24 Oct 2022 11:15:24 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Vinod Koul , Dmitry Baryshkov , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 3/4] arm64: dts: qcom: sm8350: fix UFS PHY registers Date: Mon, 24 Oct 2022 11:15:06 +0200 Message-Id: <20221024091507.20342-4-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221024091507.20342-1-johan+linaro@kernel.org> References: <20221024091507.20342-1-johan+linaro@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The sizes of the UFS PHY register regions are too small and does specifically not cover all registers used by the Linux driver. As Linux maps these regions as full pages this is currently not an issue on Linux, but let's update the sizes to match the vendor driver. Fixes: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes") Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index a86d9ea93b9d..a6270d97a319 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2142,11 +2142,11 @@ ufs_mem_phy: phy@1d87000 { status = "disabled"; ufs_mem_phy_lanes: phy@1d87400 { - reg = <0 0x01d87400 0 0x108>, - <0 0x01d87600 0 0x1e0>, - <0 0x01d87c00 0 0x1dc>, - <0 0x01d87800 0 0x108>, - <0 0x01d87a00 0 0x1e0>; + reg = <0 0x01d87400 0 0x188>, + <0 0x01d87600 0 0x200>, + <0 0x01d87c00 0 0x200>, + <0 0x01d87800 0 0x188>, + <0 0x01d87a00 0 0x200>; #phy-cells = <0>; }; };