drm/panel-simple: add AUO P238HAN01 panel entry
authorMichael Walle <mwalle@kernel.org>
Tue, 20 May 2025 07:44:39 +0000 (09:44 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Thu, 5 Jun 2025 06:53:43 +0000 (08:53 +0200)
commit8a45632ed3179995b2956cfbf140655701301471
tree3a451ec41dd2f684ac4eb97af2444a5a5ae4afbb
parenta3bc2ee00b488bb7a90770447a886c678d64756a
drm/panel-simple: add AUO P238HAN01 panel entry

Timings taken from the datasheet and the display is working in DE mode,
thus the datasheet only specifies the blanking period. sync, back porch
and front porch are arbitrarily chosen.

The datasheet can be found at [1] but for reference these are the
relevant timings:

 sym  |              | min  | typ  | max  | unit |
------|--------------+------+------+------+------+
   Tv | V period     | 1094 | 1130 | 1836 | Th   |
      | V active     | 1080 | 1080 | 1080 | Th   |
      | V blanking   |   14 |   50 |  756 | Th   |
   Fv | V frequency  |   49 |   60 |   76 | Hz   |
   Th | H period     | 1000 | 1050 | 1678 | Tclk |
      | H active     |  960 |  960 |  960 | Tclk |
      | H blanking   |   40 |   90 |  718 | Tclk |
   Fh | H frequency  | 53.7 | 67.8 | 90.0 | kHz  |
 Tclk | LVDS clock   | 53.7 | 71.2 | 90.0 | MHz  |

Keep in mind that this is a dual link LVDS panel and the horizontal
timings are only for one half of the panel.

[1] https://www.fortec-integrated.de/fileadmin/pdf/produkte/TFT-Displays/AUO/P238HAN01.0_Datasheet.pdf

Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20250520074439.655749-2-mwalle@kernel.org
drivers/gpu/drm/panel/panel-simple.c