From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-dl2-f40.google.com (mail-dl2-f40.google.com [74.125.229.168]) (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 4D90D50B8CB for ; Tue, 29 Sep 2026 19:30:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.229.168 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790710226; cv=none; b=sRFQZn95xUt+P8JhgT8Er+Hrk+6SlmprwAR1uZs7yMJakvZoZ/zvGWPSArH1Sf/WTxd/CMZj8Rkp2EQZ/+IaB19uhuCQ1IjN8N2v1N+PlBP3dbwhqY9D81vBVw79Ur/IkKKDD/1u5WsAkMvjwkdzI6mLBR+UPpDQq/euHuZqsqg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790710226; c=relaxed/simple; bh=6D/zV/BjV8cJK2Je+v+NtgU8vRbHOOzx39ErHS1L0wg=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QchIfKUSPcclpy7PqXyrh0aWBXhmKdQqZtbpd2Pts7/rbBq+ou7zvAuXKGCOnYgofj2xgJbTh2PGrwjFhX029IF35A49sNOUMCGj30Ibgtddio9DuCSuhNlhaCu65tNDqCUyn+2e4xBj8s4QPK6WkEOlaf8fT5/Q3HNtW85Wy3k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eogtCSYG; arc=none smtp.client-ip=74.125.229.168 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eogtCSYG" Received: by mail-dl2-f40.google.com with SMTP id a92af1059eb24-14c96a4b7c7so16425c88.2 for ; Tue, 29 Sep 2026 12:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1790710223; x=1791315023; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=/UG3W2zvz26cOj2el4KNelGNWjE9fyh79XyScbN/3K0=; b=eogtCSYGHV1QGIJ/cCszlUKCbzy8uUN6gdfY802OW604IsNG6nFNeq7UjdsL3lU47U VHM2rF5bqGHmnOjDPwrbYRAZljXlRdjBdDEzJyqa/k2lqNt2YhpVVKRdN0F9nf8sx9xI Z0x3wCIxJkaF8rzg6j6Ma1ClH8w+zSApjULHe+coVbQtR4afqcRI6SFxnDTa+CHFeh6P oGwKj0PblchQ3rboeiQYpd00AO1Ql4MwmYE40HAZYxhXRo1JZGS0UXzCr33a4+jBHn8G wOAkH7pE6sUidAuGbSJCLZWwLLqwESSygl8OgCrFaM+0EPVLJSBxEOkeJxp3jtNANE9k f1Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790710223; x=1791315023; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=/UG3W2zvz26cOj2el4KNelGNWjE9fyh79XyScbN/3K0=; b=gM7U037O6d5sV6WnG5SaspFpM9QdhcKGrw0OvuwOcOVp3CVmzLhf2UNgct1m+YMJco G2gGHEwPBYFUePcM1B6DCCopIxJyf7wsV7o5nSGj0ONKcb76T6YWu29ssbhXXNrcG8je Sf+B7Rt65jOgLUY03bi1+JxHF1IyvF58kSfJ16OM9ziY8lULecWx2PJbAfxNenIcWBMi 6JeurS0X7DEmF8MMYUA3xIGx8h46H3DWiRSeAy1FglKQY2ejPPDNGFFg8lsTHmEOIg4u GTtPyesGGiAS5rPralI9DzSrST+sZu626h5XO+0zpjFLzba4ZpXu2T6LupWZL04mvfV+ 3X1w== X-Gm-Message-State: AFuF++lBf7i2LxUhD8leiPJoPv3Nobx3QseMsWVQP+F/jStb06LuY/Y4 ECyND76SSwHOPYcFwWKTENYfNRfSDMYbY8eYAlrZ7UFjxM9Qq3Lbh7np X-Gm-Gg: AYBFou2FcRuWrNu6UbAyCzfl6bgvpcvbUd/xDQ69CA03VB582yufaZPv2ijwjcQDA+w wRF6Sy9ZFswLpt6FEm+mW4gqqidH2SkyAHpSLARvQhn06hvVJ9nbJRWIHTJgkOdhagTTgmryHYC hIFdsLRaglly9mSlgCNE/vluGuB5cVtEbpLc3VEjKFpOW7ci9aCILJw3hdylcgKdqAL1s8IDADL 9udai+mGjiHw6lwFYVySl+Es1sZkw/JTiBINqwtNNmyff1JM6k1QnxyYOjTAWnj08ZZzQyBcnka L7xuax9w7nTetqrVRN1mGwzdnLSSMs3kvTzu+amoT/uvA3ED1T6yEtPXN1P9ND3jm469XeZKZDA H+mCvARAjYZTV4Ce60PIKXrfb9iJPhUejoa/+65SjJxhSx1Kfsgz3Lyd+TWOVkMBK6EDe/AXq1W arOTn1qdY7K1N5WfuWv2QLyJyNIg1ELymWvjTv/hEp5W65b0ESQkXVVwRmRJMVnyY4mwH0IWxOH /2Y3wYRzA== X-Received: by 2002:a05:7301:7004:b0:33e:6714:3945 with SMTP id 5a478bee46e88-34c65f5670bmr486208eec.2.1790710223113; Tue, 29 Sep 2026 12:30:23 -0700 (PDT) Received: from [10.211.86.252] ([2409:40c2:5054:69f0:5c6b:5195:5b7b:d414]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-34c386b6bd9sm1275349eec.16.2026.09.29.12.30.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2026 12:30:22 -0700 (PDT) From: Bhargav Joshi Date: Wed, 30 Sep 2026 00:59:42 +0530 Subject: [PATCH v5 1/2] regulator: dt-bindings: nvidia,tegra-regulators-coupling: Convert to DT schema 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: <20260930-ti-tps6586x-v5-1-aac0273b5da3@gmail.com> References: <20260930-ti-tps6586x-v5-0-aac0273b5da3@gmail.com> In-Reply-To: <20260930-ti-tps6586x-v5-0-aac0273b5da3@gmail.com> To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Lee Jones , Shree Ramamoorthy , Thierry Reding , Jonathan Hunter , Dmitry Osipenko , Svyatoslav Ryhel , Laxman Dewangan Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, goledhruva@gmail.com, m-chawdhry@ti.com, daniel.baluta@gmail.com, simona.toaca@nxp.com, j.bhargav.u@gmail.com, mfd@lists.linux.dev, Thierry Reding , linux-tegra@vger.kernel.org X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790710190; l=4808; i=j.bhargav.u@gmail.com; h=from:subject:message-id; bh=6D/zV/BjV8cJK2Je+v+NtgU8vRbHOOzx39ErHS1L0wg=; b=bwFqmRHQ2OhNrqZV6NuV1o8SI1SN6Vo3ifa/hs6HvYRQ03J66So8GHbsMHHMQqbWeIKbHcAtU dr7iYLy4qpEAkQCTMuryNhdPTSCLUgJS+vWyhQ28jyIe5EecStBVQzO X-Developer-Key: i=j.bhargav.u@gmail.com; a=ed25519; pk=IqNDwUZKECEA+n8wXctFLBbYL9NhFstZNbOznm/nX1k= Convert NVIDIA Tegra Regulators Coupling from legacy text to DT schema. Set additionalProperties true as this is shared schema. Reviewed-by: Rob Herring (Arm) Signed-off-by: Bhargav Joshi --- .../regulator/nvidia,tegra-regulators-coupling.txt | 65 ---------------------- .../nvidia,tegra-regulators-coupling.yaml | 38 +++++++++++++ 2 files changed, 38 insertions(+), 65 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.txt b/Documentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.txt deleted file mode 100644 index 4bf2dbf7c6cc0..0000000000000 --- a/Documentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.txt +++ /dev/null @@ -1,65 +0,0 @@ -NVIDIA Tegra Regulators Coupling -================================ - -NVIDIA Tegra SoC's have a mandatory voltage-coupling between regulators. -Thus on Tegra20 there are 3 coupled regulators and on NVIDIA Tegra30 -there are 2. - -Tegra20 voltage coupling ------------------------- - -On Tegra20 SoC's there are 3 coupled regulators: CORE, RTC and CPU. -The CORE and RTC voltages shall be in a range of 170mV from each other -and they both shall be higher than the CPU voltage by at least 120mV. - -Tegra30 voltage coupling ------------------------- - -On Tegra30 SoC's there are 2 coupled regulators: CORE and CPU. The CORE -and CPU voltages shall be in a range of 300mV from each other and CORE -voltage shall be higher than the CPU by N mV, where N depends on the CPU -voltage. - -Required properties: -- nvidia,tegra-core-regulator: Boolean property that designates regulator - as the "Core domain" voltage regulator. -- nvidia,tegra-rtc-regulator: Boolean property that designates regulator - as the "RTC domain" voltage regulator. -- nvidia,tegra-cpu-regulator: Boolean property that designates regulator - as the "CPU domain" voltage regulator. - -Example: - - pmic { - regulators { - core_vdd_reg: core { - regulator-name = "vdd_core"; - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <1300000>; - regulator-coupled-with = <&rtc_vdd_reg &cpu_vdd_reg>; - regulator-coupled-max-spread = <170000 550000>; - - nvidia,tegra-core-regulator; - }; - - rtc_vdd_reg: rtc { - regulator-name = "vdd_rtc"; - regulator-min-microvolt = <950000>; - regulator-max-microvolt = <1300000>; - regulator-coupled-with = <&core_vdd_reg &cpu_vdd_reg>; - regulator-coupled-max-spread = <170000 550000>; - - nvidia,tegra-rtc-regulator; - }; - - cpu_vdd_reg: cpu { - regulator-name = "vdd_cpu"; - regulator-min-microvolt = <750000>; - regulator-max-microvolt = <1125000>; - regulator-coupled-with = <&core_vdd_reg &rtc_vdd_reg>; - regulator-coupled-max-spread = <550000 550000>; - - nvidia,tegra-cpu-regulator; - }; - }; - }; diff --git a/Documentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.yaml b/Documentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.yaml new file mode 100644 index 0000000000000..f5637a5772137 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/nvidia,tegra-regulators-coupling.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/nvidia,tegra-regulators-coupling.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NVIDIA Tegra Regulators Coupling + +description: > + NVIDIA Tegra SoC's have a mandatory voltage-coupling between regulators. Thus + on Tegra20 there are 3 coupled regulators and on NVIDIA Tegra30 there are 2. + + On Tegra20 SoC's - there are 3 coupled regulators:CORE, RTC and CPU. The CORE + and RTC voltages shall be in a range of 170mV from each other and they both + shall be higher than the CPU voltage by at least 120mV. + + On Tegra30 SoC's - there are 2 coupled regulators:CORE and CPU. The CORE and + CPU voltages shall be in a range of 300mV from each other and CORE voltage + shall be higher than the CPU by N mV, where N depends on the CPU voltage. + +maintainers: + - Dmitry Osipenko + - Thierry Reding + +properties: + nvidia,tegra-core-regulator: + description: designates regulator as the "Core domain" voltage regulator. + type: boolean + + nvidia,tegra-rtc-regulator: + description: designates regulator as the "RTC domain" voltage regulator. + type: boolean + + nvidia,tegra-cpu-regulator: + description: designates regulator as the "CPU domain" voltage regulator. + type: boolean + +additionalProperties: true -- 2.55.0