Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4667166rdb; Fri, 29 Dec 2023 09:10:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IFMYl/NiGmypqL1YuBDb/aJs9TdFEmZ61Y4sg4c2pQH/xa8mJkWEgJJmRzX16kmxnL8/ae7 X-Received: by 2002:a05:620a:1342:b0:781:60bf:2876 with SMTP id c2-20020a05620a134200b0078160bf2876mr3303195qkl.58.1703869828759; Fri, 29 Dec 2023 09:10:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703869828; cv=none; d=google.com; s=arc-20160816; b=Cu7Qjsg8WBEa2vCiSaZJx/J7CbP4lNVnFZKHTUhR3zuSzDoDuf4b9ToLRz0gVDjU/a k+aVn4XO5xuN44Ir+kg7csUxzaZak51GjChle8WBxzlhhI8rcD2pr4y+G/H6tLq6hQ+d qzgj1IVi3XLZAT4OesykYLqceaUBnqXmv4zFR+Vd5LvnOEaYw/DVXOd72+xxgE6i2jGS i6a/MwY2lPn930AeLrLKvlihoRnipD7HYtlj+onUNgsOjb6Pii6ALnVv/PN5W4j1xQSx HNVZ0vSpYIhyNC9I5i9JapMRlYKSUbylhuJkaPv6XCJYUIBzNohza7s2uCvZzEx9dYBt Y2SA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bn7Ypr1yINWIrF1HsU+9Oaoc2yoSbevJLsQCr58V/sc=; fh=tWGCbkeNpf8Tjb4339IJbPJO8k3eDPMCCyBWcUg5Gnk=; b=LjUck+iB8mRHB40mXQ448CmJ8Q8KaznFHtH9wJ9rHxKl6bJIEE2YbNqjKZAPYMsnw8 UI4VJmNVt3BDzbfiGffVmaFTnXJAbT6IH8i3TbkzgbgqLRjLSrBMIzkkXzEZFIPVNWMo xFV5Ai2V6uOHUQRnr6xtzJcvfThna5FuOAIT7fiHrSxfdGZkJ2WUF/HvaCKmMrtvTOxf gkbsffJneF+72Nzl4gBrLpZ4v0T3fOxAgCjWlOus9FqpmyKNvHiSsx8vpT4EY/m+Uq5C Z/zsM04EspPvVV3kQwzEY5UoozggKKMZF4JkEWVe3hHNGFWnzGf0xMSSGqkQ5XwA3Wkz LNrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1U6Vteg; spf=pass (google.com: domain of linux-kernel+bounces-13171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13171-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id qs16-20020a05620a395000b007810ca77e71si15417018qkn.539.2023.12.29.09.10.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 09:10:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1U6Vteg; spf=pass (google.com: domain of linux-kernel+bounces-13171-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13171-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 80B491C215FD for ; Fri, 29 Dec 2023 17:10:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7C9412B7A; Fri, 29 Dec 2023 17:10:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Y1U6Vteg" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC8AF12B6B for ; Fri, 29 Dec 2023 17:10:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-68015293aa3so18837846d6.1 for ; Fri, 29 Dec 2023 09:10:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703869818; x=1704474618; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=bn7Ypr1yINWIrF1HsU+9Oaoc2yoSbevJLsQCr58V/sc=; b=Y1U6VtegJF6D5UfqzdCATQZHq+jDXOJOXMRW9iNHWTiHJmeigFHD4IObfLCnMSEFGZ BbxASrfi9jrDomb2C2u+mXBMV+ZoFVuy0wQYu3ys8Deyi0Gr54xkiOiJyw5Ob/zepOpj yRw8N6lcky5+6LVm8utLMF0VnTdyN8KusGYijwZXxN4uAvwqGqcxtlhlKta6fjyRdCP2 0irugM5uBUop6gTBuWiZwsgRs/Fn+KTeL0URihIEKsX4oBWO0rAEm/nz3noEXtCyFz8v Qnz+PaD9XostiIHP4B+d+6Cd1FIRwHzt4M9Hf4cafDwojTBy32Aj3saVaLMI9aKlsxu0 KdFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703869818; x=1704474618; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bn7Ypr1yINWIrF1HsU+9Oaoc2yoSbevJLsQCr58V/sc=; b=jPYeHFQ1kFo2JgIi+11TjHE8Nxu6f83jRxgwvKizl/6Yjj3vB6cGkcGSwL7I87pLL1 gHGwdjWJ8Cyeax6jlhvGZ7nrF9clC98nUigGcyiEEFLMzD2Gz/KY70OkHZoqIqN0CPHA I6D3R40Gy/gKngGzgqr2nByhtK7L0vYWcn0t9lntfcuQIF4syW1TjFiP4lAGlPKoHMqm 9QTDgfv8vksgNUtRsT1pDCI3BTOzG6YHSGqOUJyGK6dUv6Mkm5wPh9+T/vsg1QgFZo16 OUTyyFfE9f3so6y4bqDBcMtGM9MxoDbhFZ3iABpnAxa1T5rZKkeYTbLLMUffH7Qb3Zz3 P24g== X-Gm-Message-State: AOJu0YzF9372Xm917BeJW68GTZBpKDGqpnr4iQ85zcGqsjMegJMuET2b GUrN9PlQx66AIBu7k9Wb8dsHQxW3NVDm X-Received: by 2002:a05:6214:a51:b0:67f:cf88:9912 with SMTP id ee17-20020a0562140a5100b0067fcf889912mr6376835qvb.107.1703869818571; Fri, 29 Dec 2023 09:10:18 -0800 (PST) Received: from thinkpad ([117.207.24.172]) by smtp.gmail.com with ESMTPSA id t7-20020a056214118700b0067f80a27790sm7161516qvv.37.2023.12.29.09.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 09:10:18 -0800 (PST) Date: Fri, 29 Dec 2023 22:40:08 +0530 From: Manivannan Sadhasivam To: Johan Hovold Cc: Konrad Dybcio , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold , Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio Subject: Re: [PATCH 2/3] arm64: dts: qcom: sc8280xp: Correct USB PHY power domains Message-ID: <20231229171008.GB9098@thinkpad> References: <20231227-topic-8280_pcie_dts-v1-0-13d12b1698ff@linaro.org> <20231227-topic-8280_pcie_dts-v1-2-13d12b1698ff@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, Dec 29, 2023 at 02:01:06PM +0100, Johan Hovold wrote: > On Wed, Dec 27, 2023 at 11:28:27PM +0100, Konrad Dybcio wrote: > > The USB GDSCs are only related to the controllers. > > Are you sure? > Yes, that's what I was told by UFS and PCIe teams and some of the internal documentation also confirms the same. > > The PHYs on the other > > hand, are powered by VDD_MX and their specific VDDA_PHY/PLL regulators. > > > > Fix the power-domains assignment to stop potentially toggling the GDSC > > unnecessarily. > > Again, there's no additional toggling being done here, but yes, this may > keep the domains enabled during suspend depending on how the driver is > implemented. > > If that's the concern, then please spell that out too. > > > Fixes: 152d1faf1e2f ("arm64: dts: qcom: add SC8280XP platform") > > May not be needed either. > Fixes tag is indeed needed on this platform and all other platforms too. - Mani > > @@ -2597,7 +2597,7 @@ usb_2_qmpphy0: phy@88ef000 { > > <&gcc GCC_USB3UNIPHY_PHY_MP0_BCR>; > > reset-names = "phy", "phy_phy"; > > > > - power-domains = <&gcc USB30_MP_GDSC>; > > + power-domains = <&rpmhpd SC8280XP_MX>; > > Johan > -- மணிவண்ணன் சதாசிவம்