Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp6356253rdb; Mon, 1 Jan 2024 21:22:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6UZXdcsYoynsdzOmaEe9m/jOEismqCOPgDWbsn9V60z7yhHx7anH/bcDffigChtyGQUzo X-Received: by 2002:a81:7814:0:b0:5ed:2f09:2011 with SMTP id t20-20020a817814000000b005ed2f092011mr5693420ywc.54.1704172952612; Mon, 01 Jan 2024 21:22:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704172952; cv=none; d=google.com; s=arc-20160816; b=E6QoChj59orjsLy4FU90qlmEsHbMjoeXHTwEhnvUa3iTs1ToSzP3zFWRDwvKqZdW5n lMy28vnrpzwyTYRaxje3uAvu5dAUqbericG+bn/xQXvAePkQkqGj3a6nDLD8gXpuvN7y 39+QlHSogjG7JoB8//7i63O8YNcMCzc2CaL9xS5vZzZPOwD+9WkhC21nHgZ3rQM16ZuM bD5by2PuOIvz28hP1GDrkOf4Fl12jie1fx8Rw4vaVHqQn3I0G1A3U6CqwH82g5mvKhxN Gv99kwJFisBJ+52hGWybpnCDYBb61foVeDU9sJnejzTUw6TURPCX/44JfdTxoAZqalkr THLQ== ARC-Message-Signature: i=1; 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=+VtkYGKI/Facsed70xRG043uUGhbAPCEinrMcrIy+Rs=; fh=fZbhx+jMjuxUAdMPGC0uJttciTMYnDPW8yRPWNbzqRg=; b=T7WFtTh2/sYfsLbxWU6tEJSSl53jkY7HtJ6wgOyfu1fKfTfGrLeCuy9fmZP2dF4rvC 2YqJhqgKsxtu7WqJm/NDvzPafPNd1V+EMa4dESQKTlZ2XqznHMFJx+aYMi8znn9t3UpP 8n0AezEbSQPAtPgm8tY1gqbun0pASxYuFvTSAfO5gzNB7vb4e/edRP6a/V4CasV0UBFU TZVTAtX5fpUDfmuSVwikqYl6WktlRI3YXkq+gyOJUGTz5n7kLrHq+4xTT/2IvrqmviNj 06FKYZHAdbdwjUyGjoxOdfwm0JtIpaZSvmV3Ic5wL3EsR7TOrFKJ314+fVYT2kS7UBtU wpxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lflsEZpT; spf=pass (google.com: domain of linux-kernel+bounces-14045-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14045-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 o2-20020a0ccb02000000b0067f27b5ec64si27063823qvk.141.2024.01.01.21.22.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 21:22:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-14045-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=lflsEZpT; spf=pass (google.com: domain of linux-kernel+bounces-14045-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-14045-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 4E1921C21236 for ; Tue, 2 Jan 2024 05:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0045914F92; Tue, 2 Jan 2024 05:17:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lflsEZpT" X-Original-To: linux-kernel@vger.kernel.org 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 3327D11C85 for ; Tue, 2 Jan 2024 05:17:41 +0000 (UTC) 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-50e9e5c97e1so569560e87.0 for ; Mon, 01 Jan 2024 21:17:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704172659; x=1704777459; 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=+VtkYGKI/Facsed70xRG043uUGhbAPCEinrMcrIy+Rs=; b=lflsEZpTx4eXjKjuYYV2FAEW2k2ViLx03kB7o1c6atF1Go4yOPqtFZT5X+T/dXMBPJ rHzqDBnrdOH/RjaGa8yoGIpPogAkY0a2aOExwQXJv8JUrtUDokQoibf7zRrwpuH4FvA3 lU323B75AY5+Pz//fKVx76IItrolRH2g5ETcfRaLZknIRXSfSCMc3oSNWzmh3NQZ0LtT 3r2S6d8KOYhTLcZ1YvO3YwxI5/KHEFiSgHOoASWNoXcBIqK+QJl/B5pafPA403gliyF8 ISLCWalO2XqzjH3KAVRZWtIqFnFmvUPJmif39GJ4Kt5pqsMDIve2dShr1wR711gFSk9M 5l4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704172659; x=1704777459; 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=+VtkYGKI/Facsed70xRG043uUGhbAPCEinrMcrIy+Rs=; b=JNeHq0k7SG4AXSwbroLONQQuxr06qcvOYotfmIj4urXnxF2g78Ya1KaJbhoIEsXcdX L717cNYLoHqNzN/O/axoXV2yNviOGPCd1vV/eOu/Tuq0UjKq6tFwJdYTm538msz68LVe GIxGscmOrbhmzFcOG3tSe+DbpCrRyv7l8PNhylqGUY3PVqxO706vBaERpnlCT8wzoOnL gZJvpj8BNuyYEUUBbna4B4u48VvtwaHqfDSJ3MuuaVc+1S8sCuJbxnisLtKWCGg7fSca jfsZcco8j5F2xubc//4/m0hFUEVJfMgxI1Hr9IECZ+7RGi7/0nSfVbTkbR+2FnQuupgj lotQ== X-Gm-Message-State: AOJu0YxVUAf1YdjDb1xutpwsojTBCt8efsIFYsWofWmn+Ipq1tyjJPko 4PBCvl8Go4VEdDIxsGfrUBRDjTrCDhf0fw== X-Received: by 2002:a19:e043:0:b0:50e:3812:c075 with SMTP id g3-20020a19e043000000b0050e3812c075mr6917824lfj.117.1704172659436; Mon, 01 Jan 2024 21:17:39 -0800 (PST) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id r25-20020ac252b9000000b0050e810689e5sm2081827lfm.33.2024.01.01.21.17.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jan 2024 21:17:39 -0800 (PST) From: Dmitry Baryshkov Date: Tue, 02 Jan 2024 07:17:38 +0200 Subject: [PATCH v7 18/22] ARM: dts: qcom: msm8960: declare SAW2 regulators 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: <20240102-saw2-spm-regulator-v7-18-0472ec237f49@linaro.org> References: <20240102-saw2-spm-regulator-v7-0-0472ec237f49@linaro.org> In-Reply-To: <20240102-saw2-spm-regulator-v7-0-0472ec237f49@linaro.org> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Andy Gross Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1323; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=xv2z1mRLciwpFcRbJRoxzOojlPfXpF0Q42hsn36SmXU=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBlk5xmoyNfziZAKt/pWZxSQU8cGTJKv+aT+OaC0 CdICTZnPzKJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZZOcZgAKCRCLPIo+Aiko 1cRUCACFC6N9EFQ7FYhRYtRRbIMtgsi1JK5KlJ/1rQdqkae16orOmJy9evmJAc91hSmBI2K+gYm +NgMUJdJ7xqboZbTaE+IGLr0YOPCwMFX9/rUDsVbZPb5vuPoeruMe8X0UTZ0UWq/NAy/CbF/JyR UsPOJ9nXRNA+1Z/RJkWJYalE0Qz7HgQ6Eh42jEM8YG5hgQbFUCP4gT7gwzhd5S04Elc+7aoOmgj ymF21jhbm6ZJ2X+uQMuBv/dssVbgZPxX33JkInNZf+vPAgsnDllQcmNhMTsiAyNiO03iup9OJWU HZz8/nL+33KLnckA1SjW5wC89au6bf1Q3iDKs7b+T5d3wbX5 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A The SAW2 (SPM and AVS Wrapper) among other things is yet another way to handle CPU-related PMIC regulators. Provide a way to control voltage of these regulators. Reviewed-by: Konrad Dybcio Signed-off-by: Dmitry Baryshkov --- arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi index 84c3d3ac63b9..e02e56a43fd5 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi @@ -223,13 +223,21 @@ acc1: clock-controller@2098000 { saw0: power-manager@2089000 { compatible = "qcom,msm8960-saw2-cpu", "qcom,saw2"; reg = <0x02089000 0x1000>, <0x02009000 0x1000>; - regulator; + + saw0_vreg: regulator { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1300000>; + }; }; saw1: power-manager@2099000 { compatible = "qcom,msm8960-saw2-cpu", "qcom,saw2"; reg = <0x02099000 0x1000>, <0x02009000 0x1000>; - regulator; + + saw1_vreg: regulator { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1300000>; + }; }; gsbi5: gsbi@16400000 { -- 2.39.2