[PATCH v2 0/3] drm/tiny: panel-mipi-dbi: Support separate I/O voltage supply

From: Otto Pflüger
Date: Thu Dec 01 2022 - 11:03:59 EST


As stated in Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yml,
the MIPI DBI specification defines two power supplies, one for powering
the panel and one for the I/O voltage. The panel-mipi-dbi driver
currently only supports specifying a single "power-supply" in the
device tree.

Add support for a second power supply defined in a new "io-supply"
device tree property to make the driver properly configure the voltage
regulators on platforms where separate supplies are used.

Changes in v2:
- Don't list power-supply in the properties section of
panel-mipi-dbi-spi.yaml because it is already in panel-common.yaml

Otto Pflüger (3):
drm/mipi-dbi: Support separate I/O regulator
drm/tiny: panel-mipi-dbi: Read I/O supply from DT
dt-bindings: display: panel: mipi-dbi-spi: Add io-supply

.../bindings/display/panel/panel-mipi-dbi-spi.yaml | 8 +++++++-
drivers/gpu/drm/drm_mipi_dbi.c | 14 ++++++++++++++
drivers/gpu/drm/tiny/panel-mipi-dbi.c | 5 +++++
include/drm/drm_mipi_dbi.h | 7 ++++++-
4 files changed, 32 insertions(+), 2 deletions(-)

--
2.30.2