From nobody Mon Sep 28 12:33:47 2026 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (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 3BC213F9F2E for ; Fri, 21 Aug 2026 19:10:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787339464; cv=none; b=WBIZADdD1TlRbqY0dCv5IfB6b4SBjfzLkXb/VERxmC1J+v/cE6a2lDu1iTEYGgXOZS5JLUkEPZyW2zfxpkSvL++UY2lvXHKbAKvqmXVXvy8XwYNM8T2+Re2Tg+dKb8u60v5GkTY4i0IbP25naV+llCujrgJWpwnsQNeMxlOwhu8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787339464; c=relaxed/simple; bh=Wj2/FCxfgoN9pTIag9V5UOlHB5Ai0AHI8O/OfyqIkVk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=ondfKlOn00h1r4BeNrx6SXOSdjn20lsn74FqRcHTfg2DP+4VPP4YvJhZkq0R61XvCqE5hlj3BKGz4NNBwpGkbRXtPbvBmPn9PacAvx+N/n1p2Twws79C3se12wu8lqodu5I8hoYMiCbKXVGSbL20c04Ryym9H402SzOl9fUFyfw= 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=LaFOU5hY; arc=none smtp.client-ip=209.85.210.178 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="LaFOU5hY" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-84a3323d858so107041b3a.3 for ; Fri, 21 Aug 2026 12:10:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1787339450; x=1787944250; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:content-type :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=rJfJ7UlhWP7ka12xQkmsBubht7Qjul5r1SRrCmaHXwc=; b=LaFOU5hY71ftCaTmhiwB5bj9n2Nak00wdycDKR/d+OqgsELglDK1RhXX4j7upKdDro CkGjGo0XeA1lxHXrJjSVJxU0ofiakUD5Q5R9gVej5h3TeoP7nBd4mVUdYv19JvJp6b9Z e+HoJbQJy+6O91wzmSj+5mH8+B38H2qd9LQnjsER+DoFJb996vqmamc1uKTJ+3zQCB23 su4dimfz6Jnsql8HAZoG+pKY3YBL3cz1RGbMcAeRgFOJ8ihjZhVfjTo3p6gJqQLa2mYk QX/o1iLD4a7ZQ2L8hc9dbqJoyoyF/Iz1glAPgQboVh4/gvDANcPP59XS13/KeWO5fJPM mTWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787339450; x=1787944250; h=cc:to: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=rJfJ7UlhWP7ka12xQkmsBubht7Qjul5r1SRrCmaHXwc=; b=gcS/5e6GCLWduidKo2aNoDSDZKbRY3Tq8IsFPAmnF0zVJOnR58dy725CbCLPN0Ysv2 8NlZOmCoNtjd9e6ucPoFx17/5aJFGZ7KUokX53KLiBuD9xk7KJBs3Xivk6J0c3fIL83p DKnPqmCtb+ukXOdi13Y0gV6b1g5hDWmP3by9LjKewUF8UqqHd4hoqvO4uhEkGu4OaTdK 6pnlDCCnViE4n+m0G3HdVKeVwG5JHRRtp2iJggLdBu84+Vtsu2iZwnnJ7h/ffAGrNq49 OmZtW7qw4XHnOuqCL6ptOFq6K0sgew169YR8FmtSCpZHs/V7MjShHmeEWG+Bh2eVB94G Vg0w== X-Gm-Message-State: AFuF++magi7SNNDNJz6B05EgWzsb4yqHdegwUpnZyhbUC4E0KCK4buJO lJiD0vTdur0QrAt2FQNbp0WBzahTABFbWfHuDK78UkfuWgt3fKCrTTMx X-Gm-Gg: AR+sD10mCyK3o1ylIV5h0M57Cz+O0cMofaVowFMfH4rcXkuifVHwk/dIj4vGp5HCZ2F haftnGVL4/CGhALjpFResk37zcybE23NodamdXyeExnSgPOpCXYH8Wa+vdQmuTudqyMFAMz0tDs Ebf6JopNXvILDZImAhAJes7toxI8KpNEWnMuoG1LUe7m83Q0fXxbkpejYWUrRCciZFCNT1v4s4u zqiZGsXKuPsiq3IC38aVF7b9LiHPDbBR7JYzhSnJVAZQbo5QHcVJcpk+WCr91AoHSQ6hNz7R631 zbgfYJXiV8VFPH215/rWtNhjXVdZs+PeNvzx/098OKF7S4AQHPHGDQdcN6RK1TRmAqc/yErPMI8 xEcNWdgPf1qnEvry5DaS04/Mn1pksYM0Gvy1kH8sV0mc9oeJszwbePyuLLcCoA6uORXbwf8O+uz 3sJvZRrKXYR3B64rUPwdkw/yfDNbhxNjS0z1MLdi+LZ8wB+533Wx/4BNhTsNeFzNhIJd4mZtq7 X-Received: by 2002:a17:902:e945:b0:2d5:cbd3:8eb1 with SMTP id d9443c01a7336-2d64b162c6dmr77580525ad.3.1787339450357; Fri, 21 Aug 2026 12:10:50 -0700 (PDT) Received: from [10.90.163.252] ([2409:40c2:5400:571e:d71e:3d6b:f245:8387]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-141860c6989sm278844c88.2.2026.08.21.12.10.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 12:10:49 -0700 (PDT) From: Bhargav Joshi Date: Sat, 22 Aug 2026 00:40:28 +0530 Subject: [PATCH] regulator: dt-bindings: ti,tps6586x: 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: quoted-printable Message-Id: <20260822-ti-tps6586x-v1-1-93cb46b32b27@gmail.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yXMTQ5AMBBA4avIrDUxDfVzFbGgBmOBdEok4u6K5 bd47wIhxyRQRRc4Olh4XQIwjsBO7TKS4j4YdKJNUmhUnpXfxGSFOVWXpZQjYom5hVBsjgY+v1v d/Ja9m8n6dwH3/QBJsbcHbwAAAA== X-Change-ID: 20260821-ti-tps6586x-b54e7111917c To: Liam Girdwood , Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding 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 X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1787339440; l=11466; i=j.bhargav.u@gmail.com; h=from:subject:message-id; bh=Wj2/FCxfgoN9pTIag9V5UOlHB5Ai0AHI8O/OfyqIkVk=; b=N2LNcGI5VzNqmsmYpop1swipglduY2GzaPvKsKVXz67oNvfQxA0Gx9n3QEQkXBl5nrZTiVAw2 00dG2XK53LjDSI2acOPeZ5eNYiGs9gIyRQM3QEjNvLIliZjCfXQsg5q X-Developer-Key: i=j.bhargav.u@gmail.com; a=ed25519; pk=IqNDwUZKECEA+n8wXctFLBbYL9NhFstZNbOznm/nX1k= Convert Texas Instruments tps6586x regulator binding from text to DT schema. Add child regulator node properties nvidia,tegra-cpu-regulator, nvidia,tegra-core-regulator, and nvidia,tegra-rtc-regulator that were missing in text binding but used in existing DTS. Signed-off-by: Bhargav Joshi --- .../devicetree/bindings/regulator/ti,tps6586x.yaml | 224 +++++++++++++++++= ++++ .../devicetree/bindings/regulator/tps6586x.txt | 135 ------------- 2 files changed, 224 insertions(+), 135 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/ti,tps6586x.yaml b= /Documentation/devicetree/bindings/regulator/ti,tps6586x.yaml new file mode 100644 index 000000000000..82c3a3c81120 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/ti,tps6586x.yaml @@ -0,0 +1,224 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/ti,tps6586x.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI TPS6586x family of regulators + +maintainers: + - Thierry Reding + +properties: + compatible: + const: ti,tps6586x + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + "#gpio-cells": + const: 2 + + gpio-controller: true + + sys-supply: + description: The input supply for SYS. + + ti,system-power-controller: + type: boolean + description: + Whether or not this PMIC is controlling the system power. + + regulators: + type: object + additionalProperties: false + description: + list of regulators provided by this controller, LDO5 and LDO_RTC is + supplied by SYS regulator internally and driver take care of making + proper parent child relationship. + + properties: + sys: + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + patternProperties: + "^ldo([0-9]|_rtc)$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + properties: + nvidia,tegra-cpu-regulator: + type: boolean + description: + designates regulator as the "CPU domain" voltage regulator. + + nvidia,tegra-core-regulator: + type: boolean + description: + designates regulator as the "Core domain" voltage regulator. + + nvidia,tegra-rtc-regulator: + type: boolean + description: + designates regulator as the "RTC domain" voltage regulator. + + "^sm[0-2]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + properties: + nvidia,tegra-cpu-regulator: + type: boolean + description: + designates regulator as the "CPU domain" voltage regulator. + + nvidia,tegra-core-regulator: + type: boolean + description: + designates regulator as the "Core domain" voltage regulator. + + nvidia,tegra-rtc-regulator: + type: boolean + description: + designates regulator as the "RTC domain" voltage regulator. + +patternProperties: + "^vin-sm[0-2]-supply$": + description: The input supply for the corresponding SM (SM0, SM1, or S= M2). + + "^vinldo(01|23|4|678|9)-supply$": + description: The input supply for the corresponding LDO or group of LD= Os. + +required: + - compatible + - reg + - interrupts + - regulators + - "#gpio-cells" + - gpio-controller + - sys-supply + - vin-sm0-supply + - vin-sm1-supply + - vin-sm2-supply + - vinldo01-supply + - vinldo23-supply + - vinldo4-supply + - vinldo678-supply + - vinldo9-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + pmic@34 { + compatible =3D "ti,tps6586x"; + reg =3D <0x34>; + interrupts =3D <0 88 0x4>; + + #gpio-cells =3D <2>; + gpio-controller; + + ti,system-power-controller; + + sys-supply =3D <&vdd_5v0_sys>; + vin-sm0-supply =3D <&sys_reg>; + vin-sm1-supply =3D <&sys_reg>; + vin-sm2-supply =3D <&sys_reg>; + vinldo01-supply =3D <&sm2_reg>; + vinldo23-supply =3D <&sm2_reg>; + vinldo4-supply =3D <&sm2_reg>; + vinldo678-supply =3D <&sm2_reg>; + vinldo9-supply =3D <&sm2_reg>; + + regulators { + sys { + regulator-name =3D "vdd_sys"; + regulator-boot-on; + regulator-always-on; + }; + + sm0 { + regulator-min-microvolt =3D < 725000>; + regulator-max-microvolt =3D <1500000>; + regulator-boot-on; + regulator-always-on; + }; + + sm1 { + regulator-min-microvolt =3D < 725000>; + regulator-max-microvolt =3D <1500000>; + regulator-boot-on; + regulator-always-on; + }; + + sm2 { + regulator-min-microvolt =3D <3000000>; + regulator-max-microvolt =3D <4550000>; + regulator-boot-on; + regulator-always-on; + }; + + ldo0 { + regulator-name =3D "PCIE CLK"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + }; + + ldo1 { + regulator-min-microvolt =3D < 725000>; + regulator-max-microvolt =3D <1500000>; + }; + + ldo2 { + regulator-min-microvolt =3D < 725000>; + regulator-max-microvolt =3D <1500000>; + }; + + ldo3 { + regulator-min-microvolt =3D <1250000>; + regulator-max-microvolt =3D <3300000>; + }; + + ldo4 { + regulator-min-microvolt =3D <1700000>; + regulator-max-microvolt =3D <2475000>; + }; + + ldo5 { + regulator-min-microvolt =3D <1250000>; + regulator-max-microvolt =3D <3300000>; + }; + + ldo6 { + regulator-min-microvolt =3D <1250000>; + regulator-max-microvolt =3D <3300000>; + }; + + ldo7 { + regulator-min-microvolt =3D <1250000>; + regulator-max-microvolt =3D <3300000>; + }; + + ldo8 { + regulator-min-microvolt =3D <1250000>; + regulator-max-microvolt =3D <3300000>; + }; + + ldo9 { + regulator-min-microvolt =3D <1250000>; + regulator-max-microvolt =3D <3300000>; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/regulator/tps6586x.txt b/Doc= umentation/devicetree/bindings/regulator/tps6586x.txt deleted file mode 100644 index 8b40cac24d93..000000000000 --- a/Documentation/devicetree/bindings/regulator/tps6586x.txt +++ /dev/null @@ -1,135 +0,0 @@ -TPS6586x family of regulators - -Required properties: -- compatible: "ti,tps6586x" -- reg: I2C slave address -- interrupts: the interrupt outputs of the controller -- #gpio-cells: number of cells to describe a GPIO -- gpio-controller: mark the device as a GPIO controller -- regulators: A node that houses a sub-node for each regulator within the - device. Each sub-node is identified using the node's name (or the deprec= ated - regulator-compatible property if present), with valid values listed belo= w. - The content of each sub-node is defined by the standard binding for - regulators; see regulator.txt. - sys, sm[0-2], ldo[0-9] and ldo_rtc -- sys-supply: The input supply for SYS. -- vin-sm0-supply: The input supply for the SM0. -- vin-sm1-supply: The input supply for the SM1. -- vin-sm2-supply: The input supply for the SM2. -- vinldo01-supply: The input supply for the LDO1 and LDO2 -- vinldo23-supply: The input supply for the LDO2 and LDO3 -- vinldo4-supply: The input supply for the LDO4 -- vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8 -- vinldo9-supply: The input supply for the LDO9 - -Optional properties: -- ti,system-power-controller: Telling whether or not this pmic is controll= ing - the system power. - -Each regulator is defined using the standard binding for regulators. - -Note: LDO5 and LDO_RTC is supplied by SYS regulator internally and driver - take care of making proper parent child relationship. - -Example: - - pmu: tps6586x@34 { - compatible =3D "ti,tps6586x"; - reg =3D <0x34>; - interrupts =3D <0 88 0x4>; - - #gpio-cells =3D <2>; - gpio-controller; - - ti,system-power-controller; - - sys-supply =3D <&some_reg>; - vin-sm0-supply =3D <&some_reg>; - vin-sm1-supply =3D <&some_reg>; - vin-sm2-supply =3D <&some_reg>; - vinldo01-supply =3D <...>; - vinldo23-supply =3D <...>; - vinldo4-supply =3D <...>; - vinldo678-supply =3D <...>; - vinldo9-supply =3D <...>; - - regulators { - sys_reg: sys { - regulator-name =3D "vdd_sys"; - regulator-boot-on; - regulator-always-on; - }; - - sm0_reg: sm0 { - regulator-min-microvolt =3D < 725000>; - regulator-max-microvolt =3D <1500000>; - regulator-boot-on; - regulator-always-on; - }; - - sm1_reg: sm1 { - regulator-min-microvolt =3D < 725000>; - regulator-max-microvolt =3D <1500000>; - regulator-boot-on; - regulator-always-on; - }; - - sm2_reg: sm2 { - regulator-min-microvolt =3D <3000000>; - regulator-max-microvolt =3D <4550000>; - regulator-boot-on; - regulator-always-on; - }; - - ldo0_reg: ldo0 { - regulator-name =3D "PCIE CLK"; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - }; - - ldo1_reg: ldo1 { - regulator-min-microvolt =3D < 725000>; - regulator-max-microvolt =3D <1500000>; - }; - - ldo2_reg: ldo2 { - regulator-min-microvolt =3D < 725000>; - regulator-max-microvolt =3D <1500000>; - }; - - ldo3_reg: ldo3 { - regulator-min-microvolt =3D <1250000>; - regulator-max-microvolt =3D <3300000>; - }; - - ldo4_reg: ldo4 { - regulator-min-microvolt =3D <1700000>; - regulator-max-microvolt =3D <2475000>; - }; - - ldo5_reg: ldo5 { - regulator-min-microvolt =3D <1250000>; - regulator-max-microvolt =3D <3300000>; - }; - - ldo6_reg: ldo6 { - regulator-min-microvolt =3D <1250000>; - regulator-max-microvolt =3D <3300000>; - }; - - ldo7_reg: ldo7 { - regulator-min-microvolt =3D <1250000>; - regulator-max-microvolt =3D <3300000>; - }; - - ldo8_reg: ldo8 { - regulator-min-microvolt =3D <1250000>; - regulator-max-microvolt =3D <3300000>; - }; - - ldo9_reg: ldo9 { - regulator-min-microvolt =3D <1250000>; - regulator-max-microvolt =3D <3300000>; - }; - }; - }; --- base-commit: 818bebeb63dd6bf5f4e07e145f6cdbace520a34c change-id: 20260821-ti-tps6586x-b54e7111917c Best regards, --=20 Bhargav