Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4523453rdb; Fri, 29 Dec 2023 05:01:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBnoILR4ZGRZY4HAjthpuZWh9aGKT+7p42P6K9UmpVKcgLNJeWjbGSnWBIEQydXJ23X4tf X-Received: by 2002:a05:6102:3ed6:b0:467:35fa:cd23 with SMTP id n22-20020a0561023ed600b0046735facd23mr2431381vsv.28.1703854893799; Fri, 29 Dec 2023 05:01:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703854893; cv=none; d=google.com; s=arc-20160816; b=YChymGtG5pr3iVbtyBCG70Ah/5MXxCokepvPv1klq2Uv7uCe2gPGDy1sQ23iz9QFnp x+xew+AUgIAmG0crH70j91UFRraEPu55ZVlm/aPkYjvA6SPtnM2mXhaV5i2tuEUa1Fam FmRwq8LMmYSzVqR4HxiGIt2gti6QRcgjYAu0PC8sBal/4TNeyzj1b3aD/E8C5FNJ+kph cS5LoN6UWtinxQHcfGmiunr1zEq2ApPYh8o/wFNvLwMP7hfRabea3pS/HYhLFBaTILqP s64EESoPHbLR26JGbQ+rC1fSrfihFDVf3PhGNVlwZJfh8AW3M+GJS4TVsiZ/ah0+a5Za CzbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+z8PnGuufhdWfckz69EANUdPH8H9ANya/IkgbNmyov0=; fh=/mTksL3vHH1VcANFHGU4DFYCYMEAlsSi9iZiMWs+96Q=; b=JkOauGQJOoJEbab6PLwlpxV1NFj7zYKVxXF/mowQtoWxqE+8hQm/dbJR68gmZpER0m zX9Ypvu7orvVVSYgplZcnmheGtH3r49s454B6juv7bfne94AylTW/GoabMw8LQDE7yxI l0WI6ievmhyoi3toC7/7hj3Hu74zpQQ08AdpdthjGWKvQt81Q2btxrKO4WB+1Q9a6r87 +4MOdj9FXLHCma7EvnNe/JOdn15uoTXyP/r44pcz0yy37J3+5ooA+CrhYFynrewm0NoM yPVyEjeSMTAUFDiYjtNcpoDu1zTM4qw1IrudxwHjBrFFbSysdzItPODPMieyf701WWjX bJCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=N5iIvUsb; spf=pass (google.com: domain of linux-kernel+bounces-13088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 je21-20020a056102179500b00466f5822f4bsi1378255vsb.128.2023.12.29.05.01.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 05:01:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13088-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=@kernel.org header.s=k20201202 header.b=N5iIvUsb; spf=pass (google.com: domain of linux-kernel+bounces-13088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 8A9B01C218E2 for ; Fri, 29 Dec 2023 13:01:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 818F21172F; Fri, 29 Dec 2023 13:01:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N5iIvUsb" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A811E11705; Fri, 29 Dec 2023 13:01:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 218D3C433C8; Fri, 29 Dec 2023 13:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703854874; bh=3DRFvSQwixMH0DXgU8nYRceIY5QE4EsSnvVGoP7ntTY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N5iIvUsbwk+t29KgblAN8s6BmmNldvrHJEsyE0VydeVI+6gDAfPI4a1Bs1pbT3dAL kin7FFubLw5beSFOcDE+YjzXAjQWoOhY/etxE4VaKlu76m9F3XSbv/Nv8o+StRWnfP bjtKQjzZNHwagttZILdNkzNqe4TJKwpjpYnO+ONYoQM4cUf+ba1IXKH9vOvc7Vzu5R 4RS2LKtm5RfSnq6l9stJWLsNS8NDV1UMJBIT5ObMKJmLlFwwt/VqwmGvvDjLWOKzKY ImBT5M0+tfwF0jYkehMMrX8pltg3o9fusJ9GMcr2NVvpzKWrbpo53caGl/2wU6jgJp Lz7dOzs/D2WhA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1rJCU6-0007hq-21; Fri, 29 Dec 2023 14:01:07 +0100 Date: Fri, 29 Dec 2023 14:01:06 +0100 From: Johan Hovold To: Konrad Dybcio Cc: 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: 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=us-ascii Content-Disposition: inline In-Reply-To: <20231227-topic-8280_pcie_dts-v1-2-13d12b1698ff@linaro.org> 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? > 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. > @@ -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