Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp828509pxb; Tue, 12 Apr 2022 14:36:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXUPvbZWwcPL8wYcSDk81EMI383Ce7aiEvh4wrchzfBeZuPW+xJ/aaawJFNM8hBzObUyuj X-Received: by 2002:a17:90a:8595:b0:1bb:fbfd:bfbf with SMTP id m21-20020a17090a859500b001bbfbfdbfbfmr7073151pjn.125.1649799410000; Tue, 12 Apr 2022 14:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649799409; cv=none; d=google.com; s=arc-20160816; b=X2Fkg8RsEHyFUErnZLfRn0mtgJWWzK6oxHw/uWnNbJg0ozLCnmWtFmxBB1x/sMOGl7 VU/jaaXqdrURCBbpjg9F7M1cFZu7AvEKb3U8bWumDDJNh28UZbP+tqWGjPJgKn6PKSYZ KXqtvLD8uo6TaCaePdxf+4bw0TZpbsYaGVf54E/lY8H57ihcavon09lnxMUOyxffKso0 O4fVd1UIjZE5CoLoTU0e7u9BUDX5k3iUKNaX+Frfol+zSMASClU7JuAERq19OvT88im+ 57qerKVWTQOWoW3Oa1U/vPxwlog6B16vIP+6QzcjP+XlQKZtfeqKjLreTvLlGoEFxcAN lXKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=7F3VAQ1QHUHvdbm5KEmjYRFlzYw20eZc2U1u5ZXGarQ=; b=vV5Y/IIUu0eiAOPaEX/fr1mfZhEOX5KB8TWqkFKPAHkhOHaSJX13OgTV/8JidaZ8L+ PP5aBFDKw2mX3XKC56Nk5ZALpOtVLWzEeqnS5XaBNafe1F5o7B3dWt+luYEd3eLRjEtx Idphj7he7Akhc+ZqOUNg6NEhZUjWFMBHS1Ew/cIXzS9cxPiR1C9pqRRNT02Wq53CK+fE 4RdITyBJ4j5QN2vF7Y/nEfmsU2rwaf5mYAsfGjq4I2KP75VXVMCAgmgyZh2qYw07crFS Nz6tCBIJztdZRvZzgyIz+iXyzza68OuT5AZ3Y57dRS/bWk95cUWFQMSyP6/2virAR/at zhRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W7CniYyt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q9-20020a170902f78900b00156c083f7f6si10174962pln.567.2022.04.12.14.36.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:36:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=W7CniYyt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B0B4538AF; Tue, 12 Apr 2022 13:41:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346082AbiDLSxf (ORCPT + 99 others); Tue, 12 Apr 2022 14:53:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235629AbiDLSxd (ORCPT ); Tue, 12 Apr 2022 14:53:33 -0400 Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CDD9D5D5CB for ; Tue, 12 Apr 2022 11:51:14 -0700 (PDT) Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-deb9295679so21717113fac.6 for ; Tue, 12 Apr 2022 11:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=7F3VAQ1QHUHvdbm5KEmjYRFlzYw20eZc2U1u5ZXGarQ=; b=W7CniYyt9A3iNGpo8z5f93wVR9XVnXb/UZyvMAOs6M1bwiWHMlYWj0SPOsD2mgzKrQ 2nIK0rNhsd8VrPvJL6/Gtv64jQkBUasxj+nV8K03dF/H8gasM2JUPIEW0eRS6ZbEBHqh IH3qTGqQXfTPZimlXrCb4tIM8O/u45TJ1gKw2b4rB03JK3eejEAIwlcrnj+mype1gh4k ixni5Hr2WUTnkj4AkyTXOxyQ3wrwnplWuxrm5F0mtNm0yoCi8XzMZ+KZNsLZN2DlMbTm gqFGlsF6kE/9uvtLJ9kwJFjpNAFKO19TKsU+whzYj2uuv50Wlyyqjbe+cxqTYDNeli0A 3aBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=7F3VAQ1QHUHvdbm5KEmjYRFlzYw20eZc2U1u5ZXGarQ=; b=Aht5SeNUG6CgBO70x984i3/67e7lQ944LBMFsMm6/glfMuEJeOipT9BIwu7EwdHPp7 KFj8S/RKpWWT5ey3IuJOg1y8pa8w/by/J8Xs04/pPGEVuVy76m127AJgVasfQfa93RXc CAWn8nBsbXfQxWORRWq3FtVgqxPWEfIDInhs5Jx2lODHxp3MoRLtgUp9+QU+zb8T/WkC trXIfafjIbo/UhPWX+KFKUeE3iPfKquTQaMpRS4ZmTnzXowT+JDp8170JbdAxDS7yioC TQL8BBY3QYB6pVl4z5maXwzZO+7XsHCU2tv1tgFO7QyN7CGq6evVjUEAfzcRKv3GW8ty XG/w== X-Gm-Message-State: AOAM532HxmlDoyWezH/4+WL2sxasBTWufWTM/XGWA0I9mSVsMOo6k79D 5o9LDfv6G0iZKQ7RNqJbAiM+pQ== X-Received: by 2002:a05:6870:4345:b0:de:f347:e2cd with SMTP id x5-20020a056870434500b000def347e2cdmr2716804oah.113.1649789474190; Tue, 12 Apr 2022 11:51:14 -0700 (PDT) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id z3-20020a056870d68300b000e2a0a74f9fsm5073719oap.37.2022.04.12.11.51.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 11:51:13 -0700 (PDT) Date: Tue, 12 Apr 2022 13:51:11 -0500 From: Bjorn Andersson To: Bhupesh Sharma Cc: linux-arm-msm@vger.kernel.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, Rob Herring Subject: Re: [PATCH v4 1/1] arm64: dts: qcom: sm8150: Add ufs power-domain entries Message-ID: References: <20220323203052.1124683-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220323203052.1124683-1-bhupesh.sharma@linaro.org> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Wed 23 Mar 15:30 CDT 2022, Bhupesh Sharma wrote: > 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"; As far as I can tell the UFS PHY sits in the MX domain, while the controller and perhaps the connection between the two sits in UFS_PHY_GDSC. So I believe the power-domains should be moved to the &ufs_mem_hc node. There's no need for power-domain-names in either case. Regards, Bjorn > resets = <&ufs_mem_hc 0>; > reset-names = "ufsphy"; > status = "disabled"; > -- > 2.35.1 >