Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/panel: simple: Add POWERTIP PH128800T004-ZZA01 panel entry

Add support for the POWERTIP PH128800T004-ZZA01 10.1" (1280x800)
LCD-TFT panel. Its panel description is very much like the POWERTIP
PH128800T006-ZHC01 configured below this one, only its timings are
different.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Reviewed-by: Dmitry Baryshkov <lumag@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250311-add-powertip-ph128800t004-v1-2-7f95e6984cea@bootlin.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>

authored by

Antonin Godard and committed by
Louis Chauvet
6374a100 36cb2404

+29
+29
drivers/gpu/drm/panel/panel-simple.c
··· 3796 3796 .bus_format = MEDIA_BUS_FMT_RGB888_1X24, 3797 3797 }; 3798 3798 3799 + static const struct drm_display_mode powertip_ph128800t004_zza01_mode = { 3800 + .clock = 71150, 3801 + .hdisplay = 1280, 3802 + .hsync_start = 1280 + 48, 3803 + .hsync_end = 1280 + 48 + 32, 3804 + .htotal = 1280 + 48 + 32 + 80, 3805 + .vdisplay = 800, 3806 + .vsync_start = 800 + 9, 3807 + .vsync_end = 800 + 9 + 8, 3808 + .vtotal = 800 + 9 + 8 + 6, 3809 + .flags = DRM_MODE_FLAG_PHSYNC | DRM_MODE_FLAG_PVSYNC, 3810 + }; 3811 + 3812 + static const struct panel_desc powertip_ph128800t004_zza01 = { 3813 + .modes = &powertip_ph128800t004_zza01_mode, 3814 + .num_modes = 1, 3815 + .bpc = 8, 3816 + .size = { 3817 + .width = 216, 3818 + .height = 135, 3819 + }, 3820 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 3821 + .bus_flags = DRM_BUS_FLAG_DE_HIGH, 3822 + .connector_type = DRM_MODE_CONNECTOR_LVDS, 3823 + }; 3824 + 3799 3825 static const struct drm_display_mode powertip_ph128800t006_zhc01_mode = { 3800 3826 .clock = 66500, 3801 3827 .hdisplay = 1280, ··· 5179 5153 }, { 5180 5154 .compatible = "pda,91-00156-a0", 5181 5155 .data = &pda_91_00156_a0, 5156 + }, { 5157 + .compatible = "powertip,ph128800t004-zza01", 5158 + .data = &powertip_ph128800t004_zza01, 5182 5159 }, { 5183 5160 .compatible = "powertip,ph128800t006-zhc01", 5184 5161 .data = &powertip_ph128800t006_zhc01,