From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH V3 1/2] dt-bindings: hwmon: Add optional regulator support to pwm-fan Date: Sat, 23 Feb 2019 09:02:47 -0800 Message-ID: <20190223170247.GA7739@roeck-us.net> References: <1550843124-10992-1-git-send-email-stefan.wahren@i2se.com> <1550843124-10992-2-git-send-email-stefan.wahren@i2se.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1550843124-10992-2-git-send-email-stefan.wahren@i2se.com> Sender: linux-kernel-owner@vger.kernel.org To: Stefan Wahren Cc: Kamil Debski , Bartlomiej Zolnierkiewicz , Jean Delvare , Rob Herring , Mark Rutland , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: devicetree@vger.kernel.org On Fri, Feb 22, 2019 at 02:45:23PM +0100, Stefan Wahren wrote: > This adds an optional regulator support (e.g. switchable supply) to the > pwm fan binding. > > Signed-off-by: Stefan Wahren > Reviewed-by: Rob Herring Applied to hwmon-next. Thanks, Guenter > --- > 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";