From nobody Fri Jan 2 23:54:30 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3AE0E95A62 for ; Sat, 7 Oct 2023 16:58:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344109AbjJGQ6b (ORCPT ); Sat, 7 Oct 2023 12:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343956AbjJGQ63 (ORCPT ); Sat, 7 Oct 2023 12:58:29 -0400 Received: from omta34.uswest2.a.cloudfilter.net (omta34.uswest2.a.cloudfilter.net [35.89.44.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E68BB9 for ; Sat, 7 Oct 2023 09:58:28 -0700 (PDT) Received: from eig-obgw-6005a.ext.cloudfilter.net ([10.0.30.201]) by cmsmtp with ESMTP id p8p3qZxaknGhUpAdIqTN7u; Sat, 07 Oct 2023 16:58:28 +0000 Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTPS id pAdEqWBykgi4ypAdGqasCj; Sat, 07 Oct 2023 16:58:26 +0000 X-Authority-Analysis: v=2.4 cv=MaV/Brzf c=1 sm=1 tr=0 ts=65218e32 a=LfuyaZh/8e9VOkaVZk0aRw==:117 a=J9R/PiKqv2o3jGxbVGXx4w==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=bhdUkHdE2iEA:10 a=oz0wMknONp8A:10 a=vU9dKmh3AAAA:8 a=gEfo2CItAAAA:8 a=3wVwG3AGMsDn-ITQ_vwA:9 a=rsP06fVo5MYu2ilr0aT5:22 a=sptkURWiP4Gy88Gu7hUp:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linumiz.com ; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=eUcuTet8QT5QESolz39f7W9jI3SYlnZj/s8TwdRqlXg=; b=mQkXFRKqoapyfbifh/aHqaQ+5z uNRcJCfQW9gfYZI4PdFlIQ0BL3YlU001kjLrdZundV888HkbKZVU7aqo0XpMDq2EzdLlHgNUxJ5d2 SDpfMPg7q+2CKLFEVskD3qXc3xRqbTuMz/Qz1p2fD6ep+tX/XX2ndywBXNxtG9agcUDkN9kvnBxBf amECh3j/18RgsKGIUrUB9hQLy1NtFYPyPzdh+7Mie519WJSxnzjG8otrcvv6RvnyTDfcpXGoUrX1a OHXaRdw42kxXhxXlTP7k+1oWipSux5b4+EBRYlPOirx6vo6dPewui6s3KpEePvMeNRcJhAI1kBbc8 Hk4eRUpA==; Received: from [103.186.120.251] (port=39748 helo=discovery..) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qpAdD-002Tlj-0j; Sat, 07 Oct 2023 22:28:23 +0530 From: Saravanan Sekar To: sravanhome@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux@roeck-us.net, jdelvare@suse.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org, Saravanan Sekar Subject: [PATCH v3 2/3] regulator: dt-bindings: Add mps,mpq2286 power-management IC Date: Sat, 7 Oct 2023 22:28:02 +0530 Message-Id: <20231007165803.239718-3-saravanan@linumiz.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231007165803.239718-1-saravanan@linumiz.com> References: <20231007165803.239718-1-saravanan@linumiz.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - md-in-79.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - linumiz.com X-BWhitelist: no X-Source-IP: 103.186.120.251 X-Source-L: No X-Exim-ID: 1qpAdD-002Tlj-0j X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (discovery..) [103.186.120.251]:39748 X-Source-Auth: saravanan@linumiz.com X-Email-Count: 25 X-Org: HG=dishared_whb_net_legacy;ORG=directi; X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfFYxVKJYaTrPTv5ZkdBaP2O6HJw4y75sCnCGyvKnEUzQnU7iaSbu/Y8lzyHOOBUSRNdnRqrwZ3OuqY6NUQrmwJdeK+3IJwfg0Ed+uXy3z8WVhiHRz5iw SAoMH/JZngVq3BjIt7ehcl0vpzn7vmhcQ7PE+KelxjAU3QDTpbdjgIIW9x7XJHwnwhM8B30dqNRMaQgyLmqcKJaOTAZntLEZ9RM= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Document mpq2286 power-management IC. Instead of simple 'buck', 'buck0' is used to keep the driver common which handles multiple regulators. Signed-off-by: Saravanan Sekar --- .../bindings/regulator/mps,mpq2286.yaml | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mps,mpq2286= .yaml diff --git a/Documentation/devicetree/bindings/regulator/mps,mpq2286.yaml b= /Documentation/devicetree/bindings/regulator/mps,mpq2286.yaml new file mode 100644 index 000000000000..594b929fe4b8 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/mps,mpq2286.yaml @@ -0,0 +1,59 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/regulator/mps,mpq2286.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Monolithic Power System MPQ2286 PMIC + +maintainers: + - Saravanan Sekar + +properties: + compatible: + enum: + - mps,mpq2286 + + reg: + maxItems: 1 + + regulators: + type: object + + properties: + buck0: + 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>; + + pmic@3 { + compatible =3D "mps,mpq2286"; + reg =3D <0x3>; + + regulators { + buck0 { + regulator-name =3D "buck0"; + regulator-min-microvolt =3D <1600000>; + regulator-max-microvolt =3D <1800000>; + regulator-boot-on; + }; + }; + }; + }; +... --=20 2.34.1