Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1288496pxm; Sat, 26 Feb 2022 10:43:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTUP1NTBlIwuanLbp21Ju4TNMIuX2fY7GE3CvpjAvlT4332ZZWOdntsrEAbTupRnnrUed6 X-Received: by 2002:a05:6a00:1ac6:b0:4bd:140:626c with SMTP id f6-20020a056a001ac600b004bd0140626cmr13564802pfv.7.1645900992149; Sat, 26 Feb 2022 10:43:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645900992; cv=none; d=google.com; s=arc-20160816; b=RW18f8QwYlEFY6nTrgZWoU2FsFqAlDrX49Q/iyC68pNrRLvsdR438qK38xSmsibyqc EUmi26ojUqMsiaxfeVTAU1839D6btMtSVnApaG1OMcAP2AwOhNhqdV7alkxUvYJPgFES 8Ve88yv7mdgL/Jp3KJTsBINPnJkCIM1ydTWGeZI+wwEsemcsd8iFFzmxRA7DUBJbvwwr /U+kgxfgMXRJgcS6hpsyGnEhAVyKh4cp0Z67rS+TYYLq7UI8S3W1Ip7lHDzbgEGOlq2H Dcd75OIqfwBVSAsAkUM7BBnqbNKNtUJWXbdjhgxERlQqNwBoZHIEPNy9LJFweqJFDqEt b6HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=P2xiTwQMAdsmqg/FNdUPZpligEXOXfRM8Fq/bDkK1gQ=; b=SKSvuVQe6IaLG8a4EN3Mo15iFIkhkfkmhTGUi00oBWy4ZQDUnNlrhaKpOEgwsrJdj9 gt89enPmVc2deRaRxfWwgo+QR61fa/Ag/qGLitUBl9XEEDOp0WxVxYQrLbJUEj8gTSQH Pr9YiUe873zQebNQxI6kiv8lYUv5KZT1YxNKIIGfC0M1YFoHQscSQIQK2mQK+bP7CO7C 8U8XNZ8d7VXWjgtCohkVeiqByArQ+ysFK0KFtl1JJpEWYywtk+6S9bCsTdVMV9mH8c7f UJBRfz00sy9qXvMuJf1yNzNNzSTHf1K7uyrZUXZKrFxA6CYqyE3e8dN1+0t9wOqJ0mgx HZGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=ggOJxiaJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bewilderbeest.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k13-20020a170902ce0d00b0014fbb62d4b1si5248391plg.153.2022.02.26.10.42.56; Sat, 26 Feb 2022 10:43:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=ggOJxiaJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bewilderbeest.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231845AbiBZNbi (ORCPT + 99 others); Sat, 26 Feb 2022 08:31:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231808AbiBZNbe (ORCPT ); Sat, 26 Feb 2022 08:31:34 -0500 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A79A64ECCD; Sat, 26 Feb 2022 05:31:00 -0800 (PST) Received: from hatter.bewilderbeest.net (174-21-187-98.tukw.qwest.net [174.21.187.98]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 49309719; Sat, 26 Feb 2022 05:31:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1645882260; bh=P2xiTwQMAdsmqg/FNdUPZpligEXOXfRM8Fq/bDkK1gQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ggOJxiaJk+r+zaC/lYAxsUBGPB6eFN2eGUKuZvCTz8cacYPhhwKLh7HF3CNxjBei3 v/MXUEWW0JkhN7ie+lk4QM1kNVst++FbCthT+xF4qXybVHY87WIe9wbXIIRW6NEY+y 9oXqc76g4sFHcKtbvysJ5MTa7am2ksKmq7L1saUs= From: Zev Weiss To: linux-hwmon@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Guenter Roeck , Jean Delvare Cc: Zev Weiss , Renze Nicolai , openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] dt-bindings: hwmon: Add nuvoton,nct6775 Date: Sat, 26 Feb 2022 05:30:46 -0800 Message-Id: <20220226133047.6226-5-zev@bewilderbeest.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220226133047.6226-1-zev@bewilderbeest.net> References: <20220226133047.6226-1-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These Super I/O chips have an i2c interface that some systems expose to a BMC; the BMC's device tree can now describe that via this binding. Signed-off-by: Zev Weiss --- .../bindings/hwmon/nuvoton,nct6775.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml diff --git a/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml new file mode 100644 index 000000000000..7b1054db46b3 --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- + +$id: http://devicetree.org/schemas/hwmon/nuvoton,nct6775.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Nuvoton NCT6775 and compatible Super I/O chips + +maintainers: + - Zev Weiss + +properties: + compatible: + enum: + - nuvoton,nct6106 + - nuvoton,nct6116 + - nuvoton,nct6775 + - nuvoton,nct6776 + - nuvoton,nct6779 + - nuvoton,nct6791 + - nuvoton,nct6792 + - nuvoton,nct6793 + - nuvoton,nct6795 + - nuvoton,nct6796 + - nuvoton,nct6797 + - nuvoton,nct6798 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + superio@4d { + compatible = "nuvoton,nct6779"; + reg = <0x4d>; + }; + }; -- 2.35.1