Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 473462a1 authored by Inki Dae's avatar Inki Dae Committed by Inki Dae
Browse files

drm/exynos: mipi-dsi: add Exynos3 SoC support



This patch adds Exynos3250/3472 SoCs support.

Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
Reviewed-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
parent 78d3a8c6
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ Exynos MIPI DSI Master

Required properties:
  - compatible: value should be one of the following
		"samsung,exynos3250-mipi-dsi" /* for Exynos3250/3472 SoCs */
		"samsung,exynos4210-mipi-dsi" /* for Exynos4 SoCs */
		"samsung,exynos5410-mipi-dsi" /* for Exynos5410/5420/5440 SoCs */
  - reg: physical base address and length of the registers set for the device
+8 −0
Original line number Diff line number Diff line
@@ -304,6 +304,12 @@ struct exynos_dsi {
#define host_to_dsi(host) container_of(host, struct exynos_dsi, dsi_host)
#define connector_to_dsi(c) container_of(c, struct exynos_dsi, connector)

static struct exynos_dsi_driver_data exynos3_dsi_driver_data = {
	.plltmr_reg = 0x50,
	.has_freqband = 1,
	.has_clklane_stop = 1,
};

static struct exynos_dsi_driver_data exynos4_dsi_driver_data = {
	.plltmr_reg = 0x50,
	.has_freqband = 1,
@@ -315,6 +321,8 @@ static struct exynos_dsi_driver_data exynos5_dsi_driver_data = {
};

static struct of_device_id exynos_dsi_of_match[] = {
	{ .compatible = "samsung,exynos3250-mipi-dsi",
	  .data = &exynos3_dsi_driver_data },
	{ .compatible = "samsung,exynos4210-mipi-dsi",
	  .data = &exynos4_dsi_driver_data },
	{ .compatible = "samsung,exynos5410-mipi-dsi",