linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Re-Enable support to disable switch regulators
@ 2018-07-13 12:50 Marco Felsch
  2018-07-13 12:50 ` [PATCH v2 1/3] dt-bindings: pfuze100: add optional disable switch-regulators binding Marco Felsch
  2018-07-13 12:50 ` [PATCH v2 2/3] regulator: pfuze100: add support to en-/disable switch regulators Marco Felsch
  0 siblings, 2 replies; 8+ messages in thread
From: Marco Felsch @ 2018-07-13 12:50 UTC (permalink / raw)
  To: lgirdwood, broonie, robh+dt, mark.rutland
  Cc: fabio.estevam, Anson.Huang, kernel, devicetree, linux-kernel

Hi,

Anson had added the support to disable the switched regulators, but
there were regressions [1] with old dtb's, so the commit was reverted [2].
At all, the support to disable the switch regulators seems to me to be a
good feature. But we have to add a special dt-property to avoid
regressions with older kernels. The property allows the user to decide if
the switch regulators should be disabled or not.

Since the revert patch is on Marks regulator repo, my patches are based
on his repo too. Each commit has a changelog, so I ommit it here. I
tested it on a custom board.

Used Kernel:
Repo:
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
Branch:
regulator/for-4.19

Regards,
Marco

[1] https://patchwork.kernel.org/patch/10490381/
[2] https://patchwork.kernel.org/patch/10500333/


Marco Felsch (3):
  dt-bindings: pfuze100: add optional disable switch-regulators binding
  regulator: pfuze100: add support to en-/disable switch regulators

 .../bindings/regulator/pfuze100.txt           | 11 ++++++
 drivers/regulator/core.c                      |  2 ++
 drivers/regulator/pfuze100-regulator.c        | 36 +++++++++++++++++++
 3 files changed, 49 insertions(+)

-- 
2.18.0


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

end of thread, other threads:[~2018-07-18 14:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 12:50 [PATCH v2 0/2] Re-Enable support to disable switch regulators Marco Felsch
2018-07-13 12:50 ` [PATCH v2 1/3] dt-bindings: pfuze100: add optional disable switch-regulators binding Marco Felsch
2018-07-13 15:03   ` Mark Brown
2018-07-16  7:25     ` Marco Felsch
2018-07-18 12:09       ` Mark Brown
2018-07-16 17:55   ` Rob Herring
2018-07-18 14:58     ` Marco Felsch
2018-07-13 12:50 ` [PATCH v2 2/3] regulator: pfuze100: add support to en-/disable switch regulators Marco Felsch

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).