Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3591799pxp; Tue, 8 Mar 2022 18:17:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJycairY8Vt3diFayPCjXhvkx9AwRWPxiypdvbPFM/sHC5sJAbHXPJYm7rI8PBdzXnsPcoQy X-Received: by 2002:a17:902:ced0:b0:151:a5fa:6b44 with SMTP id d16-20020a170902ced000b00151a5fa6b44mr20666944plg.31.1646792223676; Tue, 08 Mar 2022 18:17:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646792223; cv=none; d=google.com; s=arc-20160816; b=kZTTWm/yWaUcVrGWXBuDBN+T6f+OP6bEYFrcO1RI9I8vR+HsV7QFW8HZRFQq2+gjSS azz4JgeuGOo6FbED9+oiCNsDRUaKrayO3N8Tr/Gj9H9CFya+QvZ8yhqEafS0mSq6QOwF VclnolpseLZEfwnhs+4f6faSC0qHlHexCGcoscLn8oSfOfbft/9t7jH19rdEVv7NJ9+O tk2/rAvIt9XVjmI9LXSljG5c5eA1+/oYDjxJrk05hAJGmtDA8FIlwESYsuMeXUs0zJXC 5o7nvfzjp7h/ukM+bw4QIjciWM3KPriFuVkRJXyRO4Dgerv6lvjbYQToSA1jL4pO0XlW fqgQ== 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=P/LG0Tv6Dj5QsLIhvJT27ETgaDgbX6kVZ8POr9JaRLg=; b=DiJrNcy8UpHuW6twqzm0gwG+fv3o9T8wsIZD62/J7jMu8h/YS0wZZtxGpSrrgl7QYF Dvzca42hCtNvDg6opPdI7c0iex1xRI9KQqIetfYhUYclFRSFnBcAV/VwKwYP2fhA7dgg jcGgyAJwMy/fJYDu0RDmnN+jP29rzZzKJOA9W4kAcyKfV+MTtQiap8aj0n3b8th/W+aH Vdubfz7f1ZZf0ezXX4PyqsnSRHB2mE34hsbU3mBrzzvK7nhmkQYi1JuwzXBmzd2nuGIN dgb2qBrsKbpaJB7H9rpP0LYBgC+ZMHnenpb3xpes0eSrR2mDkpRYMskwQMaLZKPSvEXX 7+8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bewilderbeest.net header.s=thorn header.b=OHX3gNLw; 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 i9-20020a639d09000000b0037882ed07cbsi567792pgd.324.2022.03.08.18.17.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 18:17:03 -0800 (PST) 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=OHX3gNLw; 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8E7A313CEF2; Tue, 8 Mar 2022 17:14:05 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230100AbiCIBKU (ORCPT + 99 others); Tue, 8 Mar 2022 20:10:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230062AbiCIBJP (ORCPT ); Tue, 8 Mar 2022 20:09:15 -0500 Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [71.19.156.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3C17DEA33; Tue, 8 Mar 2022 16:50:59 -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 07AC5663; Tue, 8 Mar 2022 16:50:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1646787059; bh=P/LG0Tv6Dj5QsLIhvJT27ETgaDgbX6kVZ8POr9JaRLg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OHX3gNLwI0PRnH1RY2/8wXabqkQmOnsL7QRiWRAfrjvCemhP9HZhXgpk3FT1SNP9R lWS0MRG1euHUfRSTybFLYTJsbGp4nCE5l1xeTxBSI4hhyCuiz2RHIBFxORpQuAqB58 QT/4u7Xv0HQSQVOmp6E2XG8hyTalNb2mbROHuypw= 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 v2 1/6] dt-bindings: hwmon: Add nuvoton,nct6775 Date: Tue, 8 Mar 2022 16:50:42 -0800 Message-Id: <20220309005047.5107-2-zev@bewilderbeest.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309005047.5107-1-zev@bewilderbeest.net> References: <20220309005047.5107-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,T_SCC_BODY_TEXT_LINE 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 Reviewed-by: Krzysztof Kozlowski --- .../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