]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ARM: dts: add device tree support for exynos5 mixer
authorRahul Sharma <rahul.sharma@samsung.com>
Mon, 29 Oct 2012 12:51:36 +0000 (21:51 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 29 Oct 2012 12:51:36 +0000 (21:51 +0900)
This patch adds support for device tree based discovery for exynos5
mixer. Mixer node is also renamed with "exynos5-mixer".

Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Documentation/devicetree/bindings/drm/exynos/mixer.txt [new file with mode: 0644]
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/mach-exynos/mach-exynos5-dt.c

diff --git a/Documentation/devicetree/bindings/drm/exynos/mixer.txt b/Documentation/devicetree/bindings/drm/exynos/mixer.txt
new file mode 100644 (file)
index 0000000..9b2ea03
--- /dev/null
@@ -0,0 +1,15 @@
+Device-Tree bindings for mixer driver
+
+Required properties:
+- compatible: value should be "samsung,exynos5-mixer".
+- reg: physical base address of the mixer and length of memory mapped
+       region.
+- interrupts: interrupt number to the cpu.
+
+Example:
+
+       mixer {
+               compatible = "samsung,exynos5-mixer";
+               reg = <0x14450000 0x10000>;
+               interrupts = <0 94 0>;
+       };
index b68be1cab2e0bca36365c79c095f1fb43174b083..2a203e62f745c36ea072e6d321eaa3e70b58b587 100644 (file)
                reg = <0x14530000 0x100000>;
                interrupts = <0 95 0>;
        };
+
+       mixer {
+               compatible = "samsung,exynos5-mixer";
+               reg = <0x14450000 0x10000>;
+               interrupts = <0 94 0>;
+       };
 };
index 5e38208e0d138ca474940c3396126069c942052b..4fc15daf7c1722823fd5345d64194999a652dfdc 100644 (file)
@@ -74,6 +74,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
                                "exynos-gsc.3", NULL),
        OF_DEV_AUXDATA("samsung,exynos5-hdmi", 0x14530000,
                                "exynos5-hdmi", NULL),
+       OF_DEV_AUXDATA("samsung,exynos5-mixer", 0x14450000,
+                               "exynos5-mixer", NULL),
        {},
 };