]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ingenic: prepare ingenic drm for later addition of JZ4780
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 2 Dec 2021 18:39:46 +0000 (19:39 +0100)
committerPaul Cercueil <paul@crapouillou.net>
Thu, 16 Dec 2021 15:22:16 +0000 (15:22 +0000)
commit4770166a5236f4263a2cb2752af0b95f44a0e0a5
treeec3bc542775e54c41e23e9cc27d6250d1cb06c0b
parent1e2f68b861b05bf71794c624051b8e272431636b
drm/ingenic: prepare ingenic drm for later addition of JZ4780

This changes the way the regmap is allocated to prepare for the
later addition of the JZ4780 which has more registers and bits
than the others.

Therefore we make the regmap as big as the reg property in
the device tree tells.

Suggested-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Link: https://patchwork.freedesktop.org/patch/msgid/ee65e70e91268b3963f8a6581c8aa6c3b643c53e.1638470392.git.hns@goldelico.com
drivers/gpu/drm/ingenic/ingenic-drm-drv.c