]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm: exynos: dsi: Introduce hw_type platform data
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 8 Mar 2023 16:39:42 +0000 (22:09 +0530)
committerInki Dae <inki.dae@samsung.com>
Tue, 28 Mar 2023 00:05:39 +0000 (09:05 +0900)
commit7e9f0d321ce5ea6a0ac4a6b1cdcbae8a2d4ec34c
treeda95e5861c9728e2e1ea5beb39d4cd33ba386ed9
parentc4f8bdad42b9bf64bc1440021b0b8e82746faf8e
drm: exynos: dsi: Introduce hw_type platform data

Samsung MIPI DSIM controller is common DSI IP that can be used
in various SoCs like Exynos, i.MX8M Mini/Nano/Plus.

Add hw_type enum via platform_data so that accessing the different
controller data between various platforms becomes easy and meaningful.

Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Suggested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c