Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5760364iob; Tue, 10 May 2022 03:06:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY8W2cmq6uXBoZ2uyj/nbCZCYSqm0Rqp2+/6NL1rQjXa8MiOwbNK0zcttbM8EvkEtVB40Q X-Received: by 2002:a17:906:7952:b0:6f8:91fa:cef8 with SMTP id l18-20020a170906795200b006f891facef8mr13005808ejo.373.1652177164294; Tue, 10 May 2022 03:06:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652177164; cv=none; d=google.com; s=arc-20160816; b=bnHZKXf011BwGfMkpwW/DW31fYbwqGc/NVS2MTtvvLdhH1FdWiy3i1u95IBIKkPPPF AsmRT0AqVRisWKUHA8z5wyVJz1ThiaLiWCQV/6aS3ns0CEhyIHTQtFe2yrH+6yJaBymW HmZ9GnvQcBcsP19ZcfZy3VsZ7Lu2RZ++6QCAJ0XGkXfVpV1IAem8DsG0/ApeEG/Q8132 UQBlrY2NpvBxYGuwCkCJCSzKa12FgcaMyh7ZKhL3mRHKtgCvjao2k1tbDQZYusk9dz7d umYJWNofsY5siIsYyIlEpIgPxQCngfstD235uQcmLZPyWz/QNQ2xcDzARfs4W2m9rJbZ KMjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=XtS/P9SmLyk3QKWLF6JMOAV4b0xIsdiYHPObF4LauGQ=; b=00R1bzVhYKYxndI9XrNuBvtYnjbTsIsnA5BjGZZWzBWUdCylacl57QAqkJHF0zMIHD TsnafSiOXEXEo2sl2Z1LsYoWy1XL+kxHkLUwIx5bkEmoprU6Bger2dwnXDR2VoHzF+h4 kpYNXAQa29taS+fzlALYS+X+nD4mHxACgHE6L5P1rdPoiLlSVgBVJNScx6KaOUN868p/ 3P9OMyzAX5MZhEJ+YgZhdx+WIGGYTVWQTMfWQnhd/6l9QNxPCE1BdRyl3LSr0uXbyZPK u1wTwDKU8Z/0zuxiBHxOMPorQz5O0mYeAVpONXG3X83oqdGo5zdt00axbjHYInFK6sRz 9cEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=BSrhzxAF; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e15-20020a056402190f00b00427b30e8678si19139916edz.620.2022.05.10.03.05.40; Tue, 10 May 2022 03:06:04 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=BSrhzxAF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233724AbiEJAf6 (ORCPT + 99 others); Mon, 9 May 2022 20:35:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233011AbiEJAfz (ORCPT ); Mon, 9 May 2022 20:35:55 -0400 Received: from mail-oa1-x31.google.com (mail-oa1-x31.google.com [IPv6:2001:4860:4864:20::31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E6491339D7; Mon, 9 May 2022 17:31:58 -0700 (PDT) Received: by mail-oa1-x31.google.com with SMTP id 586e51a60fabf-ed8a3962f8so16592872fac.4; Mon, 09 May 2022 17:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=XtS/P9SmLyk3QKWLF6JMOAV4b0xIsdiYHPObF4LauGQ=; b=BSrhzxAFg7vDoEAPdmxTC8b0yvX+6eIwJS56/qBvt4E/7YteelJ39f3uaU1h+irl8b ESQGYmYixD9vuUqsyx/heCdeCpMFaUzpjkTMN5+rOI3+V741UInfr4UjTURRj+A8dbfZ qnJdOX//nsKTILx+LQJNrepr0D1xnlZGZJN+s6fsqRhk1bmsnipSgnC75kYCs+GIlBY+ eYSybBLKHYBZMXWpIYNRxDsoTb8TWNZncYA2dUNcyLYHjQpSUqSavXO6HT1oKWNDgLdm JxPWEMnvgdr4LFgx4ASFDtFGzeS2DZJqEl88jHtvm+S/myRHPG7428A+gmvvX0SjKpv9 xvpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=XtS/P9SmLyk3QKWLF6JMOAV4b0xIsdiYHPObF4LauGQ=; b=l6GO3Z9LrLRAptxyrZnDAvTdIl+46z9voprg2GasIyARXEF1gudgjTd1YCfQ0NgrWj vJfxwR2soEZQho5IJIydYcbrklpeJQBHa1jZnGFUuRZW2D4j4sUiEYVhRO0+PBTG/YW8 S6PodaKgKLJ0OB4PJF7dLR1DGagL1gRiqodiTvKWnySi+D7PWDn+HvYQYvEQ0D0R+jrV 3Okh4GfzH115B3valBKUJjZ+htSKqm1HZEfxMeTXKdev9F0jxxkx7pSJ5r6f1AjZuzXb DtujnX92q+FFJEztJtCDMH97fKIWnc7HgAwWVy1fJToQbJkcUKVNpguwIe4MY3VNpmTl R41Q== X-Gm-Message-State: AOAM533c50Hc2c11xFY6NLJbSUb9pFgS2EtZ3g05gTTrGJbBnQB4liGD YG9V2DriUacOlKVJKWxVnSA= X-Received: by 2002:a05:6870:15d0:b0:e9:8787:60c2 with SMTP id k16-20020a05687015d000b000e9878760c2mr11629759oad.294.1652142717960; Mon, 09 May 2022 17:31:57 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id b14-20020a4aac8e000000b0035eb4e5a6bcsm5622339oon.18.2022.05.09.17.31.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 17:31:57 -0700 (PDT) Sender: Guenter Roeck Date: Mon, 9 May 2022 17:31:56 -0700 From: Guenter Roeck To: Zev Weiss Cc: Jean Delvare , linux-hwmon@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, Renze Nicolai , Oleksandr Natalenko , openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski Subject: Re: [PATCH v5 1/2] dt-bindings: hwmon: Add nuvoton,nct6775 Message-ID: <20220510003156.GA1561729@roeck-us.net> References: <20220428012707.24921-1-zev@bewilderbeest.net> <20220428012707.24921-2-zev@bewilderbeest.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220428012707.24921-2-zev@bewilderbeest.net> X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On Wed, Apr 27, 2022 at 06:27:06PM -0700, Zev Weiss wrote: > 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: Rob Herring Applied. Thanks, Guenter > --- > .../bindings/hwmon/nuvoton,nct6775.yaml | 57 +++++++++++++++++++ > 1 file changed, 57 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..358b262431fc > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/nuvoton,nct6775.yaml > @@ -0,0 +1,57 @@ > +# 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. > + $ref: /schemas/types.yaml#/definitions/uint32 > + 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>; > + }; > + };