From mboxrd@z Thu Jan 1 00:00:00 1970 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 EBBE1C678D7 for ; Tue, 17 Jan 2023 16:14:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230363AbjAQQOB (ORCPT ); Tue, 17 Jan 2023 11:14:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231472AbjAQQOA (ORCPT ); Tue, 17 Jan 2023 11:14:00 -0500 Received: from mail.zeus06.de (www.zeus06.de [194.117.254.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91543C17A for ; Tue, 17 Jan 2023 08:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=kicherer.org; h=from:to :cc:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=k1; bh=lKSpgHEalisK/HmQpjTGLpPVJIz WCA62NE/fgiOlJ08=; b=vBgUr7VBaWk7c8Ewu3ARaneazE7CL7i4tYoxnD/Nt0I RGFQ7Xax//vPmjuITSwitxVlMYPQDAgF3HX97czN67Fk4SbkMD4x4hKScsR6eg6T jyEy+n/ByxqqN/77udVZgjhswsjZF2ri5DLQUjmZC+2MEED+BLeqa9S3f2+6ybUM = Received: (qmail 1170919 invoked from network); 17 Jan 2023 17:13:56 +0100 Received: by mail.zeus06.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 17 Jan 2023 17:13:56 +0100 X-UD-Smtp-Session: l3s6476p2@Q+dR/Hfy1u7CtAHJ From: Mario Kicherer To: linux-hwmon@vger.kernel.org Cc: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, corbet@lwn.net, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, Mario Kicherer Subject: [PATCH v3 2/3] dt-bindings: hwmon: add nxp,mc34vr500 Date: Tue, 17 Jan 2023 17:13:39 +0100 Message-Id: <20230117161340.1310936-3-dev@kicherer.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230117161340.1310936-1-dev@kicherer.org> References: <20230117161340.1310936-1-dev@kicherer.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org This patch adds dt-bindings for the NXP MC34VR500 PMIC. Signed-off-by: Mario Kicherer --- .../bindings/hwmon/nxp,mc34vr500.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml diff --git a/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml b/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml new file mode 100644 index 000000000000..dfbd6125e84a --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/mc34vr500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP MC34VR500 hwmon sensor + +maintainers: + - Mario Kicherer + +properties: + compatible: + enum: + - nxp,mc34vr500 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + mc34vr500@8 { + compatible = "nxp,mc34vr500"; + reg = <0x08>; + }; + }; -- 2.34.1