From patchwork Thu Dec 1 04:46:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravanan Sekar X-Patchwork-Id: 630004 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 26271C47088 for ; Thu, 1 Dec 2022 05:09:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229622AbiLAFJj (ORCPT ); Thu, 1 Dec 2022 00:09:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbiLAFJi (ORCPT ); Thu, 1 Dec 2022 00:09:38 -0500 Received: from gateway33.websitewelcome.com (gateway33.websitewelcome.com [192.185.145.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACE1697917 for ; Wed, 30 Nov 2022 21:09:37 -0800 (PST) Received: from atl1wswcm02.websitewelcome.com (unknown [50.6.129.163]) by atl4wswob04.websitewelcome.com (Postfix) with ESMTP id 6E04A17332 for ; Thu, 1 Dec 2022 04:47:02 +0000 (UTC) Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTP id 0bTPpeAA64ZGb0bTRpIb4j; Thu, 01 Dec 2022 04:47:02 +0000 X-Authority-Reason: nr=8 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=7lBuiEwdQJRdSXgGk7zBmlsJAsmAdgyU5GERb3tmT4g=; b=NIONRG06ekXPN/zDMgFJ7JuKgb tzVj5HFQWRcCP9a/p9R8SUF28RQ9UCXRiNzmkh6dQfDpjdct+Dp6TmqTOj/Iy7uHB/RezxuILF300 JRb/TIoEgIySHUPoQVBv+qCCtk3oKWgGykzEnmp9qBw6AfvAIgnR4otp6kZBn9S8SturDuygxXH7z qU6XG/8iQ5+Fwsj2KFyoMumKAf2Hgiq6/ioal4QYcJ/tQKEbpli9xNhCqZFVjLmMFr0ynfKBs4sDS Yh2vQFSqqso2l7yWJ+2cx95Qwv1IS8KDMEvOvVs2mxIgjXgZJMOylcUU0kCn6twp3nrMhvuwp/kaw WKITwiZA==; Received: from [223.187.112.123] (port=34121 helo=discovery..) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1p0bTO-003t5m-H7; Thu, 01 Dec 2022 04:46:58 +0000 From: Saravanan Sekar To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, marten.lindahl@axis.com Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Saravanan Sekar Subject: [PATCH v2 2/4] dt-bindings: hwmon/pmbus: Add mps,mpq7932 power-management IC Date: Thu, 1 Dec 2022 05:46:41 +0100 Message-Id: <20221201044643.1150870-3-saravanan@linumiz.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221201044643.1150870-1-saravanan@linumiz.com> References: <20221201044643.1150870-1-saravanan@linumiz.com> MIME-Version: 1.0 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: 223.187.112.123 X-Source-L: No X-Exim-ID: 1p0bTO-003t5m-H7 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (discovery..) [223.187.112.123]:34121 X-Source-Auth: saravanan@linumiz.com X-Email-Count: 23 X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfHp3kFwRmxkXBcctvelCbVKhwkANVPFgjcFbYVRZ6kyMWicTpFNuETq3uIN2OmbH6c0UgNSxWWgvaCiV9Z83byvhI1H3nQ1EDE4IQ6VoQFXrgqCDCfjK KI/9CpeLh/hyBurDHvPBmrR+NjbwBswNT061rkL0SQ+n4BeADy4hpLJrhujzGGqSWrgCyoGmPjsBkQQr2NKZQQBJn7h2wbxJ0Ao= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document mpq7932 power-management IC Signed-off-by: Saravanan Sekar --- .../bindings/hwmon/pmbus/mps,mpq7932.yaml | 63 +++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq7932.yaml diff --git a/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq7932.yaml b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq7932.yaml new file mode 100644 index 000000000000..5f20c59eb7ff --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq7932.yaml @@ -0,0 +1,63 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/pmbus/mps,mpq7932.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Monolithic Power System MPQ7932 PMIC + +maintainers: + - Saravanan Sekar + +properties: + compatible: + enum: + - mps,mpq7932 + + reg: + maxItems: 1 + + regulators: + type: object + + description: | + list of regulators provided by this controller, must be named + after their hardware counterparts BUCK[1-6] + + "^buck[1-6]$": + type: object + $ref: regulator.yaml# + unevaluatedProperties: false + + additionalProperties: false + +required: + - compatible + - reg + - regulators + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@3 { + compatible = "mps,mpq7932"; + reg = <0x3>; + + regulators { + buck1 { + regulator-name = "buck1"; + regulator-min-microvolt = <400000>; + regulator-max-microvolt = <3587500>; + regulator-min-microamp = <460000>; + regulator-max-microamp = <7600000>; + regulator-boot-on; + }; + }; + }; + }; +... From patchwork Thu Dec 1 04:46:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Saravanan Sekar X-Patchwork-Id: 630005 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 A568EC4708D for ; Thu, 1 Dec 2022 04:47:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229631AbiLAErK (ORCPT ); Wed, 30 Nov 2022 23:47:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbiLAErG (ORCPT ); Wed, 30 Nov 2022 23:47:06 -0500 Received: from gateway31.websitewelcome.com (gateway31.websitewelcome.com [192.185.144.91]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3381E99505 for ; Wed, 30 Nov 2022 20:47:06 -0800 (PST) Received: from atl1wswcm03.websitewelcome.com (unknown [50.6.129.164]) by atl3wswob02.websitewelcome.com (Postfix) with ESMTP id 952FF14B48 for ; Thu, 1 Dec 2022 04:47:05 +0000 (UTC) Received: from md-in-79.webhostbox.net ([43.225.55.182]) by cmsmtp with ESMTP id 0bTSpLUWiPUI80bTUp4UyX; Thu, 01 Dec 2022 04:47:05 +0000 X-Authority-Reason: nr=8 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=lt9ssPxraP7AVqIsyBoSkJvYwNULAALvMmqCxZgrk6g=; b=ov+DaIALsAqMIdNaVmoS0uPcOc DG4aWsV83JDARy8Lw0RcquU8bPpQ3JcBQRe8UVVSAvvVLBX6i1fiLBAU9/+Csqmtfp6Vv5UA3HdZV ul3uovvv0zmQ75tax5A/K3HGs8xZqRyA7arQJN/78eohykOkRCb2hkC9dSzl8A327Unt1zTfuhNCV Kxi1y2Uj61S6wBQcJ9rUtbVB5cRI+fTB57lVllGb6kqQCJUWSr2g8JglcwxiXHidYxi70lOIAJacr TDrxA7+Pq0wVY+l5UmEv7cPSyGH3RnPj116qJe+G2BkzjcVf4nFJ6vZEwdQXJ0/7Gr9ePRq4R8NcA 3lc2s2GQ==; Received: from [223.187.112.123] (port=34121 helo=discovery..) by md-in-79.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1p0bTR-003t5m-Jo; Thu, 01 Dec 2022 04:47:01 +0000 From: Saravanan Sekar To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, marten.lindahl@axis.com Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Saravanan Sekar Subject: [PATCH v2 4/4] MAINTAINERS: Update the entry for MPQ7932 PMIC driver Date: Thu, 1 Dec 2022 05:46:43 +0100 Message-Id: <20221201044643.1150870-5-saravanan@linumiz.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221201044643.1150870-1-saravanan@linumiz.com> References: <20221201044643.1150870-1-saravanan@linumiz.com> MIME-Version: 1.0 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: 223.187.112.123 X-Source-L: No X-Exim-ID: 1p0bTR-003t5m-Jo X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (discovery..) [223.187.112.123]:34121 X-Source-Auth: saravanan@linumiz.com X-Email-Count: 39 X-Source-Cap: bGludW1jbWM7aG9zdGdhdG9yO21kLWluLTc5LndlYmhvc3Rib3gubmV0 X-Local-Domain: yes X-CMAE-Envelope: MS4xfLdBeXa540jMSR4cOUfqOd6w4Q3J41GSuY4Gddy9+UN6+xY3wkKCONu8AnBzgBYM/QxdkRiIQ+aVLoLO9ljjW8nnjySzceLOTAKsV8AQefKNp785rYdC KuzLAlt4UPU0o50pEwYa2VkhzuZJKBH4mxUHapFk78nTyYf+USmFEgU9YDTvBrLAXtlTnE57ywiHcicNw/sk7/C9iQmQ98dO4rU= Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Update the MAINTAINERS file to include the path for the MPQ7932 and MPQ7932 devicetree bindings documentation. Signed-off-by: Saravanan Sekar --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 379945f82a64..8e0dbf4c6cf3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13924,8 +13924,10 @@ F: scripts/module* MONOLITHIC POWER SYSTEM PMIC DRIVER M: Saravanan Sekar S: Maintained +F: Documentation/devicetree/bindings/hwmon/pmbus/mps,mpq7932.yaml F: Documentation/devicetree/bindings/mfd/mps,mp2629.yaml F: Documentation/devicetree/bindings/regulator/mps,mp*.yaml +F: drivers/hwmon/pmbus/mpq7932.c F: drivers/iio/adc/mp2629_adc.c F: drivers/mfd/mp2629.c F: drivers/power/supply/mp2629_charger.c