drm/panel: jh057n0090: Add regulators and drop magic value in init

Submitted by Guido Günther on June 26, 2019, 10:37 a.m.


Reviewer None
Submitted June 26, 2019, 10:37 a.m.
Last Updated June 26, 2019, 10:38 a.m.
Revision 1

Cover Letter(s)

Revision 1
      Fix the omission of a regulators for the recently added panel and make sure all
dsi commands start with a command instead of one having a magic constant (which
already caused confusion).

Also adds a mail alias to the panel's MAINTAINER entry to reduce the bus

Changes from v1:
* As per review comments from Sam Ravnborg:
  - Print error on devm_regulator_get() failres
  - Fix typos in commit messages
* Print an error on regulator_enable()
* Disable vcc if iovcc fails to enable

Guido Günther (4):
  MAINTAINERS: Add Purism mail alias as reviewer for their devkit's
  drm/panel: jh057n00900: Don't use magic constant
  dt-bindings: display/panel: jh057n00900: Document power supply
  drm/panel: jh057n00900: Add regulator support

 .../display/panel/rocktech,jh057n00900.txt    |  5 +++
 MAINTAINERS                                   |  1 +
 .../drm/panel/panel-rocktech-jh057n00900.c    | 44 ++++++++++++++++++-
 3 files changed, 49 insertions(+), 1 deletion(-)