Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4425300ioa; Wed, 27 Apr 2022 03:41:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf7glG6KhvN5DGTwXIBiclfLYrX82evlBW0S7BkM1LhlFuZ1LlZE60KPFFv74J/1nQdedv X-Received: by 2002:a05:6a00:1695:b0:4f7:decc:506b with SMTP id k21-20020a056a00169500b004f7decc506bmr29072395pfc.7.1651056107966; Wed, 27 Apr 2022 03:41:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651056107; cv=none; d=google.com; s=arc-20160816; b=TwYWehWqbUT/kdXbtU7rMGttqfp4AX8UH+LuSQkVALnugds2gxrKKiA7i9FxKO8I4U GyV2S4XSOpqM9MamCERRUPjKBNsGcTVBU8DY2Vi1FF9JZi8/hxfMDITmQsLUXi+ChWB0 21XAIAoslRv+LmSCD+Ym9VN5szYCiBkdBprl4fHZ470/xmSQK4Skqpr/Y82+IymghlEp SVx3DgYbnOCGws8mykeHSKIgppFNQv5w43/mF6H3LVpdNBfDWJX19w+re2fFW5ct79zM zP6lBT6nzfWCF/DNpWR/Wx9HAYBVOmboyvMzDfyGdT3faC0q7zBqJtqaM4kyPnL1RaAi 0jxA== 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=KjNq5t3ZggJMTEA4a0oXHVCceTPLdKxXT7fm3v60f1w=; b=Pb5PazKJzBpFk1HJGKmDwXi42LC9QsMSIB8f/E7u99NtBCge7VSFHByodywUVv3Z5x uWXEJoXVuAzJEhBrRRFQOhw6VVFByqBPKvRfzhBPnsa1wZA2v6nseyuI6c5OlOCXfq2L X1DtKvK75xYWHnvkTftEq46zF1Qd+gFuAezspvns81cax7oyfcQrSMXEtTiOQnYGao0L 6y/gpSStZpxSb9sFIGtUVAWAkuooRcrqBj8NlwncvQB2iiax2ANBzqZoOIJ+zffkyGjn R0ILYyZYvLibAXkueD3UkGjNPxM3xXZuHuZ1g8OClAc7LElVtxof/mEBk/FVuu+Qji0N 8DbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=gafOJure; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id w70-20020a638249000000b003ab0dab94bcsi1140182pgd.126.2022.04.27.03.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:41:47 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=gafOJure; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=bewilderbeest.net Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 56DB73E8D65; Wed, 27 Apr 2022 02:51:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356564AbiD0BFu (ORCPT + 99 others); Tue, 26 Apr 2022 21:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349706AbiD0BFt (ORCPT ); Tue, 26 Apr 2022 21:05:49 -0400 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [IPv6:2605:2700:0:5::4713:9cab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 259EB46654; Tue, 26 Apr 2022 18:02:38 -0700 (PDT) Received: from hatter.bewilderbeest.net (174-21-163-222.tukw.qwest.net [174.21.163.222]) (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 E9170531; Tue, 26 Apr 2022 18:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1651021358; bh=KjNq5t3ZggJMTEA4a0oXHVCceTPLdKxXT7fm3v60f1w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gafOJureGwkGdS7oF7iP8Cp1CJP2vVttE+zYcskh3RqjGczu0rfVyAJoxigGTN8Wj aY1Hk/8JX2e8n29X59ujcrOWe7B7t4aZEkLa2vKUfQ1nRucOnxnJZGsFhjpwSKEl7R nUs2CGHnWyZdpRZigyon5Gz2eR70mQAbaRrz3NWI= From: Zev Weiss To: Guenter Roeck , Jean Delvare , linux-hwmon@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Zev Weiss , Renze Nicolai , Oleksandr Natalenko , openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH v4 1/7] dt-bindings: hwmon: Add nuvoton,nct6775 Date: Tue, 26 Apr 2022 18:01:48 -0700 Message-Id: <20220427010154.29749-2-zev@bewilderbeest.net> X-Mailer: git-send-email 2.36.0 In-Reply-To: <20220427010154.29749-1-zev@bewilderbeest.net> References: <20220427010154.29749-1-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 | 56 +++++++++++++++++++ 1 file changed, 56 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..418477374fdb --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml @@ -0,0 +1,56 @@ +# 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 + + nuvoton,tsi-channel-mask: + description: + Bitmask indicating which TSI temperature sensor channels are + active. LSB is TSI0, bit 1 is TSI1, etc. + maximum: 0xff + default: 0 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + superio@4d { + compatible = "nuvoton,nct6779"; + reg = <0x4d>; + nuvoton,tsi-channel-mask = <0x03>; + }; + }; -- 2.36.0