From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 979D9C3DA7D for ; Tue, 3 Jan 2023 21:35:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233699AbjACVfS (ORCPT ); Tue, 3 Jan 2023 16:35:18 -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-Google-Smtp-Source: AMrXdXuFoDGPeAwH/nDZ3FkyWvhEXgHn6dPjZyJ/mzFc5kwKVIuBNaUayVo5Cwy1W/onbY3+f+hd4A== 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> Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@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"; > + }; From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 448A5C3DA7D for ; Tue, 3 Jan 2023 21:37:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=rhZjJEe4xovsXVYaXkpMHmgqbKZCy8APSI/5Ld9WZx8=; b=zBGKB4jBCnr39L 30/H0m80S873sMjh6X3L4VtRBXvzg76LvmO38loOa4NIEIO3P+d06FQCsqeXzMdOIvcZnNstBs1qB 7ccqYICgfBlQv85AbSoby78+vaQanT/VPFUYCmfctv+BYYTEaakI/Gogl+MKlsFZTOBp1uEjbOfSo SUyRlfIKzp5wwIcXi3uMmGOhoA+Y6AMHb0j3Rp9CkwwZiNmkh4d95cVGc9cI75v4Gi1t4nPWCFvhy PsTI2v/kJcT+9PNEx1uDSk7xA+VXcNNijIZcQOAZaBNfADj4Ek4hERlS9o0SDkjZQ61WEvttwFIwR ArMRXBMIH6gF8Vmy6f9g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCoxT-005B6m-E9; Tue, 03 Jan 2023 21:36:31 +0000 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCowI-005ALX-Dp for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2023 21:35:20 +0000 Received: by mail-ot1-x32f.google.com with SMTP id k44-20020a9d19af000000b00683e176ab01so14904099otk.13 for ; 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=7gfGlycUkcCk+7bptXP2bmBsPOy9bUiQlxcGSZsaPMv55uKFgke0/owL+Z7mK7JF0g zx5mBLTg9FWLhzVUykjV4d8KYFeqnaGbWblNwh/MfMaOlQsphG930dLTcWwEJG5SrZ5K J4TszYEutL7lsSKqULMn5lsamYvG3bX/6DCoDfelS2AomEUmxXRV25viIK9yNzKp+9NH jPk6SMfH3PD/f/V2+HbBZVni6pyneAbHSHpw3+neeKRWMw2jxjRCeFDnJIknD2Rg/Yvc bgf5Kx7p3/FsmZQhswT+lqUptxLd9oiRql/Qt7MzJ7Ufwa3WzA3p3NdYgjpaUt6zcO7U rqcg== X-Gm-Message-State: AFqh2kr59etOl9OuMoQiBl4z5wo4d7jTRR8J9NcHFmbZpekKrP4i/ojr uxu2cWQjgpDCBq0Y1tgoKmc= X-Google-Smtp-Source: AMrXdXuFoDGPeAwH/nDZ3FkyWvhEXgHn6dPjZyJ/mzFc5kwKVIuBNaUayVo5Cwy1W/onbY3+f+hd4A== 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) 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-Disposition: inline In-Reply-To: <20230103203654.59322-3-nick.hawkins@hpe.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230103_133518_542034_B4586918 X-CRM114-Status: GOOD ( 18.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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"; > + }; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel