Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp51102rwb; Fri, 4 Aug 2023 09:04:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjPj6+7gng9Ngza2Nsk6UFUjAHojCAC9a34roxQ3jo4uEAZ63RtnvTASw+IC6x0FHnT8Zz X-Received: by 2002:ac2:5222:0:b0:4fe:1ac9:fe5a with SMTP id i2-20020ac25222000000b004fe1ac9fe5amr1582863lfl.39.1691165064421; Fri, 04 Aug 2023 09:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691165064; cv=none; d=google.com; s=arc-20160816; b=dXjNQQypimM0cbbZDlqkBjb/LlrBoRU5qdge7EPjZ9E7X5StHFflaw2qmr1qb7qbBm D0uj4DeZ6pCpioAu5sWu0d3tXIG9vTpeOSZUQGpwElE48X/5Tm7x3r5QLaJQBp/zk99p bmlzFVMS0apU6RlaJ/+Q4x0XABTrYUoeMs2lLRG+C0jvxBN0253NoLSHYnPe1sEIjqxC uOc6w+Lqdpc5V1bWEN3TppSdtLZpc+ESZStyUHKo33zT3cuzjiNmg2drQbBbtL9784Yo ItDuIjUr6Fn5JULeuZu8pCP+ftZOFn8f+jL1w2mbc9yuEMZKpGzd4GJylRqucLmj/8kP KPhg== 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=if/ZovJR7p3b31bMI0Uk4H3F87fhaM6XpOqSKslEw7w=; fh=fjspq7JloC59+VRQ2WVYShK/XEP/m5y/st65LqYgaH8=; b=nu45EQNT4SZ/GiQr68qO4EvSrE/r2hO079T9JmehVesKmZAlEVXFGRzaYO+7J7SI8c +p9S3EPpOgWFtCaKl8cI3xJ8ycnwt1QrzcaNy/z5tlzu0LJCu7BdQK6P/FTczApAHvH1 F4/uHTLeKmOrq9F4dgoW/y9Jn+0atDTXC52tFocBv/xeRvNvqrjPC0MGwEHNbFiHgGki neyZDthxwk6jARK1qo7WwXe1LXBNv3S+/l09LkajwSk9CJQQrtwHxDwZHCVzZ/1DEqqI XhwMXiF+wmPYD/3Txu8msmdZ5uaYTbDveClaVeszmBnrNQ8BO+Ocj7lx4x62f6ZO6Txd JzDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Nxt2TW/H"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c18-20020a170906341200b00992d730e99dsi763535ejb.494.2023.08.04.09.03.50; Fri, 04 Aug 2023 09:04:24 -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=@kernel.org header.s=k20201202 header.b="Nxt2TW/H"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232144AbjHDPsy (ORCPT + 99 others); Fri, 4 Aug 2023 11:48:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232172AbjHDPsq (ORCPT ); Fri, 4 Aug 2023 11:48:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DB1249E5; Fri, 4 Aug 2023 08:48:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8A3D662096; Fri, 4 Aug 2023 15:48:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA2E9C433C8; Fri, 4 Aug 2023 15:48:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691164120; bh=g530ErRoPbHPWkxCzst6RTK4AQ20MUM55oWKx67Ir20=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Nxt2TW/H8CicYGxtKYh5tylW6wOEpw6k8QKEnaSQK8wO183JlnaCLJhvZ4k/dnNlI YJQDaf/C2Y7PjM+x66439QIOjA5lGqN7c8yxd15alHPBf/yuSPKyJgaQUqWErH5HDJ ZrIRDXmnZo4sqnIHrwNxSAO72uVxNL3LaMSeVbTPgYV44pT8pQyPa/OLv/qAKlMm2u hbd6/I7cDkjahoeu+gJUXDrEARLnegdebY2nckHE/HU15hCgvf0ZD60sUr8M+eAbp2 T7YswR6+cC/FSPOcZkpxxk18C5zuAatg9+s4RW1z2/AcFib8TGi+3DJsd8+sy4zCO4 pobsbwKwQ/zYQ== Date: Fri, 4 Aug 2023 16:48:35 +0100 From: Conor Dooley To: Naresh Solanki Cc: Guenter Roeck , krzysztof.kozlowski+dt@linaro.org, Jean Delvare , Rob Herring , Conor Dooley , Marcello Sylvester Bauer , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/2] dt-bindings: hwmon: Add MAX6639 Message-ID: <20230804-tamper-numbness-0117bb53a921@spud> References: <20230803144401.1151065-1-Naresh.Solanki@9elements.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sN8NPFS9+3FUypYE" Content-Disposition: inline In-Reply-To: <20230803144401.1151065-1-Naresh.Solanki@9elements.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 --sN8NPFS9+3FUypYE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 03, 2023 at 04:43:59PM +0200, Naresh Solanki wrote: > From: Marcello Sylvester Bauer >=20 > Add binding documentation for Maxim MAX6639 fan-speed controller. >=20 > Signed-off-by: Marcello Sylvester Bauer > Signed-off-by: Naresh Solanki > --- > Changes in V3: > - Update title > - Add pulses-per-revolution, supplies & interrupts > Changes in V2: > - Update subject > - Drop blank lines > --- > .../bindings/hwmon/maxim,max6639.yaml | 60 +++++++++++++++++++ > 1 file changed, 60 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max6639= =2Eyaml >=20 > diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml b= /Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml > new file mode 100644 > index 000000000000..b3292061ca58 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml > @@ -0,0 +1,60 @@ > +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/maxim,max6639.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim MAX6639 Fan Controller > + > +maintainers: > + - Naresh Solanki > + > +description: | > + The MAX6639 is a 2-channel temperature monitor with dual, automatic, P= WM > + fan-speed controller. It monitors its own temperature and one external > + diode-connected transistor or the temperatures of two external diode-c= onnected > + transistors, typically available in CPUs, FPGAs, or GPUs. > + fan-supply: > + description: Phandle to the regulator that provides power to the fan. > + pulses-per-revolution: > + description: > + Define the number of pulses per fan revolution for each tachometer > + input as an integer. > + $ref: /schemas/types.yaml#/definitions/uint32 > + enum: [1, 2, 3, 4] > + default: 2 Apologies if I am digging up old wounds here, since there was quite a bit of back and forth on the last version, but these two newly added properties look to be common with the "pwm-fan" and with "adi,axi-fan-control". At what point should these live in a common schema instead? Otherwise, this looks okay to me, although I'll leave things to Krzysztof since he had a lot to say about the previous version. Thanks, Conor. --sN8NPFS9+3FUypYE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZM0d0wAKCRB4tDGHoIJi 0mH7AQDBInAjsrZfZac0XzETGrZ+PttnYaYh09UYHDLHd39geQD9GnXkAmCktfbd YjgvCATLL8jElmPIYkCiFurNDe/w1w8= =Aesl -----END PGP SIGNATURE----- --sN8NPFS9+3FUypYE--