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

gpu/drm: ingenic: Add support for the JZ4770

The LCD controller in the JZ4770 supports up to 720p. While there has
been many new features added since the old JZ4740, which are not yet
handled here, this driver still works fine.

v2: No change

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210144142.33143-6-paul@crapouillou.net
# *** extracted tags ***
Acked-by: Sam Ravnborg <sam@ravnborg.org>

+7
+7
drivers/gpu/drm/ingenic/ingenic-drm.c
··· 831 831 .max_height = 600, 832 832 }; 833 833 834 + static const struct jz_soc_info jz4770_soc_info = { 835 + .needs_dev_clk = false, 836 + .max_width = 1280, 837 + .max_height = 720, 838 + }; 839 + 834 840 static const struct of_device_id ingenic_drm_of_match[] = { 835 841 { .compatible = "ingenic,jz4740-lcd", .data = &jz4740_soc_info }, 836 842 { .compatible = "ingenic,jz4725b-lcd", .data = &jz4725b_soc_info }, 843 + { .compatible = "ingenic,jz4770-lcd", .data = &jz4770_soc_info }, 837 844 { /* sentinel */ }, 838 845 }; 839 846