Linux-Hwmon Archive on lore.kernel.org
 help / color / 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, back to index

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

Linux-Hwmon Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-hwmon/0 linux-hwmon/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-hwmon linux-hwmon/ https://lore.kernel.org/linux-hwmon \
		linux-hwmon@vger.kernel.org linux-hwmon@archiver.kernel.org
	public-inbox-index linux-hwmon


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-hwmon


AGPL code for this site: git clone https://public-inbox.org/ public-inbox