]> git.baikalelectronics.ru Git - kernel.git/commit
drm/rockchip: lvds: Change platform data to hold helper_funcs pointer
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 24 Dec 2019 14:38:54 +0000 (15:38 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 5 Jan 2020 11:12:39 +0000 (12:12 +0100)
commit36f9fa7657ff83cbcd86f13aa150f28923fa8b37
treed50f4b7bcb593a41e8b18e71906618dda3b682ca
parentb2051718eb613981b5cc974790502709014ecc1a
drm/rockchip: lvds: Change platform data to hold helper_funcs pointer

Prepare the introduction of PX30 support by using
drm_encoder_helper_funcs as platform data instead of multiple register
names which are specific to rk3288 and not generic to all Rockchip
IPs. This way adding support for a new flavor of a similar IP will be
a matter of adding the relevant helper funcs.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20191224143900.23567-6-miquel.raynal@bootlin.com
drivers/gpu/drm/rockchip/rockchip_lvds.c
drivers/gpu/drm/rockchip/rockchip_lvds.h