From nobody Mon Sep 28 23:07:51 2026 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.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 DCAD8360EDC for ; Sat, 15 Aug 2026 08:29:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786782594; cv=none; b=DtaeXJrJ7BPYgGu89EmySEQif4Gtw2P7JKFWRvwMmVDDdwPRbRQrlEBSsjMCEk8FTZ0gCjaCoK1h/xoqBlpaLVQMqWOmY/UW2coe1ZR//oPffFH22nEykdF11M4erEeKjZ7KMV6fEbYEozkLefllJ8+2bMhiNT1CpcjJCX6HN4M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786782594; c=relaxed/simple; bh=0L7Ptkn6DjCvng8KPpxxipwT6NrUhFbrYnlc/sh3PXw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=smTJtGZ2xEws75K9oCvDpOibQsdz4VSWdgTep/0bocG+O/IGfWKTlYcUjPNaqC69u6gqeuhKkMg8yXBeY/kFiWAJr20goXwYzjc0n+/R1jePSX/QwrbpBXBf5Kg9kJPqOyKOGvHikN6qVwCkYKCxgfFa50e3lTo6YoVfBiu3qjw= 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=Ee+S7BRO; arc=none smtp.client-ip=209.85.128.49 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="Ee+S7BRO" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-495590dde14so23599415e9.0 for ; Sat, 15 Aug 2026 01:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786782591; x=1787387391; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=KLjD1b9ODszXcIuBQvXK2FX3mAT/O94vXUE00JK2RDs=; b=Ee+S7BROiXeilDQcH6hAmTi/fqGignX0BHw82G2Vsl9ReY7J9rgj9qP0hGeD6Y8/pO ghXQ9PRsvHi4lu9iq+EoCn1I+ADWoFo9+bnHajml9VTYBlIfbwfJOKcVgIi/JgE78WzC 5I+MTtONdfZTC/Th3pTag8yNxyDQv8M2G1gX3jDW6zcHgL0g6kM/7GpcjnemFdIat3k0 C0rZcD5Cs1bw45+DV0NXRxFDqWWuOBgDuRKee+MQgL1oPnouTj41vg/V0oQbszQN73LF FU/B3H0s97HL/1DnAnneyw0UG2bbRyQDVeCQw/dKbh5iGusqsDzCpqxJSlMtHNYrOyZm /g2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786782591; x=1787387391; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=KLjD1b9ODszXcIuBQvXK2FX3mAT/O94vXUE00JK2RDs=; b=get7HcBH9K/cr+r+AdMDCSH+5OrUcko9s458IulGbvDNdKCwlOzps7TAjkGALzR0NZ nTnkiLhy47w0oYu31bkkpZl+XAocGh0jM1Y8dZvC5e91FzfAIg2NSQChRKhIr7u71rrX pqySOIjsOGu09jzITne0onMchnL5L0Sb4aEe1gzYybqkDsjEFy46fFvdzoHSePuviJNl joPMdNbr3Q3v0w11wchTNk9YSF/T2WRx13g6LdoBKWmUHHmJFzrKqNvFEFZPcyisX+iN GSqORFE5M3QEqLsAkTSt5uARAJFV0fQIwaQS976HmVSRdgDqa2w60k5HE8sDyJdaPIG+ a1fQ== X-Forwarded-Encrypted: i=1; AHgh+RqAtjR9uPpj15yHgMM24Z/1JEXKazzh9lodJFn3y4XsH8ghJBnSGjfAuZ2WoP/MvsSI6J4pFmc53Tvo/dk=@vger.kernel.org X-Gm-Message-State: AOJu0YzkrevuTh07kFvOHJTyFNuJa+ZZlk8OIJTleSSFICMeVrjiTJ+i 3rroKaDYx9bTewV6xDeoD+S0qQQh/rwCy8Cil4YJo1JeZQWabm1dCIEf X-Gm-Gg: AR+sD12pmmelxcOBb6Ntm8nplhw/jeaIOtudJj9Nsr8yPKSR+OQ7jQttlGwO8AEfffA CWUToM5iDZGi1KKDk4zktN7iTAnGDm7s+b0w+kWExTIXYPc8Udwgmr1DcQYQ+jo8W7DIiMkiFFB 6ewZ3jO1mNuE1V35xxPg0aMPIDCScAzNGFMrLXvKU8ldIqceJbTi8G9kFYYCqyMKc5kQcK3L6ft BbuTYRuI3BSKRn5i6fyP7nJyRNU06jVYd9Z0bmE55KwsJS95IY9WsQtVVYaRstpqYvqRDCiDhb2 v+rc6rntBFbnJ22xTS78FmtixCumqwMJO+J88an9iZCDFrb8CEaBqwzgKSeEDQgpjiOJhWGhiBI ETxzmATobesrLMxrEg0Y4aqULveZLHjESCq0HKfUN0cHr2t5wQR6A4PVW51TH3YurEcvbDoGep9 iEv/dK/qJPBUlZhEADH4VRiWZX+PgXpryCyDebQrMu76Wbd8jC/lq9YrWM3AOryK0gu3iNP3IXx o5P1WTQuWyMhJIhtq9MV2GUB784t6o= X-Received: by 2002:a05:600c:3788:b0:493:e365:7630 with SMTP id 5b1f17b1804b1-4998798b5afmr114011975e9.14.1786782590880; Sat, 15 Aug 2026 01:29:50 -0700 (PDT) Received: from localhost.localdomain ([82.137.32.242]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-499899c138dsm99617695e9.8.2026.08.15.01.29.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Aug 2026 01:29:50 -0700 (PDT) From: Eduard Bostina To: Conor Dooley , devicetree@vger.kernel.org, Eduard Bostina , Krzysztof Kozlowski , Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , Rob Herring Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, goledhruva@gmail.com, m-chawdhry@ti.com Subject: [PATCH] dt-bindings: regulator: Convert TPS65023 to DT schema Date: Sat, 15 Aug 2026 08:29:13 +0000 Message-ID: <20260815082913.2144978-1-egbostina@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Convert the Texas Instruments TPS65023 family of PMICs bindings to DT schema. Signed-off-by: Eduard Bostina Reviewed-by: Krzysztof Kozlowski --- .../bindings/regulator/ti,tps65023.yaml | 90 +++++++++++++++++++ .../bindings/regulator/tps65023.txt | 60 ------------- 2 files changed, 90 insertions(+), 60 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/ti,tps65023= .yaml delete mode 100644 Documentation/devicetree/bindings/regulator/tps65023.txt diff --git a/Documentation/devicetree/bindings/regulator/ti,tps65023.yaml b= /Documentation/devicetree/bindings/regulator/ti,tps65023.yaml new file mode 100644 index 000000000000..928698595f52 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/ti,tps65023.yaml @@ -0,0 +1,90 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/ti,tps65023.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Texas Instruments TPS65023 Regulator + +maintainers: + - Eduard Bostina + +properties: + compatible: + enum: + - ti,tps65020 + - ti,tps65021 + - ti,tps65023 + + reg: + maxItems: 1 + + regulators: + type: object + description: > + List of child nodes that specify the regulator initialization data. + Must be named after their hardware counterparts: VDCDC[1-3] and LDO[= 1-2]. + + patternProperties: + "^(VDCDC[1-3]|LDO[1-2])$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + tps65023@48 { + compatible =3D "ti,tps65023"; + reg =3D <0x48>; + + regulators { + VDCDC1 { + regulator-name =3D "vdd_mpu"; + regulator-always-on; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + }; + + VDCDC2 { + regulator-name =3D "vdd_core"; + regulator-always-on; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + }; + + VDCDC3 { + regulator-name =3D "vdd_io"; + regulator-always-on; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + }; + + LDO1 { + regulator-name =3D "vdd_usb18"; + regulator-always-on; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + }; + + LDO2 { + regulator-name =3D "vdd_usb33"; + regulator-always-on; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/regulator/tps65023.txt b/Doc= umentation/devicetree/bindings/regulator/tps65023.txt deleted file mode 100644 index a4714e4da370..000000000000 --- a/Documentation/devicetree/bindings/regulator/tps65023.txt +++ /dev/null @@ -1,60 +0,0 @@ -TPS65023 family of regulators - -Required properties: -- compatible: Must be one of the following. - "ti,tps65020", - "ti,tps65021", - "ti,tps65023", -- reg: I2C slave address -- regulators: list of regulators provided by this controller, must be named - after their hardware counterparts: VDCDC[1-3] and LDO[1-2] -- regulators: This is the list of child nodes that specify the regulator - initialization data for defined regulators. The definition for each of - these nodes is defined using the standard binding for regulators found at - Documentation/devicetree/bindings/regulator/regulator.txt. - -Each regulator is defined using the standard binding for regulators. - -Example: - - tps65023@48 { - compatible =3D "ti,tps65023"; - reg =3D <0x48>; - - regulators { - VDCDC1 { - regulator-name =3D "vdd_mpu"; - regulator-always-on; - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - }; - - VDCDC2 { - regulator-name =3D "vdd_core"; - regulator-always-on; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - }; - - VDCDC3 { - regulator-name =3D "vdd_io"; - regulator-always-on; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - }; - - LDO1 { - regulator-name =3D "vdd_usb18"; - regulator-always-on; - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - }; - - LDO2 { - regulator-name =3D "vdd_usb33"; - regulator-always-on; - regulator-min-microvolt =3D <3300000>; - regulator-max-microvolt =3D <3300000>; - }; - }; - }; --=20 2.43.0