From nobody Tue Apr 7 11:15:21 2026 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 12F6F391E5E for ; Fri, 13 Mar 2026 12:22:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773404523; cv=none; b=PDZgwcSxXmcixGAfYahSrFchj/8wum3QHEj6zcQo487+98H1MVFaRjdhZoHL7tY23x5yrhGyZ8ar5fj/ZgtwQlzwF3O7r8qGoNdvjVHOzMlKf0up3iohQPlNQU8bihUZx32oy7Syix2ePJAvnsVe9Sl8MfnxTVOkuoIiCdNo4mk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773404523; c=relaxed/simple; bh=hFs/nJVgT00q9RHXTlVEds9o/c8VRtvriM4h9t/2l+Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a4PyNIlyMnwCJuBCIRacq9rBaGplVwZnY8XrlyYAbOivx3o0SVTL8vBBC/9a36NpUVFIpFqzEmVt6BDYxGfzVFfH3IEE5jw/dnIQumlxLSj58DD7C9x4uzwup3hdOrOejq40F1hRc2BusUB8hMkEtBDGsbBxlzf6qTra6rx7tQo= 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=Y0TKur53; arc=none smtp.client-ip=209.85.210.172 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="Y0TKur53" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-82984c077b2so1229460b3a.1 for ; Fri, 13 Mar 2026 05:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773404520; x=1774009320; 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=qQYsaPFPiGqln9V3lf00oP6fB8VRjINu6GubTRfH7Ds=; b=Y0TKur53VUpcMoXjx22bWz+0KJNlAbtjUIxkX17UFGD6tBEAwJnEOevS5ZfO/lTJBE QYM3si6RvN7nG+OiVS7SKcRLfQoLuEFYsbz97h8KFp+QdU6s3hyHL7y2+31/JqKy8e7V xMb1UJvtPtng6leFhuvVpLuYnpu4xweOKUiG5Tu9Jbx3sZFJM46+ZikKNT8he2NOOFn3 HaVaqsV0j0JCfqokzxG25ZnD38bTspe/nLoRjvuxkeyPhwYc1F2emMjNB5+V7oo2EGYi ycILim7BLEdjRrd4Q/yX57FHhT1Qb6KBEvZvuAGQeXT6/VNdMZrUdHcmarC/5LQ2v4Br KcTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773404520; x=1774009320; 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=qQYsaPFPiGqln9V3lf00oP6fB8VRjINu6GubTRfH7Ds=; b=ZmvStSLIFBtJkkmlWXYomk0cAOyYl2kbKLx+b2ZQWAR4xT55qsfhtohyOS0enEf527 KDCAMKTCzmpOpjH20f2fml3xV7fYPiVFLSXXps2UempBaT7WMZ4ZgxwZbee3a2enRlPp JMeM+3S+sw0QMY5WEP+v0XN5PbQo5LB1qVopmYBz8elnGAIklrzhIj2DRsM8dF/kfLGP vBE35zZ0V9D9AqEkT+dcOTn2ZjcJaXUi1hh4U8+Y0LVdrGALVWKOwtR/ujIGTMsERn7N pBdy9fJzZI0aJHG3471BjvkrMUUbkdgMSibzkxOHvMg9mxL+ZUEzQUfE7hwqY43mPiN6 UZiA== X-Forwarded-Encrypted: i=1; AJvYcCWDnzEZcluPxY+2NGe65abqSsR55YrcTdCA5vCjtIQ9l1BUJGsR5z+bK76f+tPAuHUFl+baa9r+2J23aMo=@vger.kernel.org X-Gm-Message-State: AOJu0YzgRD0mP/1SloaQ5tqET4XJa21bEZjNSm6DxlY3fICRh6GqDhsr q4P/ULxlFnbG1SnHIrIu+7eZMnCLka3Jpbt1Y1wg2q7TQIlTGfYt5cD5 X-Gm-Gg: ATEYQzxh/yg6JKj8pVa9IDYUgsEdbFHR4rZ7cTT7f+28aEEP/kANA93H+yaYEcLnQqV Yg7ui3zWRwZ1Ct/rR2GFMQ2/gBfftJUW8DhU4yTDzmdY4ryxU837tWaarnJIeAz1XMtlKkBpiFs /BDsr6n+3ongKn/1nq7w9t3/qGmDWQXwpfNLCoJaMnep0hx5al0yRZ1GDGudzTEwCQc0Nt1gb0/ FJ5z0TfQ9AhgTVeDA7QEZfoylHHjiVRMQIzoVhLW8UXTXzgnUUyIkPbD5ziYJfzPJditE/f3uci JDah6GqkMw+88Srd0+VgHoClT1jhZtqVoNAlT8Alx5d7OS4F4kR3oufYEf5yuIQ/JOvcu3026x3 VQcLl/HECXP1ESqMk9g7Pe/EOmQlff0JwjJ80C7/ujAwDFwejRvouKYCNXQyPAzj+A6SLTakMhE HsFdO3u2XsRWxtHTAP8J1P3KU= X-Received: by 2002:a05:6a21:3289:b0:395:1511:7221 with SMTP id adf61e73a8af0-398ecdaa232mr3048034637.59.1773404520288; Fri, 13 Mar 2026 05:22:00 -0700 (PDT) Received: from arch ([2409:40c2:5041:4729:f466:f82d:a807:fe6]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82a0725bfd0sm7336275b3a.14.2026.03.13.05.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Mar 2026 05:22:00 -0700 (PDT) From: Bhargav Joshi To: sravanhome@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, krzk+dt@kernel.org, robh@kernel.org, conor+dt@kernel.org, m.reichl@fivetechno.de Cc: daniel.baluta@nxp.com, simona.toaca@nxp.com, d-gole@ti.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, rougueprince47@gmail.com Subject: [RFC PATCH] dt-bindings: regulator: mps,mp8859: convert to DT schema Date: Fri, 13 Mar 2026 17:51:36 +0530 Message-ID: <20260313122136.9349-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. Signed-off-by: Bhargav Joshi --- Note:this patch is part of the process for applying to GSoC device tree bindings conversion project=20 #https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-= Tree-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..144876aabd25 --- /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