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 F08BBC4332F for ; Mon, 7 Nov 2022 03:58:22 +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-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-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=mdM64Oiy6r5rBd/ebpp3W9rG4yqWX+ouAQrMqU6w+Aw=; b=RFYHbAa/wtC7WFlb2qAkzHSZC9 ATksAO0/0ViC+de2wbZZHnlcFUzcY4Mkug5w59GG7Bxl+MqEIIY8MhUfPFCZsu6pBfvhDSurLmhuJ qVRcMh45L5X1XfSScODsJ8ycUkzovRsN5g64hMWMbTkvWcp0ZDtU4gYKebBosEnjJmPGywDLwuM0w +h+VJSg9rA673to8CLzOQR6E5YYxZBP7uIsPeJXQWHUgWrOJCAMRe2teaAPaKZWZp4aAlTqadsqQg q75F3NlU0SEB07ZCJCO6l5gtX0LTws6Hv/GnzhDDca9P/xulBmzeFIP6GiUAoxoxP3k+V6DO8a41b 9idrQGwQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ortFz-00BYPU-Dr; Mon, 07 Nov 2022 03:57:07 +0000 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ortFw-00BYOu-2O for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 03:57:05 +0000 Received: by mail-pj1-x1030.google.com with SMTP id h14so9392302pjv.4 for ; Sun, 06 Nov 2022 19:57:03 -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:from:to:cc:subject:date:message-id:reply-to; bh=jFMW3O4nMzzbsjps13fey55rZ3wr/PRwCQWHd1qcbcA=; b=cBnySRhwG9RoqlHnyyNDFqhPlpjxDLCS4e5dnFc2lZK2UFHxFIIFJwEkPyJ3PHw3c/ Q0fP3TgkwQoRItRNssOvfgKeobkt2uXGkcn7kZxO3BbWQ0jBRvGCKb3hCfUJafKjqq8k uR6Cd4x1u48Ox6DzxUTa19AeGAq6ZdpD+lBSwFXqmULfd/mXqsil114RRgw6TxpdTiLz /tm9VL/RTqfc5Q53iwcCAK8WtnF653mfAd6XQv9kGUlvTiYZTKGW11cG5qDm8l8AeNYt OobCKgopZrtYt6ugCFghPhU4FVwgvqbH5G50GBZuL6yk9XGYmNxH9lcDHRC4DXMu2TPI 1XZw== 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:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jFMW3O4nMzzbsjps13fey55rZ3wr/PRwCQWHd1qcbcA=; b=VbXYTEQGRt7b8ZzHpud5+nq6Kgii2M65yiYasWjZlBYrUR1inwzcWw8F4tqx+eyNes VLeYZK1R+yCoUMwTLdMaZp2lu8eQUhew6dd0b0z53OUKeITnwXF9BgxRhj9fEF8qAUqv 25pau/Z7kGvjNZxv3E2xgk4RmEoqpdpVrkQpltiQNW97l50qQUfn2xpd5IKXWrDlJZLJ QxZwMaQ36vHU6At09KDAfKbAL108lKWfBoHB+u4VpIaEDyWeJRHVPA/9acKt7yE0eUG8 r4/NPMiPNXnSKqnihRH5m8+KNzizJXHDU1mVvqVb9Ke8djh5UuQXo8BDfuNR21X9Vtm/ ywFQ== X-Gm-Message-State: ACrzQf2S7YXvsXfTXpJPH6X3kD7+jAy4y1ftORa3LxHxGOJY4W02JLXl McujZ0TZC4PH5p9EvdA7OgJfmhnALnJcqg== X-Google-Smtp-Source: AMsMyM4dGSaEfzbbZa2tW2MWyiEUxcwujp0EXKxIC/QK7xq2+L6A/rW/IJiML0aA97pqbqrq5krEUg== X-Received: by 2002:a17:902:ccc2:b0:178:29e1:899e with SMTP id z2-20020a170902ccc200b0017829e1899emr48045976ple.114.1667793422831; Sun, 06 Nov 2022 19:57:02 -0800 (PST) Received: from debian.me (subs02-180-214-232-14.three.co.id. [180.214.232.14]) by smtp.gmail.com with ESMTPSA id 68-20020a621647000000b0056bd1bf4243sm3282388pfw.53.2022.11.06.19.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Nov 2022 19:57:02 -0800 (PST) Received: by debian.me (Postfix, from userid 1000) id B260E103B90; Mon, 7 Nov 2022 10:56:58 +0700 (WIB) Date: Mon, 7 Nov 2022 10:56:58 +0700 From: Bagas Sanjaya To: nick.hawkins@hpe.com Cc: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, verdun@hpe.com, corbet@lwn.net, linux@armlinux.org.uk, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v1 1/6] hwmon: (gxp-fan-ctrl) Add GXP fan controller Message-ID: References: <20221104193657.105130-1-nick.hawkins@hpe.com> <20221104193657.105130-2-nick.hawkins@hpe.com> MIME-Version: 1.0 In-Reply-To: <20221104193657.105130-2-nick.hawkins@hpe.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221106_195704_153652_E41A3674 X-CRM114-Status: GOOD ( 16.52 ) 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: multipart/mixed; boundary="===============6510543649193242033==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============6510543649193242033== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Xo6UyqZ2b1CGVEcP" Content-Disposition: inline --Xo6UyqZ2b1CGVEcP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 04, 2022 at 02:36:52PM -0500, nick.hawkins@hpe.com wrote: > diff --git a/Documentation/hwmon/gxp-fan-ctrl.rst b/Documentation/hwmon/g= xp-fan-ctrl.rst > new file mode 100644 > index 000000000000..fc1709fb113b > --- /dev/null > +++ b/Documentation/hwmon/gxp-fan-ctrl.rst > @@ -0,0 +1,36 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +Kernel driver gxp-fan-ctrl > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > + > +Supported chips: > + > + * HPE GXP SOC > + > +Author: Nick Hawkins > + > + > +Description > +----------- > + > +gxp-fan-ctrl is a driver which provides fan control for the hpe gxp soc. > +The driver allows the gathering of fan status and the use of fan > +pwm control. > + > + > +Usage Notes > +----------- > + > +Traditionally fanY_input returns an RPM value, on HPE GXP systems it is > +the pwm value [0-255] due to the fan speeds being reported as > +percentages. > + > + > +Sysfs attributes > +---------------- > + > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +pwm[0-15] Fan 0 to 15 respective pwm value > +fan[0-15]_input Fan 0 to 15 respective input value: pwm value > +fan[0-15]_fault Fan 0 to 15 respective fault status: 1 fail, 0 ok > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D You need to add the documentation to toctree of hwmon documentation: ---- >8 ---- diff --git a/Documentation/hwmon/index.rst b/Documentation/hwmon/index.rst index ddff3c5713d74e..29ecef3ba4870b 100644 --- a/Documentation/hwmon/index.rst +++ b/Documentation/hwmon/index.rst @@ -73,6 +73,7 @@ Hardware Monitoring Kernel Drivers g762 gsc-hwmon gl518sm + gxp-fan-ctrl hih6130 ibmaem ibm-cffps Thanks. --=20 An old man doll... just what I always wanted! - Clara --Xo6UyqZ2b1CGVEcP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCY2iCBQAKCRD2uYlJVVFO o9iXAQC5dCdUaEBhlftegSoX9NMmwqr5otKpX0J4Hyg6r6BWxQEAwN3T6R2st6FD eQsWtMfkIixxZzJaGvqzv40MwM9tfAg= =Jvc3 -----END PGP SIGNATURE----- --Xo6UyqZ2b1CGVEcP-- --===============6510543649193242033== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============6510543649193242033==--