Commit 4cceb93c authored by Martin Blumenstingl's avatar Martin Blumenstingl
Browse files

drm/meson: Enable support for Meson8/Meson8b/Meson8m2



Add a compatible string for each of the three SoCs now that all hardware
specific quirks are added to the driver.

Signed-off-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
parent 46ba5897
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -655,6 +655,18 @@ static int meson_drv_probe(struct platform_device *pdev)
	return 0;
};

static struct meson_drm_match_data meson_drm_m8_data = {
	.compat = VPU_COMPATIBLE_M8,
};

static struct meson_drm_match_data meson_drm_m8b_data = {
	.compat = VPU_COMPATIBLE_M8B,
};

static struct meson_drm_match_data meson_drm_m8m2_data = {
	.compat = VPU_COMPATIBLE_M8M2,
};

static struct meson_drm_match_data meson_drm_gxbb_data = {
	.compat = VPU_COMPATIBLE_GXBB,
};
@@ -674,6 +686,12 @@ static struct meson_drm_match_data meson_drm_g12a_data = {
};

static const struct of_device_id dt_match[] = {
	{ .compatible = "amlogic,meson8-vpu",
	  .data       = (void *)&meson_drm_m8_data },
	{ .compatible = "amlogic,meson8b-vpu",
	  .data       = (void *)&meson_drm_m8b_data },
	{ .compatible = "amlogic,meson8m2-vpu",
	  .data       = (void *)&meson_drm_m8m2_data },
	{ .compatible = "amlogic,meson-gxbb-vpu",
	  .data       = (void *)&meson_drm_gxbb_data },
	{ .compatible = "amlogic,meson-gxl-vpu",