Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp581710lqm; Wed, 1 May 2024 09:20:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjOYrKvi29E0We/p7ZVnYofNDIYS8X7r+6wHGh+2T1oTP9XFh4gL04px/7CCfOgChntxuEY22LXYP+HozC3VWtFiy084El1S0e/smOjA== X-Google-Smtp-Source: AGHT+IG2mGdjrTCHMnBQW+WNr8N+Q/mVolmhLiOMWY1s8hAADnX9R211FJZ7S/Ke7nLQhktSmfLL X-Received: by 2002:a05:620a:1482:b0:790:fbaa:55da with SMTP id w2-20020a05620a148200b00790fbaa55damr2824951qkj.45.1714580451699; Wed, 01 May 2024 09:20:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714580451; cv=pass; d=google.com; s=arc-20160816; b=Y5pYqS0QKw0/R6IdVghgo7GoRHsQMigAwCGxdLrdvxRAD5yg8Vs6kEXEocVXP+cB4e ycTreHERGWFrPeDZeLlWOfWxgcozRefHDwpwRK1JmAJd8D1d5viCaorUS+BntxrlBBME KVpW8T7tAObmBhtpv0jT6YSf3v55C34PH3KZ8D7A9deJ6lOy1JTm+RWUmlOUQP3mINew tWd78kmXbFnSqApR5oreasI0SfbRz9iiTL4DkX34eYZHk6BIo7AwWeGVMK/WI5KVzuWd K8Kedc6VIgPBmBx2y+3Ys88ENsXCILRN5P/yzHwZux57XUyHP7JV1kKvqTkHMe8f/pdl NMgQ== 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=R1LGjwu6MzdUaPKjH/XiZET2m/eVi/2jDASuOiEvjq4=; fh=6sXvXoT1iFCYIohyT/7sRVDJWR3UaRMfyRlBsOSX04g=; b=epev+dFpEkE9iQgxtI0iPH99QyQK50mR2Pa9pAUCbV07GdEDvmX4xG84Sh9NyHGtNe pRgwZtOQtVsCqK9Ba+nHIgalDHzZ75Is964ZRFWu6+uJIk/Ue3dQtH2BiqurokYcWmJ9 426JxBUtYddhwoNh4ylbl9MI1p0hpQQhzZ8MUhDGwctBhXKEKoOCjBphht5jJViMMKKg SoKlMBQs2Kbqzb208i4Ve+VXkip1bluROHERr/6fSnNzuSGqYTgmvF0C3i29pie9SjPb XsuVNQrs6/bbHDrfLA4a7a6e3V8NC7y3TF5xzL3LqYZ/ZBSCSS7zuu/v5q34tJ4ilR2j O64A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vhs8RVtY; 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-165560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id v20-20020a05620a0a9400b0078ec8244f78si30674362qkg.28.2024.05.01.09.20.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:20:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vhs8RVtY; 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-165560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165560-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 5ED3A1C21391 for ; Wed, 1 May 2024 16:20:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C4F571311A2; Wed, 1 May 2024 16:19:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vhs8RVtY" Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (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 00BF9130A67 for ; Wed, 1 May 2024 16:19:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580388; cv=none; b=edWNS4TYDpUbmYnbaPrnE31zy5Jidbqt+oqFbmt30UFlypssWAxJb1P7wgA8VMsF3Xf6zUxvECxPd03YZnjhzbaVYOtmxVmb2q2e9MREEPbdLg2DvhNmCU5kPX+9LvoFNviGxZd/JmvLn+mMakvgcl98ZmEKauKprFpY6ARuHbQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714580388; c=relaxed/simple; bh=rlPIxlI5gdNvSgl0pBH6f4cNs0y9HMlaG1lqaxfSHzc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PQXDP8e/H3jpbddgwzQj8eHR8J0iKi+222YqL5TXvrR5YDhb8oETVeeGqJY/PJ+lIBo6s4BYXKs4EYtpFgusvVyFxtHa/FI7GPQGcYpyyOWvk0oljLyqSjzIxFCnbSYsjLh6SD4FijTHK/hTT4MKXszXKaFMknL7+8zeoKPMViA= 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=vhs8RVtY; arc=none smtp.client-ip=209.85.167.49 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-f49.google.com with SMTP id 2adb3069b0e04-516d68d7a8bso896228e87.1 for ; Wed, 01 May 2024 09:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714580385; x=1715185185; 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=R1LGjwu6MzdUaPKjH/XiZET2m/eVi/2jDASuOiEvjq4=; b=vhs8RVtYfhxL8uwhjdATG54hAL879UV93jNH4YmQ7harZQj1POFNXRg9/SgyC5WIUD vKuGxhJs68s2wMRVGGWEstjb0Kjjs4HQbaV9IbQ2eCDCs3X39N2e/MY+vegYjjEfGVKD dcA5HqmfXqErNyrvdBAiPS+BK7XJyDS3onyGK9M+HoTl1VtIgZaMpeb5oMUdflYDtO1U 7Yq9k6fQbOk5tvRVoRjgC+CQaRy3y0T+Bs6pKLsEsCxX7zAnxL5jAfH0sdUVTvEk8Mgn Tii3LLBFVg2K49hs/7XIhhl6PEuf9iAOYXL6+jHdbSK+lWlc7gkBkBFkREct1OTxeRbx bnYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714580385; x=1715185185; 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=R1LGjwu6MzdUaPKjH/XiZET2m/eVi/2jDASuOiEvjq4=; b=M33JXucZrh7mvECrobv2X4H2GtrBx6uNUuswtNQeURm/HOoqdf/xlW2I91uvFWfZLE 0OLHt3T3r0OYDLEkIgGCf4/NBgmJQDHVhC8l9TNeaism6RQ3ezYmeiJdVPiIbydrf8cU 4WFGOTrwPWgYX4QK7e15UUnpYCI/xgMdgxtt8dP9xj39SpBhMBOrY3YZZZIEdAObGkXl MbQ9PgDokMUXAOLvAr3qTa/fWn23CMwLBqSJqRG5WizB0RCTfoztMyhz7A4YR6WOD6JL eoefzXjkz9WK3HYK20S3ZsZctpK8EDS+mis3RmIlFDzqeVh9Ki+2/VVa4ddn4yJtyAha nulg== X-Forwarded-Encrypted: i=1; AJvYcCXkFNTNm3UydGxYPDO+TgO/76boyEiEDGlFSuW2wrzkLVJ3ssZgPjXg1NOT4Hab7JDmUEBfa/f7Tkr68Ud1uLEoY6iG76ZJtgV00sYq X-Gm-Message-State: AOJu0Yx4RT1fAIH4sZoO7IDfFzmpzA+B1IEoha7qCCYDcSfp519L4+66 slm7r2oEGQCs2AeNQk7GTwMX+A5CEXSSKp3IytE0IhCYIWEK5g0J0fQHCl8FDHo= X-Received: by 2002:a19:4304:0:b0:513:dbcd:7b8e with SMTP id q4-20020a194304000000b00513dbcd7b8emr20829lfa.24.1714580385326; Wed, 01 May 2024 09:19:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 09:19:44 -0700 (PDT) From: Dmitry Baryshkov Date: Wed, 01 May 2024 19:19:31 +0300 Subject: [PATCH 05/13] arm64: dts: qcom: sc8180x: 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-5-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=795; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=rlPIxlI5gdNvSgl0pBH6f4cNs0y9HMlaG1lqaxfSHzc=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmMmuZrkU7RCccVr5fxxcKJu0/+NwDnrejC4MnY l9KXgJNBjqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZjJrmQAKCRCLPIo+Aiko 1V4OB/0XXfnlyOiHQ8kKWuNpT53Yz0hVFoL0ULg5DYUTwTF+/ZMfbHzxmY/2kF35NcnasEB5hH0 GYQfdgSgwopA4o+2ujJ2WW996MXOpce2Y9COy9/p8XUqCSAULK2ikvkSAaU2gC8nbYw2RaOv0f6 zRkmpVKsIK41+jOTe2RLCSPuArsO/d58evA5BxoBm4lGScb229ApNkAt2Bu/b282ggPHU1/QGNI bMgAOhPT61cp+cfCtRKyJzcSXaVRi5TyEThgkjaQQ4WX+p+dWiqf+Q+pu0I7CPZeGZJjFWQ54Dz /be9XNMnAaR8zM6uG8TitOsCEbD/UTZhvURVCMNugUCTBWsD 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: 8575f197b077 ("arm64: dts: qcom: Introduce the SC8180x platform") Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sc8180x.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi index 2d2cbbff4e13..87479057adde 100644 --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi @@ -2246,6 +2246,8 @@ ufs_mem_phy: phy-wrapper@1d87000 { resets = <&ufs_mem_hc 0>; reset-names = "ufsphy"; + power-domains = <&gcc UFS_PHY_GDSC>; + #phy-cells = <0>; status = "disabled"; -- 2.39.2