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

- From: Mark Brown \<broonie@kernel.org\>
- Date: 2016-09-06 22:23:09 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2016/09/4830314
- Thread: https://ratatoskr.run/linux-devicetree/2016/09/4828247/t.md

```text
On Tue, Sep 06, 2016 at 11:23:31AM -0700, Stefan Agner wrote:
> On 2016-09-06 01:21, Tomi Valkeinen wrote:

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

- [signature.asc](https://ratatoskr.run/linux-fbdev/2016/09/4830314/attachment/0) (application/pgp-signature, 455 bytes)
