Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp585643lqm; Wed, 1 May 2024 09:27:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbpmxRJimFzNu5j3Sxt0rrmg5IHk3BNQBLVPSSlaDyfgmnKh/xnQp9Wdu/oHw3SyZGbqlG8RuFoH0LG0b6yfwOGV7RUyiOkqrexI36hw== X-Google-Smtp-Source: AGHT+IFySNB0UxZXJRyoMzPcSs7FCZ01OcuAHozalwIXEajDFWYEiDXgT9CUC3L2UU5O451Zmynr X-Received: by 2002:a05:6a20:100d:b0:1ad:682d:55b3 with SMTP id gs13-20020a056a20100d00b001ad682d55b3mr2862368pzc.3.1714580834458; Wed, 01 May 2024 09:27:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714580834; cv=pass; d=google.com; s=arc-20160816; b=szKyzdvTL3LZQrJKvKk8RiBXhwIxNlf4gcU+FTbK9QZ4RmgAPasjuVuTGSZ45VtxXm Z/98zycZggELThrd6iVqG8XdCnbUtBE/KlgA3LycKzTXi9qYC8UyN0vwOobYSLFSWnHa S4+kU9/OxeD0UhKtcecaaVjl6XSQrmmEbTAHH1zhzsJ1c2gWu4Wxz+yNjlZWZM01ArtF jYmnVP/ayu/q/BCTdQx+sWg66wY734LpOIrO579oP4lFeTV3MEx3sYhw0Hv6RsHZ0T5N QbXWjVgpSeufI9VsnMI73OEHuVetryQFGqtvyp24jnuJAB6dlU1yCoAxssuwsyXSV6y+ zicQ== 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=SdE0TiTMN/48xeZ+pHH+oPuFReIZ69nKUJdRgCnFUAI=; fh=HQEYlnHq3UoNAGg/hY8zJM6V94N6+1UClvqS65s1TWY=; b=aMVPIqlDet0hP8fMjKc2a61o23OxSdAX1ym+qn+XRiq4u18ZJRL/bs4KeaVhNKryfo b+StITu4gOjNb/VH4M/vKpNNXgXFxcQ5/ynh1dzzfyCamlj7rQerIvwQh3PjTLhheTmB BEmkADx9YPfCUgvbwNBNucu4z6RLXHMtwmxcmOw1VylgUeIORaHwm/9+6Wi1iRk+BdXc T+Laa2GnilQdUeavINlQSaIQL1fMTnYq5pWDrCy9SR91WrKXAJkjKveIXIbxdcWW4o+k FfryeWvUoHeZd5QxAwujcQAQ/+899OhBlPxrTt95qyyo2BxS/fiV40u6f44TLiaYXjEn vdCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xQLaRh0R; 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-165563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165563-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l184-20020a6391c1000000b006060867f196si13940493pge.506.2024.05.01.09.27.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:27:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xQLaRh0R; 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-165563-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165563-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 38AE5B235A0 for ; Wed, 1 May 2024 16:21:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58E74131E41; 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="xQLaRh0R" Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (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 72283131753 for ; Wed, 1 May 2024 16:19:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580393; cv=none; b=GAbFP7iXHOJuZVXCJKtNA3RPUR+hoD/JKY0l+VA/C/A4KVKA+48ymGVRXZf2XeIIPAcBdotPttxrm0Ejwoq5I6uTLDMPyR+txtc2pC33Lff9PTvhqKUSOL9/KOg4y3t9laLcSciVd/KY7UA7fb0VqT4tf6bW3Om9f6vd9KXISEs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580393; c=relaxed/simple; bh=0+KzZGJu1d5OGxNXPG6e3n4G8A0DMlgKu2iIRaXSmrw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=tUCPzLhH6cZYzZdqJcphMm3HBt+nctgkHuMezLgf7+68hYcvpwNIe5XmCA5Uw66dosy/tAyMMaTOMGVN5+VkXLkFZ3UM559lg5KVzYu4JfFHeQ2ndY2wqd7MW0K/EPYYQKayTWUIp/hlRqm4kp1ohiTHC81W4KBkB+ab96OqREo= 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=xQLaRh0R; arc=none smtp.client-ip=209.85.167.47 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-f47.google.com with SMTP id 2adb3069b0e04-516d3a470d5so8753294e87.3 for ; Wed, 01 May 2024 09:19:51 -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=SdE0TiTMN/48xeZ+pHH+oPuFReIZ69nKUJdRgCnFUAI=; b=xQLaRh0RJcA7LYAZy58T/EF0aV+2nZkPHo29GYBoSGWLo6MqRw3UOqny+LfmDdB8AW +a/YPqDjERe0MmXwIPGI9eRHApYwK5YD6WLRphh5e0GEyStNmDT+DV1KRQIjahJW4Z1Y 3Ews0QtPAvt1cOaE+UrNujiCMvsIgWMpnAqu1CXf7HVHAWRBLDnZlj4vUxrCqtZ/P97Y GJVffVp5chvW+Rfh+C3bUjWr4R0F4tnngaBtS7W9U0sWtcHeVJJmKtRaJ/lDluUN/UdZ vVInYCEhcPSmUjc167axIdCGMEtdVHnAh2BFWdiNMIP3uFI0oqOrDTwtgmt2geT59vGe WAQw== 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=SdE0TiTMN/48xeZ+pHH+oPuFReIZ69nKUJdRgCnFUAI=; b=v+daZrdiiKihVhRGVx7KmdMO+xLvR3PHbcUvWStM/8SKBckqsqLZzG0/jQiqsBjXJc eekZI9yExiHRyyGpW9UY/7mTVXzLZIVdOau3PCN98jQG7OSiXwqObqXmSPxIw5Ubb64G RSU5UBxhK9csf0GXTmItVvAOZPQ+8joT3S8iJ1no1p/L6ksFIPek0YmazfqUQshJFZ4v U6XEYC8hwDW2tIpUpnz4ox5NQ0Y81Lwi7ZQUjYp7lC6GJpsfi5y0N3Ec8tfH2p1/7S7h 92D4jwpAzt2puxhGExWodvrVqJiBXybY0KmREQ7TUA/Hams62Pwkp9ZtuZ3sfD8sOT8q 0AjA== X-Forwarded-Encrypted: i=1; AJvYcCUUtkDYgXNbsSASFfyioqxSKxa8wtPKsVFgyLcux9livbEMuuJczVxArnWr/HPMOM3jEqs4RYfhJiVcwPHA++RB0hxPZlfV//rdpSuT X-Gm-Message-State: AOJu0YwYzgwBufra840/Hp7j2GJWXcIMpwgT44hhY8GvFrKPKUKG1qoT /l/RZ/4Be7wGEu22dPUG5KM/p1/MAg7g3fBt5Lcr5A6H3fpDp/U/q6K8HKdEdVA= X-Received: by 2002:a05:6512:717:b0:51c:1fb4:2327 with SMTP id b23-20020a056512071700b0051c1fb42327mr1723969lfs.24.1714580389720; Wed, 01 May 2024 09:19:49 -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:49 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:34 +0300 Subject: [PATCH 08/13] arm64: dts: qcom: sm6350: 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-8-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=0+KzZGJu1d5OGxNXPG6e3n4G8A0DMlgKu2iIRaXSmrw=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZG9KMaWwMEuMGJ6kOQpZ9m+V4z8y3kNlwO mGlES+81UKJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1c+zB/40c/bo//8AFR25A6n7dxcgpQLMeBuOuILTaGaPo7ScL2YXqhYwmyqoNCs1rq4Nrk4dW/z OhFRMF2bv5IWrbF536sObeUhNiot4h7LzixMbpsg1+bsd1qWs4VP6RfMoT/ov6T4EMS0r7gBKpu VmwZncz3OagI0BbtBgOGsRalVmVafEAHUNbgWMN9H9Stq9mUOJpQQftFZr09JRtOs9aV3u2iU01 U3Grhdtw6P/ULCrdlcIRvGJlKK0+1d7uIlR8RmcRAuNMxhkCl++OdtT0tK7LbrRgamVCD12YwTN Stbr+SbA+u3OE0Wy0gBFYWjHRZiG5Ul91RZOwgVjpq1rb2R5 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: 5a814af5fc22 ("arm64: dts: qcom: sm6350: Add UFS nodes") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 84ff20a96c83..acf0b0f73af9 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1197,6 +1197,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