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

Commit cc57caf0 authored by Rahul Sharma's avatar Rahul Sharma Committed by Inki Dae
Browse files

drm/exynos: add new compatible strings for hdmi subsystem



This patch adds new combatible strings for hdmi, mixer, ddc
and hdmiphy. It follows the convention of using compatible string
which represent the SoC in which the IP was added for the first
time.

Drivers continue to support the previous compatible strings
but further addition of these compatible strings in device tree
is deprecated.

Signed-off-by: default avatarRahul Sharma <rahul.sharma@samsung.com>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Signed-off-by: default avatarInki Dae <inki.dae@samsung.com>
parent 1482995c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
Device-Tree bindings for drm hdmi driver

Required properties:
- compatible: value should be "samsung,exynos5-hdmi".
- compatible: value should be one among the following:
	1) "samsung,exynos5-hdmi" <DEPRECATED>
	2) "samsung,exynos4210-hdmi"
	3) "samsung,exynos4212-hdmi"
- reg: physical base address of the hdmi and length of memory mapped
	region.
- interrupts: interrupt number to the cpu.
@@ -15,7 +18,7 @@ Required properties:
Example:

	hdmi {
		compatible = "samsung,exynos5-hdmi";
		compatible = "samsung,exynos4212-hdmi";
		reg = <0x14530000 0x100000>;
		interrupts = <0 95 0>;
		hpd-gpio = <&gpx3 7 0xf 1 3>;
+5 −2
Original line number Diff line number Diff line
Device-Tree bindings for hdmiddc driver

Required properties:
- compatible: value should be "samsung,exynos5-hdmiddc".
- compatible: value should be one of the following
	1) "samsung,exynos5-hdmiddc" <DEPRECATED>
	2) "samsung,exynos4210-hdmiddc"

- reg: I2C address of the hdmiddc device.

Example:

	hdmiddc {
		compatible = "samsung,exynos5-hdmiddc";
		compatible = "samsung,exynos4210-hdmiddc";
		reg = <0x50>;
	};
+5 −2
Original line number Diff line number Diff line
Device-Tree bindings for hdmiphy driver

Required properties:
- compatible: value should be "samsung,exynos5-hdmiphy".
- compatible: value should be one of the following:
	1) "samsung,exynos5-hdmiphy" <DEPRECATED>
	2) "samsung,exynos4210-hdmiphy".
	3) "samsung,exynos4212-hdmiphy".
- reg: I2C address of the hdmiphy device.

Example:

	hdmiphy {
		compatible = "samsung,exynos5-hdmiphy";
		compatible = "samsung,exynos4210-hdmiphy";
		reg = <0x38>;
	};
+6 −2
Original line number Diff line number Diff line
Device-Tree bindings for mixer driver

Required properties:
- compatible: value should be "samsung,exynos5-mixer".
- compatible: value should be one of the following:
	1) "samsung,exynos5-mixer" <DEPRECATED>
	2) "samsung,exynos4210-mixer"
	3) "samsung,exynos5250-mixer"

- reg: physical base address of the mixer and length of memory mapped
	region.
- interrupts: interrupt number to the cpu.
@@ -9,7 +13,7 @@ Required properties:
Example:

	mixer {
		compatible = "samsung,exynos5-mixer";
		compatible = "samsung,exynos5250-mixer";
		reg = <0x14450000 0x10000>;
		interrupts = <0 94 0>;
	};
+2 −0
Original line number Diff line number Diff line
@@ -52,6 +52,8 @@ static struct i2c_device_id ddc_idtable[] = {
static struct of_device_id hdmiddc_match_types[] = {
	{
		.compatible = "samsung,exynos5-hdmiddc",
	}, {
		.compatible = "samsung,exynos4210-hdmiddc",
	}, {
		/* end node */
	}
Loading