Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4826396rdb; Fri, 29 Dec 2023 15:18:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IGTPok+C/iWQW8V9nelDsoYvv7AivNKpUyTHmHHSv8InSEXvKbDHKXt8nJVaWtilyCN8yps X-Received: by 2002:a05:6358:a088:b0:174:f1d9:563a with SMTP id u8-20020a056358a08800b00174f1d9563amr6702220rwn.47.1703891931580; Fri, 29 Dec 2023 15:18:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703891931; cv=none; d=google.com; s=arc-20160816; b=yiiCkvJsFnNO0lpX69GIcPUGh+epeK+v9ved6pvS/0Zk9eZlbiGbcLSwMyHd43x3wc v8qxnyKtWAC0GWb5vy8Svg7bXz9iFvKq1rly+eqR/wDKsTQ/7pC4pxhPupCVc32mD1tW qaxL9+kl63neMh93HNRD3m0Nf787Dz/0lD6hq7fmLsM8XIR7QnFutVWsXvK4EUgqXPt5 oxTlKiOvzbGcNvnKjMMXQ18KT4DXXim1utKERGyIKzHM4K+m4HKATvoYbFfSckwT4kbJ LPfXDpxgAYBwguw6PQAiz9Inkv350dTCS3nzNLL3gYmNSCENqHo3q6XUGZpmzXkp9jV1 YKeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=zSYUMSW0R8QXx6cCnsu+oWLbXKhMRIE3bmoXu2/jrdM=; fh=MZDVERTGSmYJ2Y/o8Ppk79D2hTCvPd6zq5t953iMrFo=; b=h29SWzhX34j/BGxCdSLnh4gKKJybLRp9iCL8BIwtoOtCQ9bFD2grChm2G+1N8H27gv PCjbvCIH+GgVO3v0Lwna3lUFdsOPdIvO0hpBEC00ae5/uIvQOBq5QTh2X+zAnCI/xSS8 MylZWSfRRn4816rFxyzFH8nf1nbsQnNTNbT8pYStVWRi+unb9Tq/hQ33P+xYXD5/myGB +MdKGy7pgt6oaREuWP6UL/aVNxOXP7mYPNuC4hFU02DkQMcUiQsoUSP7QUyGeBR/vIFR tfI7JOKOceXCUeLfGhFh8+G9sDl/erB56i7UOmAsNjv8qcGfo6JZRGTWBucHuAAC2pH4 sVfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b="Yy5Zu/tZ"; spf=pass (google.com: domain of linux-kernel+bounces-13276-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=ixit.cz Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t2-20020a17090aae0200b0028a0244d5d9si15224746pjq.164.2023.12.29.15.18.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 15:18:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13276-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ixit.cz header.s=dkim header.b="Yy5Zu/tZ"; spf=pass (google.com: domain of linux-kernel+bounces-13276-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13276-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=ixit.cz 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 390742838A4 for ; Fri, 29 Dec 2023 23:18:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7085414F67; Fri, 29 Dec 2023 23:18:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ixit.cz header.i=@ixit.cz header.b="Yy5Zu/tZ" X-Original-To: linux-kernel@vger.kernel.org Received: from ixit.cz (ip-89-177-23-149.bb.vodafone.cz [89.177.23.149]) (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 81A6214AAF; Fri, 29 Dec 2023 23:18:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ixit.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ixit.cz Received: from [151.217.64.190] (unknown [151.217.64.190]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ixit.cz (Postfix) with ESMTPSA id BB665163865; Sat, 30 Dec 2023 00:18:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ixit.cz; s=dkim; t=1703891918; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=zSYUMSW0R8QXx6cCnsu+oWLbXKhMRIE3bmoXu2/jrdM=; b=Yy5Zu/tZOCEaMxMLaeR8fx8Oy9cVlM+68+fuAA0WEY6dKO5irkmhmUmLKP6m+F3w3xCnkA 2A95IHTQm6h15gwqMLvy0dXNzW6ZKZNJO6Wrygs1P3yGQ42dA9Dd7XTKxymihEJn7YvMlA QgOM7J2hq5furiD4/dobTkVJpJi9j7E= Message-ID: Date: Sat, 30 Dec 2023 00:18:37 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: [PATCH] arm64: dts: qcom: sdm845: add power domain to UFS phy interface Content-Language: en-US To: Luca Weiss , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Caleb Connolly , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam References: <20231229202959.266502-1-david@ixit.cz> <2710291.mvXUDI8C0e@z3ntu.xyz> From: David Heidelberg Autocrypt: addr=david@ixit.cz; keydata= xsFNBF5v1x4BEADS3EddwsNsvVAI1XF8uQKbdYPY/GhjaSLziwVnbwv5BGwqB1tfXoHnccoA 9kTgKAbiXG/CiZFhD6l4WCIskQDKzyQN3JhCUIxh16Xyw0lECI7iqoW9LmMoN1dNKcUmCO9g lZxQaOl+1bY/7ttd7DapLh9rmBXJ2lKiMEaIpUwb/Nw0d7Enp4Jy2TpkhPywIpUn8CoJCv3/ 61qbvI9y5utB/UhfMAUXsaAgwEJyGPAqHlC0YZjaTwOu+YQUE3AFzhCbksq95CwDz4U4gdls dmv9tkATfu2OmzERZQ6vJTehK0Pu4l5KmCAzYg42I9Dy4E6b17x6NncKbcByQFOXMtG0qVUk F1yeeOQUHwu+8t3ZDMBUhCkRL/juuoqLmyDWKMc0hKNNeZ9BNXgB8fXkRLWEUfgDXsFyEkKp NxUy5bDRlivf6XfExnikk5kj9l2gGlNQwqROti/46bfbmlmc/a2GM4k8ZyalHNEAdwtXYSpP 8JJmlbQ7hNTLkc3HQLRsIocN5th/ur7pPMz1Beyp0gbE9GcOceqmdZQB80vJ01XDyCAihf6l AMnzwpXZsjqIqH9r7T7tM6tVEVbPSwPt4eZYXSoJijEBC/43TBbmxDX+5+3txRaSCRQrG9dY k3mMGM3xJLCps2KnaqMcgUnvb1KdTgEFUZQaItw7HyRd6R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gB6xJz9Zc4WoNnifc8QjyhsQ7K0UI9jykBXrb1ZZO DYlcrAqh9Sx4vNTmdi6pJWSsrhDtfmDIw81GIW5pc0QpZPqGeKMi5xEU8se5fQ21DuE5LRKF Zd4Uq64igWvLAgHIcJHgNbc5BruuZm9p1+S5SfQGfnOYxJM1PkY/E32H52iV/Babj30= In-Reply-To: <2710291.mvXUDI8C0e@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 29/12/2023 22:37, 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/ Thanks, I was thinking about  SDM845_MX, but then looked at rest more closer qcom archs and thought it'll be likely GDSC (also by looking at ufs_mem_hc reset vectors). > > Hopefully Mani can give some input here :) > > Regards > Luca > > -- David Heidelberg