This series converts panel-ilitek-ili9805 to the
mipi_dsi_*_multi helpers and cleans up the resulting code.
Patch 1: Convert the individual DSI calls to their
*_multi variants
Patch 2: Replace the ILI9805_INSTR table with per
panel init functions using the *_multi API, dropping
struct ili9805_instr
Patch 3: makes ili9805_power_off() and ili9805_deactivate()
return void, since no one checks their return values.
Michail Tatas (3):
drm/panel: ilitek-ili9805: Use _multi variants
drm/panel: ilitek-ili9805: Use dsi_multi in init
drm/panel: ilitek-ili9805: make cleanup funcs void
drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 212 ++++++++-----------
1 file changed, 87 insertions(+), 125 deletions(-)
--
Changes in v4:
Addresses review feedback from Doug on v3
- Delete unused field name in struct ili9805_desc
- convert MIPI_DCS_SET_PIXEL_FORMAT
from mipi_dsi_dcs_write_seq_multi()
to mipi_dsi_dcs_set_pixel_format_multi()
Changes in v3:
Addresses review feedback from Doug on v2
- Convert hex to lowercase
- Align to match open parenthesis
- Change lines to not cross 100 chars
Changes in v2:
Addresses review feedback from Doug on v1
- Patch 1 remains the same as v1
- Added patch 2 dropping struct ili9805_instr and used
per-panel init functions
- Added patch 3 making the cleanup functions return void
Revisions
- v1: https://lore.kernel.org/all/allWpYxgHfpKughy@michalis-linux/
- v2: https://lore.kernel.org/all/20260719190358.438699-1-michail.tatas@gmail.com/
- v3: https://lore.kernel.org/all/20260721172715.602196-1-michail.tatas@gmail.com/
The changes are compile tested only. Also I run checkpatch.pl --strict,
sparse, smatch, gcc W=1, clang W=1 and coccinelle.
2.43.0