Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp215712pxb; Wed, 23 Mar 2022 16:39:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwsDItQI90shIvWqkAsx0+OGaiDohDWvagiDKIFGKo4aAf0BL/YcM/qIYOQ8vCGPQ44C7PW X-Received: by 2002:a17:907:608b:b0:6da:8fa8:27e8 with SMTP id ht11-20020a170907608b00b006da8fa827e8mr2788740ejc.168.1648078788645; Wed, 23 Mar 2022 16:39:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648078788; cv=none; d=google.com; s=arc-20160816; b=HGVq9dS6UGjZFrLB0Ps6cUnMt2ZPfn1zTehTvsBbYAXE6J3JuWOljEcfgAI1vO+/dv JpgXPdBasRpMrnnWM6bTcOFCUINp9Nc1GF8eub+k160f1fJZwdj9BC1E2wnVrordwJrp zM5LOgf0fxAgMpPwusxYenGRPUTTVQxUGjxpcy+H0P/ylwHtBnWIr2wwUPa0PWG3dsZs 29obtkj/YrkPS8yWwdSreIxH2qTsFsprCIc9nsisZmkIt5R85o5hAg00Vw8LkwM5y8oW 4f/8UTPzLYRgb1vxN6nUtOVnpXGcjDxYNjot8akFQnzcHVj5ybVLAA/DluhWtSB9K3Eu tyFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=8oFqq3OAhLNYPmEUiRfaWEgxs162u2Kk2WATsf8DjFk=; b=lfG1xozWOx2EZgCAv+LBtWQ3W8YZxHml5a6jNaeK6Qghi3AZBpLI1DuY32nXklTeR8 SkG6Bxp+KujseXK/XMRrLZhD1amxL2ZgZkqFwWHqrbZyhhjfUBaBw1vnvAOPEUEOm0dj IQL04kbZG9+Ej5TXsO5yjxyLKSEYanoeneK5G5bleACRGArj5o6U+TVFG3k8oTe/02ye vh/Frebfb2lIAjA/ovUwm3e59VqIkf9KPNLJd1KxtjNPXcQieMErwWF3YA7blG8gNVLM xSHDC+c/Agpk4J0G7bhwbz5RitqilUANR77El3CEfJpNnUU/Sqn1KhIAuoJ9m0aXLBPB DPKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yfFgEujS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le28-20020a170907171c00b006df76385d47si12673629ejc.487.2022.03.23.16.39.23; Wed, 23 Mar 2022 16:39:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yfFgEujS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344575AbiCWUcg (ORCPT + 99 others); Wed, 23 Mar 2022 16:32:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234460AbiCWUce (ORCPT ); Wed, 23 Mar 2022 16:32:34 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D60828BF33 for ; Wed, 23 Mar 2022 13:31:04 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id m22so2874400pja.0 for ; Wed, 23 Mar 2022 13:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8oFqq3OAhLNYPmEUiRfaWEgxs162u2Kk2WATsf8DjFk=; b=yfFgEujSkMrvB7YkpTzShQMqW9DQ8ZztfhEKHxVi83cgbvHnbrolIbRgTLR7KMxOfn 9YV5bkeeTjzlAr2Qq6Y1Z5i4ADZUugUDosI9tIbgZlfiak/gLoXdW8SGrMhYNZ9ifN7h MxGmlJYpAjzH3fe/rnxaw5+lGlfL1oBzGijj99NLf66z1NHaQkDzvW7WZn2+qzZ7WAhw FmTnj/l5KQrB2WA5dwr3qv27AEUYV+Ai0Vd7qlehDx5dJrY8n3fp3c6esRVWM2GW9uYM g8zaGc6EQqLj/7T1fvJ08zTjASFOt9Jgwbvpj5Zgu6B1JgkXZ3xIzOgoh//wgzxSCysh YSSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8oFqq3OAhLNYPmEUiRfaWEgxs162u2Kk2WATsf8DjFk=; b=pj9ptOdNS4R8E3jrrL+lt7eR5ZYCuL/a3CNfVRBfe18vwoekmbEVZlBkpZThwu5cmT UArTFa9gQU/e6ntQdccaf1BA680jZXjSRQzW9RWE9EIb2ApvJ5hYZRSx4CbIuvgfM0oJ BW1DvQjWKSOEZomokNSNZLWeM6gYN1r5iZsCxBsJL9zAHes0BFr3XDdPtNHcFtszsgh/ 50vtc5/oplKRWnx/vy6KLSB/S7qmeVieYWB1rPmD50XzOAjec96ARxg8BWl6pM1c8jC6 Ld5kix+V128imDYa3Z9YjZFFrdFjvR5gi5RwPgI3Q3qgmi2KzMueC+5vZ8DopSE6eL9F CjDQ== X-Gm-Message-State: AOAM531yM/RM9zRLS7D+7/1hdb1+MiADAaNgYgCSV0PLLgXx2r28EPPx Fohn9H0hLRnj4ec3zlfAxxYz5vD97m6OQA== X-Received: by 2002:a17:902:7405:b0:154:68e6:9bdb with SMTP id g5-20020a170902740500b0015468e69bdbmr1879887pll.15.1648067464295; Wed, 23 Mar 2022 13:31:04 -0700 (PDT) Received: from localhost.localdomain ([223.233.78.42]) by smtp.gmail.com with ESMTPSA id n3-20020a056a0007c300b004fa3e9f59cdsm718476pfu.39.2022.03.23.13.31.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Mar 2022 13:31:03 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, bjorn.andersson@linaro.org, Rob Herring Subject: [PATCH v4 1/1] arm64: dts: qcom: sm8150: Add ufs power-domain entries Date: Thu, 24 Mar 2022 02:00:52 +0530 Message-Id: <20220323203052.1124683-1-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add power-domain entries for UFS phy node in sm8150 dts. Cc: Bjorn Andersson Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- Changes since v3: ---------------- - v3 can be found here: https://lore.kernel.org/linux-arm-msm/20220303082140.240745-1-bhupesh.sharma@linaro.org/ - Dropped [PATCH 1/2] from v3, which is already in linux-next now. - Addressed Dmitry's and Bjorn's review comments. - This patch is rebase on linux-next. arch/arm64/boot/dts/qcom/sm8150.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 6012322a5984..eed601e70229 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1637,6 +1637,7 @@ ufs_mem_hc: ufshc@1d84000 { phy-names = "ufsphy"; lanes-per-direction = <2>; #reset-cells = <1>; + resets = <&gcc GCC_UFS_PHY_BCR>; reset-names = "rst"; @@ -1687,6 +1688,8 @@ ufs_mem_phy: phy@1d87000 { clocks = <&gcc GCC_UFS_MEM_CLKREF_CLK>, <&gcc GCC_UFS_PHY_PHY_AUX_CLK>; + power-domains = <&gcc UFS_PHY_GDSC>; + power-domain-names = "ufs_phy_gdsc"; resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; status = "disabled"; -- 2.35.1