From patchwork Sun May 21 20:38:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 684551 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 541A5C7EE32 for ; Sun, 21 May 2023 20:38:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230083AbjEUUil (ORCPT ); Sun, 21 May 2023 16:38:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230176AbjEUUik (ORCPT ); Sun, 21 May 2023 16:38:40 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67A61E4 for ; Sun, 21 May 2023 13:38:39 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-4f3af4295ddso2731998e87.2 for ; Sun, 21 May 2023 13:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684701517; x=1687293517; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qEd5aRZcblmvyovy6XBo3UP3UrwNyl766kcTf3FoCzI=; b=GPdfXU9BGMlDbOLV3VTQgyLenO9bA/6TjNpbelheLDfE2YzD0Nz0n8NDS3TWBQdesb yRw/9lYJKCwW2xz3XDUxhh7A5R4ZsaF8a0C/q4qz4pzbFCW5hL9nBcbqSbTaIkpUoRQP 2i5HaNG9SFojW3ytTA+soiLiWusyXL00JzXw+B+QqaCo10mkYZ3z8nEyS3qDN+q2Yj4l IyIMVbjLZf8Pjju4EYbH+RkGZibDRB3QophkljWnaGwf245DOojwSddFzQ7uoP39+VVd Z68vwo2ljFTgbN6X6UMNyIMS7ux49d4o3oY/5/n3l1Mo8flFNHHDlr7YOBkCPEG7S17Z ts3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684701517; x=1687293517; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qEd5aRZcblmvyovy6XBo3UP3UrwNyl766kcTf3FoCzI=; b=VrsJL3LBi/hQaV0zN113ibkJG/l3w0DdVod7IFQ5K/OpUjjcGLJMeOTO5dI+2z0GGU 03tRnm+XkmF2NUBvgafPMeRBQ8uf2/eVo3re6FK4cOw+ou99GfveojDaebNpCRMb/2b4 WaMhB0WtEcmAlcGbi0cGEqFK9zVLZamigsY2h/jieQ3ZJ7ldOvrxO31AOYU2B+85x7QH nNnFnLNAHK67IN4oDcGkTNItUEXD6/6G3IjKCDSq25gy3a9drfIvvKm8h1eYzcVZG+fm zGs4c3pjegVw8APcYTPMDv1LkZhIgNhoCoyAtU7l11NXI4CbOCtcA/TLL3AAeMukpaKn rK5A== X-Gm-Message-State: AC+VfDyR25QJZy3+mU4pIIZZsHi9XtV851QwVKdvnHP9FHR/0GDgc+rg XcAlJcOQhJxjO+S/zpJmu0PDzA== X-Google-Smtp-Source: ACHHUZ6JujLJRMd05D4SiIm/3GUQkEmlQknMso9xKifylodq08Hvw+PdAvGUOWVMvDbOg+NT3G8skg== X-Received: by 2002:ac2:5217:0:b0:4f1:4051:d77b with SMTP id a23-20020ac25217000000b004f14051d77bmr2854849lfl.60.1684701517791; Sun, 21 May 2023 13:38:37 -0700 (PDT) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id a15-20020a056512020f00b004f3886a63d1sm718894lfo.298.2023.05.21.13.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 May 2023 13:38:37 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski Cc: Philipp Zabel , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, Johan Hovold Subject: [PATCH v2 03/11] arm64: dts: qcom: msm8996: switch UFS QMP PHY to new style of bindings Date: Sun, 21 May 2023 23:38:26 +0300 Message-Id: <20230521203834.22566-4-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230521203834.22566-1-dmitry.baryshkov@linaro.org> References: <20230521203834.22566-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Change the UFS QMP PHY to use newer style of QMP PHY bindings (single resource region, no per-PHY subnodes). Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 2b35cb3f5292..2b65c608a57e 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -726,9 +726,9 @@ gcc: clock-controller@300000 { <&pciephy_1>, <&pciephy_2>, <&ssusb_phy_0>, - <&ufsphy_lane 0>, - <&ufsphy_lane 1>, - <&ufsphy_lane 2>; + <&ufsphy 0>, + <&ufsphy 1>, + <&ufsphy 2>; clock-names = "cxo", "cxo2", "sleep_clk", @@ -1993,7 +1993,7 @@ ufshc: ufshc@624000 { reg = <0x00624000 0x2500>; interrupts = ; - phys = <&ufsphy_lane>; + phys = <&ufsphy>; phy-names = "ufsphy"; power-domains = <&gcc UFS_GDSC>; @@ -2046,25 +2046,18 @@ ufshc: ufshc@624000 { ufsphy: phy@627000 { compatible = "qcom,msm8996-qmp-ufs-phy"; - reg = <0x00627000 0x1c4>; - #address-cells = <1>; - #size-cells = <1>; - ranges; + reg = <0x00627000 0x1000>; clocks = <&gcc GCC_UFS_CLKREF_CLK>; clock-names = "ref"; resets = <&ufshc 0>; reset-names = "ufsphy"; - status = "disabled"; - ufsphy_lane: phy@627400 { - reg = <0x627400 0x12c>, - <0x627600 0x200>, - <0x627c00 0x1b4>; - #clock-cells = <1>; - #phy-cells = <0>; - }; + #clock-cells = <1>; + #phy-cells = <0>; + + status = "disabled"; }; camss: camss@a00000 {