From patchwork Thu Feb 7 16:37:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 10801463 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A50BB1575 for ; Thu, 7 Feb 2019 16:39:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 880852DA4B for ; Thu, 7 Feb 2019 16:39:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79BC32DA5B; Thu, 7 Feb 2019 16:39:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 08D1E2DA4B for ; Thu, 7 Feb 2019 16:39:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726442AbfBGQjG (ORCPT ); Thu, 7 Feb 2019 11:39:06 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:35289 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfBGQjG (ORCPT ); Thu, 7 Feb 2019 11:39:06 -0500 Received: from stefan-Vostro-260.fritz.box ([109.104.54.161]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N6c0W-1hB6Zh03rS-0180L1; Thu, 07 Feb 2019 17:38:35 +0100 From: Stefan Wahren To: Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Guenter Roeck , Rob Herring , Mark Rutland Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH V2 1/2] dt-bindings: hwmon: Add optional regulator support to pwm-fan Date: Thu, 7 Feb 2019 17:37:59 +0100 Message-Id: <1549557480-14436-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549557480-14436-1-git-send-email-stefan.wahren@i2se.com> References: <1549557480-14436-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K1:9SE9Scaz/eUPndRGn/nsIoE0MCcvkmpj7I6FmAxL1U5R9M2kbdQ cPpvoRKdvTEPSZTtR3gg9sUwDSlJoDrnq8hdDZNHvy6aEWh97zCC4xPaQiY62+SPvVrK8Nh SOlZgIMzZq0xhC/QhEsRKqwShATwMp94C2I9C4+tTtAMMghWF4WIUnmX9oWwtMZn8LVPZBW nez3U5jJaj6vZ8FLa7Iwg== X-UI-Out-Filterresults: notjunk:1;V03:K0:8T6IrMmgIOo=:gbTUXbWMLVDBggkTMwBpzD Uoi0lgythT3MI8mJXt0ICaKUd2/zI0UwA6fCnJjm+CYo8YyfL1tUQTmNyYAbyA5JMMdWC1zCy p0o7nMUsoWWo8sXMUYXOuvNnbjPhdkfy76nRvFYT+U3VDRp1v+BuO+x+xvuoAt6dAPYuC9ff1 nC4nehOsT3N+LUrZVFNgegq9ruW5vTrdHloOGPQVz1Aj6FFIUzvnrpSfDPTrKzgkZstIPLlHI iSgxFCuqFMIDm+7t6gsZwqMuMklTzaC9MPRkmB5tPO+v4B28X9WnEn3r7lYsmHG7VBm9pdZXH p/uQeXZA/lZIjXNj0uZIsxzhdJ+oUbpyUDpqdbhrTIh3TmOeay3bev2lV8iL6yO0KBRWV4Jgr FU/42lYcpLgEi96RWGXRZdWDpjZl9bjAb1bJ9C0+v/3NHoDKr9wOOO/zD752VVVP7zoxgFrGF JU9OiXgdxVBsB9Gp54+WfydLjypIQ0BJvBL/tcUVIDSu8ddVldmGBi2US38SvjKAeHu+1cKD/ p0KAZ1FvfwI13l5UpK9VOuPb28s/a+9f7RmsqVfkoax5Qylep90R/JWsV5q5OZpgJlHZychKT F0wXnfJsPgRVsTrEP142HKlriNAKuQbY4EvSSX0ZH5eJFgaoA7kp0yPFrhlRenPhgkrIW1vJ3 QkHs4T3+Q9GWCdbEGJWD3WZTd+KigLd1ROOHvXUlW+EzPHzZQAGCp1xviFwCkqEuw+ZmZUnKB uT1nmroL11nvLuWRzmGnRobOYfG3NKXEO/Y4inF/e0yH30nwSU6/wURW51A= Sender: linux-hwmon-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds an optional regulator support (e.g. switchable supply) to the pwm fan binding. Signed-off-by: Stefan Wahren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/hwmon/pwm-fan.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt index c6d5332..49ca5d8 100644 --- a/Documentation/devicetree/bindings/hwmon/pwm-fan.txt +++ b/Documentation/devicetree/bindings/hwmon/pwm-fan.txt @@ -6,6 +6,9 @@ Required properties: - cooling-levels : PWM duty cycle values in a range from 0 to 255 which correspond to thermal cooling states +Optional properties: +- fan-supply : phandle to the regulator that provides power to the fan + Example: fan0: pwm-fan { compatible = "pwm-fan";