Changes in v3: - Added support for setting digital gamma parameters and validity check - Added support for setting analog gamma parameters - Changed gout_{l,r} to a structure and added a description - Fixed DSI LPM/HS setting in prepare/unprepare callbacks - Remove forced panel off in probe function as that was simply useless - Renamed function hx8279_check_config to hx8279_check_params as that is actually checking multiple parameters and not just basic DDIC configuration - Moved the GMUX and GOA validation to their own functions to improve readability
Changes in v2: - Removed unneeded mipi_dsi_device_unregister() call for secondary DSI: as the driver is using devm, that's not necessary (CJ) - Removed superfluous if branch as pointed out by CJ This series adds a driver for DSI panels using the Himax HX8279 and HX8279-D DriverICs, and introduces two panels using such a configuration, the Startek KX070FHFID078, found on some MediaTek Genio Evaluation Kits, and the Aoly SL101PM1794FOG-v15 usually found on some I.MX8MM boards. This panel is found on the latest hardware revisions of some MediaTek Genio Evaluation Kits, and specifically, at least: - Genio 510 EVK - Genio 700 EVK - Genio 1200 EVK This driver was tested on all of the aforementioned boards. AngeloGioacchino Del Regno (3): dt-bindings: vendor-prefixes: Add Shenzhen Aoly Technology Co., Ltd. dt-bindings: display: panel: Add Himax HX8279/HX8279-D DDIC panels drm: panel: Add driver for Himax HX8279 DDIC panels .../bindings/display/panel/himax,hx8279.yaml | 75 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + drivers/gpu/drm/panel/Kconfig | 11 + drivers/gpu/drm/panel/Makefile | 1 + drivers/gpu/drm/panel/panel-himax-hx8279.c | 1365 +++++++++++++++++ 5 files changed, 1454 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/himax,hx8279.yaml create mode 100644 drivers/gpu/drm/panel/panel-himax-hx8279.c -- 2.49.0