Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp582454lqm; Wed, 1 May 2024 09:22:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8MF0BTnF5TBmB64K2lGUwyP99GBVfDW+xvrOwmboUEF8OxAPtp1c2jGoiJRClPXUrGbjd6gfDWgOlhIP9iuoVW2iVnRCh5mhl0I2RyA== X-Google-Smtp-Source: AGHT+IGReW1fPncek43Um3DiMXcj4C4gDBNIxzcGfWH+kZSO4NIyeF15cPj8FUqhgyRT0lCCJ8TL X-Received: by 2002:a05:6a00:3a0f:b0:6ec:ebf4:3e8a with SMTP id fj15-20020a056a003a0f00b006ecebf43e8amr3601919pfb.15.1714580525007; Wed, 01 May 2024 09:22:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714580524; cv=pass; d=google.com; s=arc-20160816; b=feFWEVpJS04VrCeMfFaHjwaUfZyrR9ETC8XvAZ2/JLRmbYF4glE4yJo4xjGvj/qvrx IROOIoHpbyzgiRtZUlOaoqjWmm7fsuWKBSpNqdzjdeEDzONh7WdjZoOG5ZaUm8TajgXT F07IiXPMUUEqTZwidR0dbc1d7XpAucmQo5v7lES9lELvtSbZku7f2dsfKQlwbFN6R1iJ /N1RbHYVYLMDjaQrTE3TcGSfoB3hPyUNQJLjgIWQVTaoM0cI54XqUkr2S7TuBI359lRs p88ozQkzK01Q8SveDnDtQk0yt/VRDtvudZ6BoQ1yEOdhY3ysJh+8ALVij/rWi71M1BrV Xq2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=j0hw3jt/ESZ12mRMzPe0JCXtbJkvAHqnRe43cp2kTY0=; fh=fvkS0hkMPoB3rNZR364gDAfGFisC8zjWFBWqY4BM+40=; b=Dz9Ezittf/yJuLPNptZVBFXJ4XOpbQJASARjfKQ75NdMDeTcgn5pcA+yftuBZuCS9y czxQDo7VU1gBeVyBKlQ8oDkYf29vOsonzjWvtvXF7FG5hXjHXLyV2TdUF1uFQlaK2vlM BV2bAaPkktP48J0HeUFRjWAiEcwg354VFDnU/P23h5ByQ1IsjV3y3iGIehm9bBjl+I3Z O1edlGUZnaDNtUgK+pBCUqLnTOE9Kcy0z8BD3HA49W6o/79xC5Dg6A/xTvsblTRBQ8vr WzVGDBbY423buypnI01kNp/hjYf4dT4VrNsn361EtZiWQt2Q8mX9Ltkmb1hdqWDf7FMQ qvSA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DF2gAxuD; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-165564-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165564-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 fc4-20020a056a002e0400b006f0c062e08fsi23092307pfb.229.2024.05.01.09.22.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:22:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165564-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=@linaro.org header.s=google header.b=DF2gAxuD; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-165564-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165564-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 1419D28248D for ; Wed, 1 May 2024 16:21:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C018F1327F7; Wed, 1 May 2024 16:19:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DF2gAxuD" Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 55266130492 for ; Wed, 1 May 2024 16:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580393; cv=none; b=FaaBWgQG8WgDE1QSzcutaz4CGGwB1b9TlrtYpbXCYiWUk7g6hvvyZbFzDo7LwE+/zFimEcX4heL3rp0crCESwxQUi2BcoUzOW+w+a6bezEODW8emL0B27xP07EJ3vyuf4S2jTLNO+MVp6cKsUD3vTsupajMtUc9I+ht4U+Q5HrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580393; c=relaxed/simple; bh=v75KRPGJTvZofiWFQUifaPBPxJ84dw2ZsWnNnHjcb2k=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KdlfMZjCWVG4GMO56PsLeooLCgepMna44dxlCjLFZUPglzv0/zI16VzyoSJC1W5+GfhleRSFjqccryTBmUFjWYLhh3ez+Ng1lpwJLeYV+rnnb0cCYAqUmeCt6XVx/UHPzkSoHtvmjJciOPMGtu8Aql+yX10Y7ZqDf0mWvQNOrxs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=DF2gAxuD; arc=none smtp.client-ip=209.85.167.53 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-lf1-f53.google.com with SMTP id 2adb3069b0e04-51ef65c8b4fso291090e87.1 for ; Wed, 01 May 2024 09:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580390; x=1715185190; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=j0hw3jt/ESZ12mRMzPe0JCXtbJkvAHqnRe43cp2kTY0=; b=DF2gAxuDqwNr/IHYFMGxLEdCbCsXwfID6Wt+i1n//QMEOK+v/pKg2hEkUxwiaRDmkh i7jMeXVKQCYp4GtDfkx5O+VwWU0VDA+hIdpEpAsTZPz9e9d7eCdNku2bepbHWnpCJNpZ hj9Y6cYczL0D7gmER9ho3CxgdvCZ5ss8PeodGYUI0i9nkrlStEgX2TV6IMfk4gsYRvFG T4K+GDlBoA/xnH4wz9YQCAWPChFsR0YCrwGQkX2GFopWojVygQehWL82EftQLfypOGnw 0tFYk9zQEzzokApoP0kXfS8JM9OvfcYv8Cf4Da909lIuxThR2pUfvbM19St7+QqGwiNW tTdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580390; x=1715185190; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=j0hw3jt/ESZ12mRMzPe0JCXtbJkvAHqnRe43cp2kTY0=; b=DQZVV0JnQn0B/+NE29k4PwmQdvOq1XaVIL1kUwnElh4nV/jf8BVk/0b478f2smZUuX WeBNS40l3DmckZ2wa8chp9d3MISYGZZjRxJ67nh22JOfgKyYphr9M7+vEYCHDpJ+jOOQ JrSyf6dDDyv0BD/MdBLckiw5sZVSnkP9WSzpCHKbIVz0KQG0u+m/Bi+lVUiMBBOLtwaV RkZrVPOsldedwcedOZzFiUfhxdO2vCRzGEDuNpP1CMKnfB6ZarhL8NyMNloBZbWUW4vE HtNMCUIIV3M+sXY/MuQhZlefC2Fj7L/nS1HDh/d9htsu/Uys3svayVFWjC5Jf2vRCPfb mZfw== X-Forwarded-Encrypted: i=1; AJvYcCVOXi52tWzPI4P5VSt7+IMVj1S8QPPxreZgcdjpYblLYy84QspAslMHFM/gpf4OGalPbk6U15HpmPvBsHxhzW38L0CjQl/7s0j3XSd6 X-Gm-Message-State: AOJu0YzbXLPezd0Sc/rwDbEvFPoF4cspwJFIXIEvMTaCtpTzBBHP7Mqo OACtaWUcYScgdZ6XIYVFjWMIRKHZKRzB07eib8UnGh5nXXiHDD1hxxubQ/VjqyQ= X-Received: by 2002:a05:6512:3048:b0:51d:5de5:8189 with SMTP id b8-20020a056512304800b0051d5de58189mr2893596lfb.30.1714580390657; Wed, 01 May 2024 09:19:50 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d30-20020a0565123d1e00b00516d0029383sm4909306lfv.28.2024.05.01.09.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:50 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:35 +0300 Subject: [PATCH 09/13] arm64: dts: qcom: sm8250: add power-domain to UFS PHY 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-Transfer-Encoding: 7bit Message-Id: <20240501-qcom-phy-fixes-v1-9-f1fd15c33fb3@linaro.org> References: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> In-Reply-To: <20240501-qcom-phy-fixes-v1-0-f1fd15c33fb3@linaro.org> To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abel Vesa , Wesley Cheng , cros-qcom-dts-watchers@chromium.org, Bjorn Andersson , Konrad Dybcio , David Wronek , Andy Gross , Evan Green , Douglas Anderson , Iskren Chernev , Luca Weiss , Bryan O'Donoghue , Yassine Oudjana Cc: Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=786; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=v75KRPGJTvZofiWFQUifaPBPxJ84dw2ZsWnNnHjcb2k=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZkLhep7ItNeEem0QksekwHSJWJPgoJNXPV gY4PL/YOl2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1T2mCACbrpJPNbomiyQ95LQspmXzNhzZ8TBqV4Tzi/wJ6dCaqK+3f/qUlriWRaf0NCvwetrkx1l J0hW7d62W87h6mQj0IHlfziTv3N9J8KGOz3fIveTQ+CkYZDsZFLyMMBgsb7VRSwKAIaN/Xd/S+R WqYaU3V9B+DfOHHzPpF1oeqHDBm8QIdLxx935DNpoTviKHlxUleygeYQxT/2eMuTyBHZnmlrefO lgOoIaOdk6thH6fNp3TGi17mjnuXcBYuQ+S76HYR63r/ONMuBBGyEObr4zXvNfkErNAijObnGD8 PY9g+5CBsHogpb19+OqIRlwZbENg/sG4E/GjLa2TSR3tS3gL X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The UFS PHY is powered on via the UFS_PHY_GDSC power domain. Add corresponding power-domain the the PHY node. Fixes: b7e2fba06622 ("arm64: dts: qcom: sm8250: Add UFS controller and PHY") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index d6c8c6c2eced..425449ffac30 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2580,6 +2580,8 @@ ufs_mem_phy: phy@1d87000 { resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; + power-domains = <&gcc UFS_PHY_GDSC>; + #phy-cells = <0>; status = "disabled"; -- 2.39.2