From patchwork Fri Dec 8 00:44:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 752356 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZuGB66Er" Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B3FB1724 for ; Thu, 7 Dec 2023 16:44:24 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2ca02def690so18086481fa.3 for ; Thu, 07 Dec 2023 16:44:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701996263; x=1702601063; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tRH0ltu/8xOeCYgi26zDqsTtGrYZ67tsC2xGcsHS4PY=; b=ZuGB66Erbwu7e2NdgoM4TcEDf0RobP0fogwVYjJ4twA+I7eugTTZP1Edmu0ZXzgDtl 32U61LV++2Aa0uZmvDfhTTeIW2qfg4ONxHeZqSZE398u4eJ6ChkS905pFmAJzUTfMLfC xjtx3zT/Lo3lPIs1vOHExr2/c6PrFStNE0AqtqOJuz3pt+GYB2Sv/YLPTtgw9TVYFP/4 LK71TJ++vcMjjsN41IXqoqu81BFlHiOErRMORonvkSiT3a2X2DgvO5DXuZmJDo6lSwsI yIWy2hmTatuOeZIQVHzFYoeloSXf2ApkpdWDff8CPVQhcfVYKIMgVFwofFrRV2spqZxX Ae3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701996263; x=1702601063; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tRH0ltu/8xOeCYgi26zDqsTtGrYZ67tsC2xGcsHS4PY=; b=xAQEQKeVwz4uV06Bz4AodEuNciEF0ZbENgvXqYDiUvnhKC79DYu8/eZhMNi6eQQ0LR xuk3n4nTk6L0i3k2xDPK4kqYeJssFZ9zjGfVMbcJ1+yvzaNt/vkPE+NeZySSI86lxPVI zhlNggZlsDgTCLNgu74PUjry71+l5YYycYBCjMIdrdkFqnBTrOuUzfEF+1MAK0BlP4hv VYL4+YNcJ+52QdpJR43QNah3IChHv/t1JtRIP+3ywK8KStEfHhU6JWCoUlmw87xrlsqm FS6DnBytm++Hjfh1ZxeMwcpLN2Wh+BBUwgjGjd7UNeTC5mImXL1ifANIWTlxG2W6xa62 Msfw== X-Gm-Message-State: AOJu0YyivuWcNjwov8b6RKT9UX8ftnBV/RPydc/dMP5HHF3RUZi4MppS 5i7bRf9m/HIquRkCuqSThJ5UyytpfupEN5I+60g= X-Google-Smtp-Source: AGHT+IHwybtxoLl4yQz0bsTFhOLvQQldFboYc0ShfFu2bASqXKvHxCiansYhsBkwtWa9B9cKK1N46w== X-Received: by 2002:a2e:808a:0:b0:2ca:1ddf:cbf5 with SMTP id i10-20020a2e808a000000b002ca1ddfcbf5mr2116960ljg.36.1701996262916; Thu, 07 Dec 2023 16:44:22 -0800 (PST) Received: from umbar.unikie.fi ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id d1-20020a2eb041000000b002c9f2c7cdecsm82645ljl.22.2023.12.07.16.44.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 16:44:22 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v6 07/11] ARM: dts: qcom: msm8960: declare SAW2 regulators Date: Fri, 8 Dec 2023 03:44:13 +0300 Message-Id: <20231208004417.3393299-8-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231208004417.3393299-1-dmitry.baryshkov@linaro.org> References: <20231208004417.3393299-1-dmitry.baryshkov@linaro.org> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 f420740e068e..0ab340405784 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: regulator@2089000 { compatible = "qcom,saw2"; reg = <0x02089000 0x1000>, <0x02009000 0x1000>; - regulator; + + saw0_vreg: regulator { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1300000>; + }; }; saw1: regulator@2099000 { compatible = "qcom,saw2"; reg = <0x02099000 0x1000>, <0x02009000 0x1000>; - regulator; + + saw1_vreg: regulator { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <1300000>; + }; }; gsbi5: gsbi@16400000 {