From nobody Thu Apr 2 23:54:10 2026 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 02C49391E54 for ; Wed, 25 Mar 2026 23:06:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774479990; cv=none; b=fp5PcIXCUz5vDeg1YTWuZ35PApkIN92BY1z/uKH5NKutiFvb97E6sQzpKICXBBthq96sgrWNHlt9ZdjdkvMOU7xADTi4QnzKwyRo/qMOY3LzlkNsMseaomvE8cGWImttOaS+tko4rp+8iLv1ep5fIhmrAq94NBkNw6BZgVghn2s= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774479990; c=relaxed/simple; bh=P8eJNKjxyO4SVAzXo6XNccIikLD+xI3iT00av9Yog1E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RNSSRJ251bxWOZEWwlkOsz0u1wwYuxBtuwV2DAs3JGLSpkyvir/BSmlA5JLunkAWITZoPQniw1rynKojBk12j/j/VVypgsg43D8/swVYXIrOAbQibEhaCKTy06M5VjCq7Swu+HUxPWWPuZSKPX7ZMCioCq0XlJI6LTchI6j2lR0= 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=hxm8mUbg; arc=none smtp.client-ip=209.85.214.171 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="hxm8mUbg" Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-2adbfab4501so1514135ad.2 for ; Wed, 25 Mar 2026 16:06:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1774479988; x=1775084788; 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; bh=p8gyjWEMKeQzotP2hKQqpYN9gqNdwM1BT/NGfL3X+MM=; b=hxm8mUbgJpHfz/UtxRy/Wk1nFPN1g81O8Dngva/kHRYwc9d6rtfOaSkA+cnY7fq99/ qjq9tM0F0Zph6vI+hTSYkkDHYKGoCT58yXE6bwVURhbuG6OkPrDHeK9W4xj53xSFiyyv plHG9pNIdtsnYiYi0VG3UyuUsIcs2m9TYAMXOtJUYqlNFfa5eDBBHFcwxkXwaMy4KROC d5riHZY4BPnRnNwi/lsIMtz8Nj9klkmfwjj6mZxHA4xp3YxVMpDjdswENfzIx/qhch6W /3JHeaPr5pGNoCX8LPwFMz7UMKzFEguDU2TT9DTQAPlIQj1b7H0rD3C1CUkzIloARIWX v8VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774479988; x=1775084788; 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; bh=p8gyjWEMKeQzotP2hKQqpYN9gqNdwM1BT/NGfL3X+MM=; b=BzMS8xOsGW1bb6uukKzVgNLanjh3nmXVjcM56n84YJ0wMtkLOqXYAuLXLc19EDjoml yxt+EOJfbfdY3EB8LO49jcVnaKlrW2H7w6I6hp/EHtGN6rIvVjN2KEQAkOWN1yBuruBS OJ3ElZj5AVJhrkYoopryxazi7Jy3KuR9q/OQ7F3tQhtS47XxHlwYT/81AVBCUnObkBFx wMuxKxbD/WyZ42dvA42kRM5ql4qg/BrRUQCLAO3Ar0787ylPr0azeDtGMpBCM8R3Jdf3 0E+0Yc+Xtfe/G60MVEXZaTiJD2NSb+TFuq18jrqAvCYjdbH5ofCzKgGat3BrLgKVotjX 36yg== X-Forwarded-Encrypted: i=1; AJvYcCVmMTCJYYZCsQ6EnyzH3DsrpKijxfr2XWn/t1nURRmfcuEeMNtkxB1DFygoU8mmGdQ5nTJtpD+hHMVN8sQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxQg14UY0UaijyY7Mq/SDCWcBIM0vREb57w2uUEOmTRei7vhXlz hO2rWoynBRLRGsCx1cJaLfqGJ7wNHBrp2RWbMymg0t9Uxif76lBa8CF5 X-Gm-Gg: ATEYQzxup96NZ8snEb0HNlMMDKrtn54QJRDx1os/aJlIYrsvqPnLsdKQeeiVBGFr7sX GSwsZ1yD0mIssVsf7u4oNJcOC2zX9L9uiN/4APrl6T00BpOfi7oPVfYSUC6AY29/LPca4nOiroW RwF7e47+k1h+Wn+6G/Ya7ksmqPLG8VN8QrXr0VpnAtFR3MVUdUn19iK1uipJjhcXRb9GtaCUO7z kZ49/CrxxvGwRw43dKYDFt1CC5kXbPWO/1+sGBo4iWavvWY7kwtgxC8Wu9LAQTO541GMIn2CIHp AH/O9sVI/Gbl2pCngEiXkSr/5jOyN/8Iw0ambN9KUqXy8EaBffHBpCm34mJKRh6dgC0+FtlrRo5 +qcu4jo9Zav5mb2U6wJGcL7rH3KkMUIRdVy5+JCTuAD1g57pbMw+4SIiwMnE8WnHTkGciAn3K62 qQRXvB/Srq9XwtsW00fIWXd6eu8C5gyQ04mK4= X-Received: by 2002:a17:903:1b0e:b0:2ae:450c:951e with SMTP id d9443c01a7336-2b0b09da49amr59769705ad.17.1774479988270; Wed, 25 Mar 2026 16:06:28 -0700 (PDT) Received: from arch ([2409:40c2:5018:3ab3:ebcf:9aee:dece:80da]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2b0bc79f7dbsm9951675ad.25.2026.03.25.16.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2026 16:06:27 -0700 (PDT) From: Bhargav Joshi To: devicetree@vger.kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, reichl@t-online.de, sravanhome@gmail.com, broonie@kernel.org, lgirdwood@gmail.com Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com, m-chawdhry@ti.com, rougueprince47@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH v2] regulator: dt-bindings: mps,mp8859: convert to DT schema Date: Thu, 26 Mar 2026 04:35:59 +0530 Message-ID: <20260325230559.73527-1-rougueprince47@gmail.com> X-Mailer: git-send-email 2.53.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 Monolithic Power Systems MP8859 voltage regulator binding from legacy text format to DT schema. This patch does not change any functionality, the bindings remain the same. Signed-off-by: Bhargav Joshi Reviewed-by: Krzysztof Kozlowski --- Changes in v2: -changed markus email in maintainer as requested by him -changed subject line to match standard style Note: this patch is part of the process for applying to GSoC device tree bindings conversion project # https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-T= ree-Bindings .../devicetree/bindings/regulator/mp8859.txt | 22 -------- .../bindings/regulator/mps,mp8859.yaml | 54 +++++++++++++++++++ 2 files changed, 54 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/regulator/mp8859.txt create mode 100644 Documentation/devicetree/bindings/regulator/mps,mp8859.= yaml diff --git a/Documentation/devicetree/bindings/regulator/mp8859.txt b/Docum= entation/devicetree/bindings/regulator/mp8859.txt deleted file mode 100644 index 74ad69730989..000000000000 --- a/Documentation/devicetree/bindings/regulator/mp8859.txt +++ /dev/null @@ -1,22 +0,0 @@ -Monolithic Power Systems MP8859 voltage regulator - -Required properties: -- compatible: "mps,mp8859"; -- reg: I2C slave address. - -Optional subnode for regulator: "mp8859_dcdc", using common regulator -bindings given in . - -Example: - - mp8859: regulator@66 { - compatible =3D "mps,mp8859"; - reg =3D <0x66>; - dc_12v: mp8859_dcdc { - regulator-name =3D "dc_12v"; - regulator-min-microvolt =3D <12000000>; - regulator-max-microvolt =3D <12000000>; - regulator-boot-on; - regulator-always-on; - }; - }; diff --git a/Documentation/devicetree/bindings/regulator/mps,mp8859.yaml b/= Documentation/devicetree/bindings/regulator/mps,mp8859.yaml new file mode 100644 index 000000000000..523498adf003 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/mps,mp8859.yaml @@ -0,0 +1,54 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/mps,mp8859.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Monolithic Power Systems MP8859 Voltage Regulator + +maintainers: + - Markus Reichl + +description: + The MP8859 is a synchronous, 4-switch, integrated buck-boost converter + capable of regulating the output voltage from 2.8V to 22V wide input vol= tage + range with high efficiency. + +properties: + compatible: + const: mps,mp8859 + + reg: + maxItems: 1 + + mp8859_dcdc: + $ref: /schemas/regulator/regulator.yaml# + type: object + description: DCDC regulator subnode + unevaluatedProperties: false + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + regulator@66 { + compatible =3D "mps,mp8859"; + reg =3D <0x66>; + + mp8859_dcdc { + regulator-name =3D "dc_12v"; + regulator-min-microvolt =3D <12000000>; + regulator-max-microvolt =3D <12000000>; + regulator-boot-on; + regulator-always-on; + }; + }; + }; --=20 2.53.0