Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6073025rdb; Mon, 1 Jan 2024 07:43:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkyGwIZ5CEzMT9+F8XLOWMBZhkafHdFMIdqPjQHvESl6wpQI75TZh67d0Dt+7cJeZItUPk X-Received: by 2002:a05:6358:921d:b0:170:406b:7ba9 with SMTP id d29-20020a056358921d00b00170406b7ba9mr15115186rwb.18.1704123837801; Mon, 01 Jan 2024 07:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704123837; cv=none; d=google.com; s=arc-20160816; b=qS+6Y2OhlJYtVqcbFKBHr60Pu551kt4aUIUB6zbhMijOu5HAMCvAmcGAtDCcvJuzvR sIfAhTNYgv/eV8b6wN0E7RnW0lC+6r+Zr24Pu6IGg5CK4lhYq1ujciiYKVJi6sZBrtMP VDZQt0kx7/MyTVC2VkV+2UfylDE0sE7qvnr/F+JeTInjWZP1USClL8Vj/dLUFyNuI55B M1Kfuniv1cdP2oFJZz3448kAcC1zONsLYurrpzBAglsvUjPkkwcYbbTuXJ15As4GzEzb 7iX1JL5Dmfw+yp0W+5rvBSk3a2SfYb/1ABKZSJIX5qKtecGXI6p1IJ7mj8uyNZc7/srl UnKQ== 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=v/MYCm7D3qKogBuNTzjsHOe+XI50dlDTCYQa9/wM0Fk=; fh=XVT8HpHP+oi/H3kg5rh3t8oYfs/xDPrm0UAa+CpEKyo=; b=dbRzD+227R3TZZazYB9LMzeKYmzRcFvBKDgoyIK7e1N7Eu/4WJ6Po4ERXKpsapurJQ lfvk12CE9py7BaSGjIb8W/MXvKjfGC3ipSXF5rO4nyuwrK+VhH3ZHp7y4Mle8qzhxfG4 pf9f/kSqgm1sFuzQC+vkR9DKXz1Cb7ZBW2IvWYzBUhzQnIZt4VzVsK4BEpiDoYpM1wNK skRdEe2u+qvBNjZdeoSLNDNKH+Q24ft04+JMsUUhRWtyBVBHIPf6NoI0H2XOW40SUWd4 XmG1sm1vW7lw4bEv8JIw+j+6NHUn8CIuV7RNJzhAFyU20F7byCpyeKwEjjWfPfJ6z9Rl fv7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eZRCOX8W; spf=pass (google.com: domain of linux-kernel+bounces-13889-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id a1-20020a170902ee8100b001d0bcb88302si18535427pld.580.2024.01.01.07.43.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 07:43:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13889-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eZRCOX8W; spf=pass (google.com: domain of linux-kernel+bounces-13889-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13889-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 72063281E00 for ; Mon, 1 Jan 2024 15:43:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE61A63DF; Mon, 1 Jan 2024 15:43:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eZRCOX8W" 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 D128F6116; Mon, 1 Jan 2024 15:43:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95469C433C7; Mon, 1 Jan 2024 15:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1704123827; bh=zPnzCjn9QOkXUy8dvYci9jgjlA+acxJXGlng7zvr0Gk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eZRCOX8Wa+h7iZPKz6qbhKyje4SPcdT7RhbQP2LY7C3E8vHjtPJr1tNuwGEPbfFVl QSpxMXeJGAV2KqQYaEaYTCdoEI1ZOYfr/FzuE0ZGc8+A94yx8kSriEBe/7LXVibkaj T5YkRwT4sr4FvbROX9AkM1Gex/DA8LHMUA3fdIEzgr+ElbAyzuT1U831mPX8QekctQ B5p0YNxX93cY37btljgd2nG6D5VTgxMPhMUJ0yj3+4uTI9yuRQLIV3XUNey3+hhC0B L3cJkUdqTLrt3bKAYznj7dN3P0fOeygzyB5U6YbXpJFDS70OWKZ/W6yhBRMr/QO3vO oE5EFzXvFo+iw== Date: Mon, 1 Jan 2024 21:13:36 +0530 From: Manivannan Sadhasivam To: Luca Weiss Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , David Heidelberg , Caleb Connolly , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: Re: [PATCH] arm64: dts: qcom: sdm845: add power domain to UFS phy interface Message-ID: <20240101154336.GA3280@thinkpad> References: <20231229202959.266502-1-david@ixit.cz> <2710291.mvXUDI8C0e@z3ntu.xyz> 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: <2710291.mvXUDI8C0e@z3ntu.xyz> On Fri, Dec 29, 2023 at 10:37:56PM +0100, Luca Weiss wrote: > On Freitag, 29. Dezember 2023 21:29:54 CET David Heidelberg wrote: > > Reported by: `make CHECK_DTBS=1 qcom/sdm845-oneplus-enchilada.dtb` > > > > Signed-off-by: David Heidelberg > > --- > > arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi > > b/arch/arm64/boot/dts/qcom/sdm845.dtsi index c2244824355a..ad8677b62bfb > > 100644 > > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > > @@ -2644,6 +2644,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>; > > + > > resets = <&ufs_mem_hc 0>; > > reset-names = "ufsphy"; > > This is potentially the wrong power domain, see the conversation here: > https://lore.kernel.org/linux-arm-msm/20231204172829.GA69580@thinkpad/ > Yes, GDSCs are the power domain of the controllers, not PHYs. This applies to other peripherals such as USB, PCIe etc... - Mani > Hopefully Mani can give some input here :) > > Regards > Luca > > -- மணிவண்ணன் சதாசிவம்