Re: [PATCH] video: mxsfb: get supply regulator optionally

From
Mark Brown <broonie@kernel.org>
Date
2016-09-06 22:23:09
Also in
linux-devicetree, lkml
Reply to
Stefan Agner, 2016-09-06
On Tue, Sep 06, 2016 at 11:23:31AM -0700, Stefan Agner wrote:
On 2016-09-06 01:21, Tomi Valkeinen wrote:
quoted
In order to ease transitions with drivers are boards start using regulators
provide an option to cause all regulator_get() calls to succeed, with a
dummy always on regulator being supplied where one has not been configured.
A warning is printed whenever the dummy regulator is used to aid system
development.
I think we should either make the property mandatory and fix the device
trees or we should fix the driver to support an optional regulator. The
code already supports the reg_lcd being NULL, which is probably mostly
pointless right now as devm_regulator_get always returns a dummy
regulator.
I think you're agreeing with each other here (and me).

Attachments

Thread (8 messages) 8 messages, 4 authors, last reply 2016-11-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help