summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorOtto Pflüger <otto.pflueger@abscue.de>2022-12-01 17:02:43 +0100
committerNoralf Trønnes <noralf@tronnes.org>2022-12-14 14:57:09 +0100
commit3b1fb8b3a3f8a4e645ef580edaeed35ec3f73c38 (patch)
tree9f378d4cf134beb7619d375b95c5a7672cd7e286 /include/drm
parent58377de46eee1e0066c93f659c91a809432d024c (diff)
downloadlinux-stable-3b1fb8b3a3f8a4e645ef580edaeed35ec3f73c38.tar.gz
linux-stable-3b1fb8b3a3f8a4e645ef580edaeed35ec3f73c38.tar.bz2
linux-stable-3b1fb8b3a3f8a4e645ef580edaeed35ec3f73c38.zip
drm/mipi-dbi: Support separate I/O regulator
The MIPI DBI specification defines separate vdd (panel power) and vddi (I/O voltage) supplies. Displays that require different voltages for the different supplies do exist, so the supplies cannot be combined into one as they are now. Add a new io_regulator property to the mipi_dbi_dev struct which can be set by the panel driver along with the regulator property. Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de> Reviewed-by: Noralf Trønnes <noralf@tronnes.org> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Link: https://patchwork.freedesktop.org/patch/msgid/20221201160245.2093816-2-otto.pflueger@abscue.de
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_mipi_dbi.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/drm/drm_mipi_dbi.h b/include/drm/drm_mipi_dbi.h
index 304fbecdc66a..816f196b3d4c 100644
--- a/include/drm/drm_mipi_dbi.h
+++ b/include/drm/drm_mipi_dbi.h
@@ -123,11 +123,16 @@ struct mipi_dbi_dev {
struct backlight_device *backlight;
/**
- * @regulator: power regulator (optional)
+ * @regulator: power regulator (Vdd) (optional)
*/
struct regulator *regulator;
/**
+ * @io_regulator: I/O power regulator (Vddi) (optional)
+ */
+ struct regulator *io_regulator;
+
+ /**
* @dbi: MIPI DBI interface
*/
struct mipi_dbi dbi;