Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4653974rdb; Fri, 15 Sep 2023 08:27:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGrnA5qNrtbfgcbk3hWakMDHViTnKU/5L8XarI+mOtKvSne8vQKIm1eBU+HMiTnW2gZpgzc X-Received: by 2002:a05:6a21:47c6:b0:140:a25:1c1d with SMTP id as6-20020a056a2147c600b001400a251c1dmr1922053pzc.51.1694791656645; Fri, 15 Sep 2023 08:27:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694791656; cv=none; d=google.com; s=arc-20160816; b=QmeIwQTrabPEbL1SHGe0clIXcVfNEHS98Kzexxdp8Ox0qVypDiHfUt0vSVNNEPMGW8 v5/vUW0oltwe1j7s5fHutpIjvWMDDC/kqIm+WrejT5GKx6ktuPSrGWGndnn43+B9poDp sFtmktEHeX9jXwjj+2ODPMvfQeSJDRDNIaO7wJW4/lia/h5IErW2LMbUOTcl+Db543/+ fwhBhTCFhxpjNthDO8azlna/2/iIKT30weX+54jnAg9icLkltGbWvPxfCgCJD3MP2Y2n FZVXI9mOFLV3qtgH42nA/sUa28difDk127+4w+aVfGKWyEybtVPrwuPJUsYxdz75GW9j +DJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=c5zypRtHm1X3hPjv/H8nBKAq0hAGPVLMenlkDPhjKPg=; fh=r/WjzqZsc1kziALUrzQwDLZBMCRGPt2TJcdNo4rvSWI=; b=cAl7gE4Ey7mOVVontTiU/ZUJnud8jekpMIA16kxPt5XU4nmI424GzRtZYDkq3gZ2SA z7B9s/+QwmhdbvyNzqINaPe7X70OOEmMZakFWGjaa8VwuyY9CofKENY7nIlmv01iSCYP BjPJAJZIc9G0msheqOAqjw1O6vJgLSC+Chd4vr/9ZkTl/Zx2hzs6T6LK3YtUa2s+1aCM j+Ml2zwYoSZS158rajo6i6V0N5o6zPjN0XQog2hyYgjrC/FZwauE4rBlYIjFdnhhwE6v N1reX1cbeMbvQi17Ix3PXfEKE4cmfgGgkUZQRyBvforflRpD4C3jk97XzD25HrGfLCO5 W7uQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FCZ6oVTE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id p28-20020a056a0026dc00b0068fdc320483si3416055pfw.225.2023.09.15.08.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 08:27:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FCZ6oVTE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id A42A083B98AD; Fri, 15 Sep 2023 08:21:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236019AbjIOPVS (ORCPT + 99 others); Fri, 15 Sep 2023 11:21:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236037AbjIOPVN (ORCPT ); Fri, 15 Sep 2023 11:21:13 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3472E50; Fri, 15 Sep 2023 08:21:08 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 423DDC433D9; Fri, 15 Sep 2023 15:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694791268; bh=pTEjJA0kj/6QF5GhK14Gwc+awU8UExZq78QnqnmOkVU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FCZ6oVTEw4S8qoIydJ4ipzkUtXPDnJdYxdFMMCakRjp7uHM9QkVVx5kwAW1bHXivd yKIR3/FU4+eGi5OOVluLMcNYEdHv/+p/5fYJIZziFmTN/iTO+8QnHQJFYuchNOifbu qpFTzAemtZWgxCSvIKA8XrI2AFabOUUHa58749Eh6qsV5mIoD9V5ebUnzK9xEi1xz+ y4pJeyRcC/C5up22mBoeCTPIAxlyNPlHWil8uEZQOmac57mQOqGBupg8TeU75nWC5J lLBYfOoA7/p/g5Vm+rEwBtW4pVB4PsS/qPkzeBVnR5z+eAp/5TbaK4ASFut8UdoMDP Rok6WwEwwub3Q== Received: by mail-lf1-f48.google.com with SMTP id 2adb3069b0e04-501bef6e0d3so3634269e87.1; Fri, 15 Sep 2023 08:21:08 -0700 (PDT) X-Gm-Message-State: AOJu0YzA5tBzKp4V5FDcAi7P08S/xGClIKkAC0yj0vJG5nhgpLoVEI/G abnouMBNDiKDpf7huUaD+iwQ0Ev9+VQfwhu7yQ== X-Received: by 2002:a05:6512:5c6:b0:502:c950:592e with SMTP id o6-20020a05651205c600b00502c950592emr1666805lfo.25.1694791266478; Fri, 15 Sep 2023 08:21:06 -0700 (PDT) MIME-Version: 1.0 References: <20230915062926.2460502-1-Delphine_CC_Chiu@wiwynn.com> <20230915062926.2460502-3-Delphine_CC_Chiu@wiwynn.com> <20230915-quench-left-8fbc1ca3b1da@spud> In-Reply-To: <20230915-quench-left-8fbc1ca3b1da@spud> From: Rob Herring Date: Fri, 15 Sep 2023 10:20:54 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 2/2] dt-bindings: hwmon: add MAX31790 To: Conor Dooley Cc: Delphine CC Chiu , patrick@stwcx.xyz, Jean Delvare , Guenter Roeck , Krzysztof Kozlowski , Conor Dooley , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 15 Sep 2023 08:21:48 -0700 (PDT) On Fri, Sep 15, 2023 at 9:50=E2=80=AFAM Conor Dooley wro= te: > > Yo, > > On Fri, Sep 15, 2023 at 02:29:24PM +0800, Delphine CC Chiu wrote: > > Add dt-bindings for the MAXIM MAX31790. > > > > 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,max31= 790.yaml > > > > diff --git a/Documentation/devicetree/bindings/hwmon/maxim,max31790.yam= l 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 cyc= les) > > + are written through the I2C interface. > > + The outputs drive =E2=80=9C4-wire=E2=80=9D fans directly, or can be = used 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. Please see this[1] and comment on it to ensure it meets your needs. Otherwise, omit any fan related properties for now. Rob [1] https://lore.kernel.org/all/20230830123202.3408318-2-billy_tsai@aspeedt= ech.com/