Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4630830rdb; Fri, 15 Sep 2023 07:55:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEfeLYF27lPI/QkmUf5+ZfOJJtMU6qjk5TSboKIFio6vJWAZYmz6iYtN7KUVzgv5XqAHVXl X-Received: by 2002:a05:6358:27aa:b0:125:a552:4389 with SMTP id l42-20020a05635827aa00b00125a5524389mr2389289rwb.22.1694789729031; Fri, 15 Sep 2023 07:55:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694789728; cv=none; d=google.com; s=arc-20160816; b=y3wXGZdktR1nq8wWmdWXDdmuNZLZZx/kWSFnJU+jjYeVRUnhNwghtfAKV2+ecIi+6o vwQ8pFpT0zlkm2jg6WsHRzzucoAmEUaAMEsWALXTcDG8jNniNE40YUycwpHz/yAYLWdL 7s7pGCsvNi2JgR9DHq8vjMPtI/ziiyiLObLiY1Jn3DZUznuCuyB3EMsq5qDMyatkAR4l 54n/+EsbldADbSxG78oyWNiL7O1JuE81aaM0hP51tTl3+4/+eFQvoCyz1cCYwWFU5u2u Vc1gImuy+63c61uk1/xCizUXshY0+AroNhS65Ghbe61rHHPLrMTF+mEU8AwBKRvN4yxF OHZA== 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:dkim-signature; bh=LLQPXkk+NlcPMuJ+RI3MID4GSVYuc+WyK9EWVWkYBgE=; fh=axqssJ6NvQG/yw+7OqGOseSD9Wt3YCnzCnh0DZMrS58=; b=ujKAl+ua1MbkaFn5C3JAiUJrMrjUj/8GovC4BpS+WudTnfPdVEQpMMHcREkiquAo5s KdTiZqCA2w521xKrlmwlDsIg5GSoTHN+0iinbRN3YFSkabk0DCfKgeaRVZBt1NMRjpJK AvdByrv+MtnGPOq5o7ssDKmINFm7SaUfkDNGeYPJiT8Rjg2tw6b/gZYFOC7lWvfB08Op r9K4damqIXA+a4XGwkUal/9DsikhZ+Uzoh5MPitE8zL95HtxVL4G9NfExN7gfH0G4g2i imqNvZNnXQ6Iu0N28uz3JZ5OQ62eJpTexVTORRdsMqqMOIDNBu16tB0iDHny8sRK1xbI W2jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NwpEnu7H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x190-20020a6386c7000000b005775a0544e6si3279042pgd.135.2023.09.15.07.55.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 07:55:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NwpEnu7H; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 728F5805B9E1; Fri, 15 Sep 2023 07:50:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235817AbjIOOui (ORCPT + 99 others); Fri, 15 Sep 2023 10:50:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235401AbjIOOuh (ORCPT ); Fri, 15 Sep 2023 10:50:37 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB65B1FD2; Fri, 15 Sep 2023 07:50:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F84DC433C8; Fri, 15 Sep 2023 14:50:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694789431; bh=+7a/yilTLV3BMiTCUiFOpBcqKwXaHi/uJzXAg9+YPtQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NwpEnu7H/3Yo77ctlj+KSVShzHRotD5z4emCwm2QBSN0l8eFaqEk5iFeAE/Q7kNwG 7QY7O7QpiyMGsgi/21vOWy8FLlOrvw1XbCO5kWdp8sk48gXvhME8PIOhiwahTs4LDg o3PBuISTzKbilibvTjOtXzUfiSkGSkZqHs+dSlQMqbzbpUEOcvzmmMNj1O6DuvLzB/ KA3p0HRCYWvMoJHBNYWWh2oGyct8Ygv/p+vhER6EZlg7b1mqUasuBxlW7hixy9Lypv cbjVEqtXAQ/nX+il78lIg2QeF4Hz2M/2XRU+fCmFVlW9FMFkABmw46/VCxZHD+gGC+ ZoqKPqnOP27xg== Date: Fri, 15 Sep 2023 15:50:27 +0100 From: Conor Dooley To: Delphine CC Chiu Cc: patrick@stwcx.xyz, Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] dt-bindings: hwmon: add MAX31790 Message-ID: <20230915-quench-left-8fbc1ca3b1da@spud> References: <20230915062926.2460502-1-Delphine_CC_Chiu@wiwynn.com> <20230915062926.2460502-3-Delphine_CC_Chiu@wiwynn.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="j20GgGeCJk1fE9k9" Content-Disposition: inline In-Reply-To: <20230915062926.2460502-3-Delphine_CC_Chiu@wiwynn.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 07:50:38 -0700 (PDT) --j20GgGeCJk1fE9k9 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yo, On Fri, Sep 15, 2023 at 02:29:24PM +0800, Delphine CC Chiu wrote: > Add dt-bindings for the MAXIM MAX31790. >=20 > Signed-off-by: Delphine CC Chiu > --- > Changelog: > v2 - Add dt-bindings for the MAXIM MAX31790. > --- > .../bindings/hwmon/maxim,max31790.yaml | 59 +++++++++++++++++++ > MAINTAINERS | 6 ++ > 2 files changed, 65 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max3179= 0.yaml >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml = b/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml > new file mode 100644 > index 000000000000..2bd455b36b3f > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml > @@ -0,0 +1,59 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > + > +$id: http://devicetree.org/schemas/hwmon/maxim,max31790.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim max31790 > + > +maintainers: > + - Delphine CC Chiu > + > +description: | > + The MAX31790 controls the speeds of up to six fans using > + six independent PWM outputs. The desired fan speeds (or PWM duty cycle= s) > + are written through the I2C interface. > + The outputs drive =E2=80=9C4-wire=E2=80=9D fans directly, or can be us= ed to modulate > + the fan=E2=80=99s power terminals using an external pass transistor. > + > + Datasheets: > + https://datasheets.maximintegrated.com/en/ds/MAX31790.pdf > + > +properties: > + compatible: > + enum: > + - maxim,max31790 > + > + reg: > + maxItems: 1 > + > + pwm-as-tach: I don't see any other users of this in-tree, so you'd need a vendor prefix. That said, I'm once bitten, twice shy about fan related properties in hwmon, so I would definitely like Rob to comment on this whole binding. > + description: | > + There are 6 PWM output channel in MAX31790 that allows to be confi= gured > + as a TACH input by setting the Fan Configuration register. > + Config PWM output channels in the array as tachometer inputs. > + $ref: /schemas/types.yaml#/definitions/uint32-array > + minItems: 1 > + maxItems: 6 > + items: > + enum: [1, 2, 3, 4, 5, 6] > + > +required: > + - compatible > + - reg > + > +additionalProperties: false > + > +examples: > + - | > + i2c { > + #address-cells =3D <1>; > + #size-cells =3D <0>; > + > + pwm@20 { > + compatible =3D "maxim,max31790"; > + reg =3D <0x20>; > + pwm-as-tach =3D <2 5>; This would be <2>, <5>; no? > + }; > + }; > diff --git a/MAINTAINERS b/MAINTAINERS > index c8fdd0d03907..97e13b6bf51d 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -1371,6 +1371,12 @@ F: Documentation/devicetree/bindings/hwmon/adi,max= 31760.yaml > F: Documentation/hwmon/max31760.rst > F: drivers/hwmon/max31760.c > =20 > +ANALOG DEVICES INC MAX31790 DRIVER > +M: Delphine CC Chiu > +S: Odd Fixes This is a pretty odd status for something you're newly adding. How come it's not going to be maintained? Thanks, Conor. --j20GgGeCJk1fE9k9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZQRvMwAKCRB4tDGHoIJi 0i3ZAP98nZfLp3xX8XszvOrnl9Qt3XVP8P1i2pSLZPHZs0B3TAD/XGC0hnOt22Oj sm+07JZPIK/YS2QOTChE8LW5bR5NlAM= =iyxw -----END PGP SIGNATURE----- --j20GgGeCJk1fE9k9--