linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/2] hwmon: pwm-fan: Add optional regulator support
@ 2019-02-07 16:37 Stefan Wahren
  2019-02-07 16:37 ` [PATCH V2 1/2] dt-bindings: hwmon: Add optional regulator support to pwm-fan Stefan Wahren
  2019-02-07 16:38 ` [PATCH V2 2/2] hwmon: pwm-fan: Add optional regulator support Stefan Wahren
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Wahren @ 2019-02-07 16:37 UTC (permalink / raw)
  To: Kamil Debski, Bartlomiej Zolnierkiewicz, Jean Delvare,
	Guenter Roeck, Rob Herring, Mark Rutland
  Cc: linux-hwmon, devicetree, linux-kernel, Stefan Wahren

This small series implements the optional regulator support for the
pwm-fan driver.

Changes in V2:
- address Guenter's comments:
  - handle error case first
  - drop ENOSYS handling
  - implement more consistent bail out handling
- enable regulator before setup PWM
- make sure we disable regulator if probe fails

Stefan Wahren (2):
  dt-bindings: hwmon: Add optional regulator support to pwm-fan
  hwmon: pwm-fan: Add optional regulator support

 .../devicetree/bindings/hwmon/pwm-fan.txt          |  3 ++
 drivers/hwmon/pwm-fan.c                            | 39 +++++++++++++++++++++-
 2 files changed, 41 insertions(+), 1 deletion(-)

-- 
2.7.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-18 19:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 16:37 [PATCH V2 0/2] hwmon: pwm-fan: Add optional regulator support Stefan Wahren
2019-02-07 16:37 ` [PATCH V2 1/2] dt-bindings: hwmon: Add optional regulator support to pwm-fan Stefan Wahren
2019-02-18 19:47   ` Rob Herring
2019-02-07 16:38 ` [PATCH V2 2/2] hwmon: pwm-fan: Add optional regulator support Stefan Wahren
2019-02-07 18:18   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).