Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp12425793rwl; Tue, 3 Jan 2023 14:20:33 -0800 (PST) X-Google-Smtp-Source: AMrXdXvsJZBfj+FT0AdzKoQSEys0fr3jdHX9yn33+G0nrdmO3GqGRKct3qKO8CkDw3E0FW2Z66Fg X-Received: by 2002:a17:906:9693:b0:7c0:e989:bf70 with SMTP id w19-20020a170906969300b007c0e989bf70mr34095970ejx.25.1672784433490; Tue, 03 Jan 2023 14:20:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672784433; cv=none; d=google.com; s=arc-20160816; b=AfaHzCjfZZgY84TJ6DJtE2Xrn19wacM8XyoojGUaVUTSnvGZvt/8q4SnBHfMtcxxXB drrdaHDwrW9fR13xshpZd1+KHDxh4e24P3e1yW87thRgcH0QRgHXGrl5b8W+XJzbV74i zJTm3x6PjLu+DOBUT5Ll1e+b+ckQRIcIWwxa7nLXYEGo1j9k8kYWuSXyudnzQjCq0y/d to85gnQXtprmfZq5ISJyBsmXcOqnbo1gAWsAoI+WsKdrpxQMjaUQa2QUGdXZqG3+y+qJ wElWucTRdEKcgXG0U74BAJxoO6SP/I1OASvA1n61sNLbEP1MknnKn6mqZa/FuaswqCHA Z7TA== 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=8P3ginyQKonop89J+7DfYw/82uc/ZrqaQ0PG8kTwCUs=; b=v7yUp5hNFnLBmcn3w6x8xdQLCyYiS+ovIm9rRivZQlJaYpVLVD+R3dNG3OGLrncxax NCRkRqQqnnVIsQSln1XgeyHvVNkq21C4YNBGogluVSGjqAQLWVl+N6VzftY/wORs8INL TV7Vey7lRUgqAQzbAZoo4cErqmd0TVvkonZVUI//CF3NPl5UYtBmgVTEC6JDsDKnWuI7 7kcTyYq1qhtsPSq14pDLUiX8+1QtyP2LiCVPyqhlid+ASOiDgWU8lQOx9p+BfJkS9z4N jC4hQbp1+JysXR4xS8VSqOMZjhgWUfh8PlNLeW3OW6zaAix2m8Zk9W9PV2Qk9kInetMZ 17mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=aKWf8bJ2; 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 o22-20020a170906975600b007c167cdc18esi30139286ejy.747.2023.01.03.14.20.18; Tue, 03 Jan 2023 14:20:33 -0800 (PST) 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=aKWf8bJ2; 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 S234217AbjACVfU (ORCPT + 60 others); Tue, 3 Jan 2023 16:35:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231156AbjACVfR (ORCPT ); Tue, 3 Jan 2023 16:35:17 -0500 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E0951261B; Tue, 3 Jan 2023 13:35:16 -0800 (PST) Received: by mail-ot1-x330.google.com with SMTP id e17-20020a9d7311000000b00678202573f1so19819233otk.8; Tue, 03 Jan 2023 13:35:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=8P3ginyQKonop89J+7DfYw/82uc/ZrqaQ0PG8kTwCUs=; b=aKWf8bJ2k99asm2tdDzzSf+UesabGJMsbYuOQAyTZrAnsTCM9+2cZ575ukwyyO2Ptp 4acoeTFmOi4aebndnbsjqyUgwEYYs3IVKDmfmnXE5LUJV2AuMAUQOtxLsc3hnojfk3Jc VXNXNkXPuuiqT759l3b9TYMYmVunrQ48R4Tba7zuPALTY5+cMT5MtEGw1hwh0dzasqME MzGZ/czI8Lm1JvcZNF+zWCWeN+R7aMpB1JECMh6dJCJ/7fCh6hOwlKoI291Vvy6qTsg8 5+shTGz4gDQaK989SAESyHkTP92crWqmnZqAHTHic5a26q+gMvIWiRhohgFu7mx7AbE3 +/eQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8P3ginyQKonop89J+7DfYw/82uc/ZrqaQ0PG8kTwCUs=; b=aDSmDnoWtwh7RI9SZmD178CoBLDR9ifQ/EYxthAIYUqlI/bwQPdBxgm23SOtRxow07 858XdsleOAUArb9ieo8jshTAXbkLSvK9etUWXz/QlMSRyidIcY7/7pRePt/AwCAf92uR 3Rf78CF1INdJnNaz+kGEiKCLy3O8ZuuV4b8f2jq65rXXFW+ga9UrQyl1YKqmzdLA78qe JtHKlNwMKrCConUhCWMSjlfyUHTeZIL/0z6KwzbeTKLTCH06lUbyL2mi2pXfu67wSsex VQdpX6o/KSvFqIrYEJjJhXfBNF7Zgno2EUYglImn+6Vsfbyk9iQtGpIEr6gkaM4DxZgK 0U/A== X-Gm-Message-State: AFqh2kr6mUvJFsQnvlxOsS9J91bp6caiXKHqs14whzr/QSpRLyyr34EW 51Fy5RzHr1MkE6hg0c036/g= X-Received: by 2002:a9d:4701:0:b0:671:81c2:6406 with SMTP id a1-20020a9d4701000000b0067181c26406mr22659086otf.38.1672781715760; Tue, 03 Jan 2023 13:35:15 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id db6-20020a0568306b0600b00683e4084740sm11448796otb.10.2023.01.03.13.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 13:35:15 -0800 (PST) Sender: Guenter Roeck Date: Tue, 3 Jan 2023 13:35:14 -0800 From: Guenter Roeck To: nick.hawkins@hpe.com Cc: verdun@hpe.com, jdelvare@suse.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, corbet@lwn.net, linux@armlinux.org.uk, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 2/5] dt-bindings: hwmon: Add hpe,gxp-fan-ctrl Message-ID: <20230103213514.GA216224@roeck-us.net> References: <20230103203654.59322-1-nick.hawkins@hpe.com> <20230103203654.59322-3-nick.hawkins@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230103203654.59322-3-nick.hawkins@hpe.com> X-Spam-Status: No, score=-1.2 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 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 Tue, Jan 03, 2023 at 02:36:51PM -0600, nick.hawkins@hpe.com wrote: > From: Nick Hawkins > > Create documentation for the binding to support control of the fans on > HPE platforms. > > Signed-off-by: Nick Hawkins > Reviewed-by: Rob Herring > Reviewed-by: Guenter Roeck Applied to hwmon-next. Thanks, Guenter > --- > v4: > *No change > v3: > *No change > v2: > *Changed plreg to pl > *Changed fn2reg to reg > *Edited descriptions for all registers > *Changed fanctrl to fan-controller > *Changed commit description > --- > .../bindings/hwmon/hpe,gxp-fan-ctrl.yaml | 45 +++++++++++++++++++ > 1 file changed, 45 insertions(+) > create mode 100644 Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml > > diff --git a/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml b/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml > new file mode 100644 > index 000000000000..4a52aac6be72 > --- /dev/null > +++ b/Documentation/devicetree/bindings/hwmon/hpe,gxp-fan-ctrl.yaml > @@ -0,0 +1,45 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: HPE GXP Fan Controller > + > +maintainers: > + - Nick Hawkins > + > +description: | > + The HPE GXP fan controller controls the fans through an external CPLD > + device that connects to the fans. > + > +properties: > + compatible: > + const: hpe,gxp-fan-ctrl > + > + reg: > + items: > + - description: Fan controller PWM > + - description: Programmable logic > + - description: Function 2 > + > + reg-names: > + items: > + - const: base > + - const: pl > + - const: fn2 > + > +required: > + - compatible > + - reg > + - reg-names > + > +additionalProperties: false > + > +examples: > + - | > + fan-controller@1000c00 { > + compatible = "hpe,gxp-fan-ctrl"; > + reg = <0x1000c00 0x200>, <0xd1000000 0xff>, <0x80200000 0x100000>; > + reg-names = "base", "pl", "fn2"; > + };