From patchwork Wed May 1 16:19:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 793758 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (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 0DFE4131BDF for ; Wed, 1 May 2024 16:19:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580394; cv=none; b=Anmfs38HkQc1Q6rLXrxBi2b96kN9FO6k078QjWmraSk3/yJiY0tfheb+yJZy6H5tPDqlzojjim/etrJDdi29HF/c+nhW0n5jGxLoFclpEBMkgXAhQ2L2vnU4mNAULmiRgJ0SD0zGVKCM3kYZOzYiWHjAdlcFpy+Cn8BYqSwpTxM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580394; c=relaxed/simple; bh=crSGRR+b7lbsWsWhLmgSfaIcD39glncVkDnT2aotG1Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bUuL5b/m+NO+8CHT4w/KZJw2fWmLHqmi5RMqLcQkDRUwKpIlLnyFEFYLMoPCHT5YGe0vnNVB1E34aAjmTOTDwREWAKJZDD+U/aBA+D2/4CVeyJZXndULBXX1Z39PliRUSMTAQRf831UUuT39enhW8P2lKEVzs/6TZmNXJPsXPcY= 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=zlPpjYyS; arc=none smtp.client-ip=209.85.167.51 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zlPpjYyS" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-51967f75763so8128958e87.2 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=1714580391; x=1715185191; 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=Nj3BTK0l+BT9bbcti373frC3vH8O2ITnLgMyO1UCPOY=; b=zlPpjYySgI2U4YdfFTX5V3btER9DzrnvEP5uoYpju08QZMMr7r1JpYs7hqA+gUu1Ap 4rLapQ9NB2JeatSpfrbCgzokRQHigqIrqIUBnVVmWIqFp7E5hyBfWBewk+ZSUN4fHpRb QNaxclOqbqTRaOR+lG2pQoRl9vvCHYMoYMU8G298Gmjv9HBQFTBQOJcu3BAEA0l6GgE6 4REqauHehw0RlEawvCaporOHLXqIczP31JPkg7ObvOX9F/rUDAMIgmLsb15mxRQ2EEEc LE8uAdcqEOwwakJKSwUNKVpl8mTWXse307KSJZIXoYllAlqfYQ9nhF/bj3V74u5Q3yaW 25dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580391; x=1715185191; 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=Nj3BTK0l+BT9bbcti373frC3vH8O2ITnLgMyO1UCPOY=; b=SspCdV3i51aZ8IzkdeYEuRoCl9oFdGzt7MPs+N5oDjjRXDPpS3Iausgk953i8FYUPp WCv95m+ybTrBv06LECKZokQ3K/tveR4xfBENarCQadf1I3MNKoW8DSY0uusppnGPayMC 9GquxJgCI8DexvTVFI3c26egedG8XzVnFQHNywQ1vGSA/CGCNC7qPd/YL844ljfItujs 1z+Z42Nea7VBxLMFku0EjakH1mjYuPRBCJ1wS1FPZVVQW6Egs9YyUbz0q8FfTBApVoQt AG2Jo6BV+UUbk9ujryulj12vqPshu9vOxhd/viH8rZIEIkYu0t8E3BcGjobbPaBLWcje aHIw== X-Forwarded-Encrypted: i=1; AJvYcCUePWx48NjlfFyhewhPgQ6vZzqJqWfrV5w7swT6KWq7DGjOlvPt7XFo/j2VhNjVdSyl9H0a25XGWbE/vEc1JbCNAObvgkPRq9Hp6/JDIw== X-Gm-Message-State: AOJu0Yyl5xdbBCoR3+Xwk7sUUFxe3BAD3LbEb7UXUH8vDuD9J7zclcxR gSHC2LqnaYVLpneaUnFuXRN0K6J5DK82U4f9cNjLA1OH6QyIlk/DBrI1WvAOyVo= X-Google-Smtp-Source: AGHT+IH5tqWHtCRAr2aX7+ZebCNeZ1p+W8axFzTMuyk7E9qHpzR2YiJ6RxjCDXO5qhQMUA1fIaS6lw== X-Received: by 2002:ac2:5d46:0:b0:518:d5c5:7276 with SMTP id w6-20020ac25d46000000b00518d5c57276mr1652942lfd.58.1714580391344; Wed, 01 May 2024 09:19:51 -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.50 (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:36 +0300 Subject: [PATCH 10/13] arm64: dts: qcom: sm8350: add power-domain to UFS PHY Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240501-qcom-phy-fixes-v1-10-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=767; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=crSGRR+b7lbsWsWhLmgSfaIcD39glncVkDnT2aotG1Q=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZ25x9RMFNxGeyyvINVNZjaMJ2VVrf0SXZX QiGBYnfYJWJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1XWlCAClFYNBSTiJ7a/SX/3RNxoq7j6Bny31sT04H37W7qPEcpq6UNiGYiVBrFycIriY8gxYID1 Q3GRx5qRyz2E2Kb8vGrbiDZ6zD20WfC3rMaxnyQYl+g/XF9PfILbF/xehPX5FrmfTztd5vS+IH1 JGV5svWgNvjGT+JZFbbvHKwPIuBllHI/Lu9bU2+ux/Ud6w0Xf2Md3zqQS9a2dD1U8zJ/SR1qyL8 zmqLGweUuncnP8g4kI90eN0z86UUC62nYvjxohj1sVFmscsgA9j+j+/DBALhGwuhcTAFcylurZz 62U6E5M5elS0/FvwuyusWgYvK/IMiUFvoNLvrjsaqjF+g8y/ 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: 59c7cf814783 ("arm64: dts: qcom: sm8350: Add UFS nodes") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index f7c4700f00c3..da936548c2ac 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -1779,6 +1779,8 @@ ufs_mem_phy: phy@1d87000 { "ref_aux", "qref"; + power-domains = <&gcc UFS_PHY_GDSC>; + resets = <&ufs_mem_hc 0>; reset-names = "ufsphy";