Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp581896lqm; Wed, 1 May 2024 09:21:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVb6LfaSlyOkXVeXkQ45kVkYtp9+oSHr13TelCqNOEGlrvucKciLGUhhvg+JCjldxX0ufOJH6lyFDe9xb2r2uHQrk3x2KtUN65mAis92w== X-Google-Smtp-Source: AGHT+IEoJmqaQTIn/y5T/YG2/guxmicLdQUVS1bjDb/0WMpRF544yPzdddrIbESSfuZ+rDj/S0aU X-Received: by 2002:a17:902:c40d:b0:1dd:e114:121c with SMTP id k13-20020a170902c40d00b001dde114121cmr4088588plk.56.1714580468670; Wed, 01 May 2024 09:21:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714580468; cv=pass; d=google.com; s=arc-20160816; b=OB1maFKfqDdIm0Xpccdbi/HQAuab+jG4EUqEb3C1kHE5tHJlEqemo8YzhfLdoN7asF YQTauMhUAg8aRAgOJGRz+koLTnOtviRo81AjEw/E68e4coO06Uo1iciCxHzNVlTqVydK gMBhUzuxP/UXA+sPKh7V+B7wzWFjoB/VWM8zSIc2yuhAVTMfo1kBYvCkTAOQz6a1y/cd LlstZ79K2/HZ01xO6VtG9XeSJyfTROWZe9uW5dzmbWWX704zj5e8lBaCvImxrPSaZiCW +Ad7Xo81Sf4PEKhrZvu/YHcydbBDdAxayPZnmRikVtLXOr4mmwaCLMwKjBOnYgCb1sY4 woSg== 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=eE064Tt+USwNcWBmC/lxuVCrqUw8m0WdQguIAwzhth0=; fh=i22eqmt+w0oTENEzYr+4FPOa0ui8KouYBqRedpbNY2I=; b=rvwMlH7RGaavhhg4L6tb9sOantw+6S+W1uwNBZFoHRIUSxMC1RSXdcDq14vsRAyYEU 6Pc3dbai6cIQ0Fi1wY7vs15amu7q6NLxMTu04EABx8fQw8Xs/w1efoNauiR4mh+3jH3r 1rWcpkirjX1KMNfFPI/C1Z/33R6nT9cwLwCjgQf2fYXLK9ScNVmHsuSWax5Nd3blLmhG AKI+Vus4mJwxI3xKI8wwZLEncmW8xhrFEJZ7QrHn3t4ovfn8WnW2gyZTISKUBDb+XWtw z9w+Ar6txl6DHZingJf6wMyzY8lz0ijQA5YrXcfIcLCyndz2+tvCczYxQdOkGD4G4E0h wCkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=goWmVKwk; 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-165561-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165561-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. [139.178.88.99]) by mx.google.com with ESMTPS id im15-20020a170902bb0f00b001ec92225e92si1595856plb.362.2024.05.01.09.21.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:21:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165561-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=@linaro.org header.s=google header.b=goWmVKwk; 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-165561-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165561-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 0555628246B for ; Wed, 1 May 2024 16:20:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 57125131720; Wed, 1 May 2024 16:19:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="goWmVKwk" Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) (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 AE731130ADA for ; Wed, 1 May 2024 16:19:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580389; cv=none; b=p0pw8gCZ9MDIGEnumu2mLckUVVxD2+Ie/Br4ExE58KqQiOtpYVk07xm2LIgl8YJVWXHSIIg1KvKbunAxfqPpUgnb4v6X+nBlQAU8CFZlRx4VQM/6pvKmsJxzkoz9upK2/9vlF+X0oQDOR2iBJ3QIV9Wp1bMSLQauDx7RVzHVIZ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580389; c=relaxed/simple; bh=U6Q+67PbdRpsMf2p+D8ZYXA8/GLgExMANFnZ5cyl3DY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=dS9LZeKyerNltN15ZbaQSalJH6AQ6DvUtFnoTQs4BWRC95iiwwNDZafBl8cojNN9T07z2PsXzA2Qy/izHGtcTUCWLqSXmGjM4humkYPNB4Eb6m8xiphYQ/bVrA/Msh35E1hCh0vLS18wjfQ2oyTN8m0wjsivw+12LfBFJFQi1IY= 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=goWmVKwk; arc=none smtp.client-ip=209.85.167.48 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-f48.google.com with SMTP id 2adb3069b0e04-51e75e7a276so1886504e87.0 for ; Wed, 01 May 2024 09:19:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580386; x=1715185186; 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=eE064Tt+USwNcWBmC/lxuVCrqUw8m0WdQguIAwzhth0=; b=goWmVKwkUS9DVioTKGz+w1txm7qUoJtakA4llUW3vZVsydW6EDJiPFM5v0/8HoYxrp 3AzCKt6MpITLeb3asSI1tCEriDSzcdKjLNGakNGpTFTGgXSMPPFfOeRvoyv5hcl35hm0 OirREV15sfjpZ7ab1YI4UDGB//JBRTDPdttyvthxGoKZkE8abXDVrw4l855T5+HOQMO1 HfP8vlCbfewHfkLsKd+zck+LfqAMPi6b7vQQE+l4mKJwsemMOYc5P6UoX9yjXaaWF2EF YzGdPPDZZPo4TrABdexgdGfsxJ9Lrislvvs/jfRLKguCS2beQBnlGZbk5ad2Pl2i6dxV cmuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580386; x=1715185186; 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=eE064Tt+USwNcWBmC/lxuVCrqUw8m0WdQguIAwzhth0=; b=ewBzH1kijUt1a5cotu8nEcomzhyMECwks2gHKAqf2qTtvIDrKQGevYKaKX0W2mjKTk FZ7Xk3/RUu977Y4xpT+79kf4VbV/lvUsuDn5tPvUpsG03KEyy/QqfPquEC4BQPufaZ/1 Nj/j0eWlYnvJR6AswQut20G5yWW142+88438aQMTk+XDM4HUa6nwZXntuhSwomqR9yGv jSzSAdvdgHmbDDpol1CUzHglABw/h39QzOG2BpanUKDgVhMkjBbyNti5NkBt6RblN9FI Jn1wiyY/aBJsipK2IsUgUfuPY1pDa42p9a8jrXkh0M2nIqRN7y4eQb2XoxYBoJHjOj17 FUfQ== X-Forwarded-Encrypted: i=1; AJvYcCWgYK0d7oayVRyaRj+fCfu6qYnCH5YxZzMZRofAF4zTGTgwfrir3O9kwWWcZS6XdbdMrIvxjAWPrCWCBhfFldZk6FXwfomIan7QaP3y X-Gm-Message-State: AOJu0YwVvJN55BQ7Z4vMOida7BEPEyGbBfR0rcaOMDUoB/KdrOBx9v/V Nj/h49SaLfRc6G5OuJ2w5mQHbxxprnPX5fk6aI1TbHLTnhOh/WhF64S+G4WWKp0= X-Received: by 2002:ac2:4299:0:b0:51e:fa9d:a532 with SMTP id m25-20020ac24299000000b0051efa9da532mr214449lfh.37.1714580386060; Wed, 01 May 2024 09:19:46 -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.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:45 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:32 +0300 Subject: [PATCH 06/13] arm64: dts: qcom: sdm845: 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-6-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=772; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=U6Q+67PbdRpsMf2p+D8ZYXA8/GLgExMANFnZ5cyl3DY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZrozUCTRszRcXBdCdCerl6UKTSZO2E+q7F fmL1NsYLa2JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1eHvCACUhDO18VR4nX6R6vpsu8U7wzpgKsXJ+Vqw/2jx4g5XL/T0HYlIU8MqX2LxmEaacWUFCfp m/lZTwf3VJ8Knn7Gjs4YnCPiy6BHQlRxUB39Ga0U6ycewNEGqYIQRt4nQltgNzMWAY4Nd2vS1E0 si04S0hx7S7Da4RcRhDp8WNZ0usr4sNx+a7DbZ3XW6YOKKSJ0gSLXzaNccD6iAB5iOirRpTR9Hn H3W12LX2hyBfkxhe2a8n8jfDyDVA9rw16GNUPj0eJDiu1cNc5K/01vi7Nyh3Xko8O5vXXg+xcMT r5Gf6iiP5bD1u34Ohkid6Tnk76/xBO4mehG0KgMmBA8QiQo4 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: cc16687fbd74 ("arm64: dts: qcom: sdm845: add UFS controller") Signed-off-by: Dmitry Baryshkov --- 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 10de2bd46ffc..26b1638c76f9 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2666,6 +2666,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; -- 2.39.2