From: Rahul Sharma <rahul.sharma@samsung.com>
To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org
Cc: kgene.kim@samsung.com, t.stanislaws@samsung.com,
sw0312.kim@samsung.com, inki.dae@samsung.com,
jy0922.shim@samsung.com, kyungmin.park@samsung.com,
prashanth.g@samsung.com, joshi@samsung.com,
s.shirish@samsung.com, fahad.k@samsung.com,
l.krishna@samsung.com, r.sh.open@gmail.com,
rahul.sharma@samsung.com
Subject: [PATCH 8/8] arm: exynos: add exynos5 drm-hdmi common platform device
Date: Thu, 04 Oct 2012 21:44:28 +0530 [thread overview]
Message-ID: <1349367268-32553-9-git-send-email-rahul.sharma@samsung.com> (raw)
In-Reply-To: <1349367268-32553-1-git-send-email-rahul.sharma@samsung.com>
This patch adds drm-hdmi-common platform device which abstracts hdmi
and mixer device. This is software module hence not palced as device
tree node.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
---
arch/arm/mach-exynos/dev-drm.c | 5 +++++
arch/arm/mach-exynos/mach-exynos5-dt.c | 2 ++
arch/arm/plat-samsung/include/plat/devs.h | 1 +
3 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/dev-drm.c b/arch/arm/mach-exynos/dev-drm.c
index 17c9c6e..ca811de 100644
--- a/arch/arm/mach-exynos/dev-drm.c
+++ b/arch/arm/mach-exynos/dev-drm.c
@@ -27,3 +27,8 @@ struct platform_device exynos_device_drm = {
.coherent_dma_mask = DMA_BIT_MASK(32),
}
};
+
+/* common drm-hdmi device which abstracts hdmi and mixer dev*/
+struct platform_device exynos_drm_hdmi_device = {
+ .name = "exynos-drm-hdmi",
+};
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
index db3447c..db7092e 100644
--- a/arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
@@ -79,8 +79,10 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = {
};
static struct platform_device *exynos5_devices[] __initdata = {
+ &exynos_drm_hdmi_device,
&exynos_device_drm,
};
+
static void __init exynos5250_dt_map_io(void)
{
exynos_init_io(NULL, 0);
diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-samsung/include/plat/devs.h
index 5da4b4f..cda177e 100644
--- a/arch/arm/plat-samsung/include/plat/devs.h
+++ b/arch/arm/plat-samsung/include/plat/devs.h
@@ -134,6 +134,7 @@ extern struct platform_device exynos4_device_pcm2;
extern struct platform_device exynos4_device_spdif;
extern struct platform_device exynos_device_drm;
+extern struct platform_device exynos_drm_hdmi_device;
extern struct platform_device samsung_asoc_dma;
extern struct platform_device samsung_asoc_idma;
--
1.7.0.4
prev parent reply other threads:[~2012-10-04 16:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 16:14 [PATCH 0/8] arm: exynos: add dt based support for exynos5 hdmi Rahul Sharma
2012-10-04 16:14 ` [PATCH 1/8] dts: exynos: add device tree " Rahul Sharma
2012-10-04 16:14 ` [PATCH 2/8] dts: exynos: add device tree support for exynos5 mixer Rahul Sharma
2012-10-04 16:14 ` [PATCH 3/8] dts: exynos: add device tree support for exynos5 hdmiphy Rahul Sharma
2012-10-04 16:14 ` [PATCH 4/8] dts: exynos: add device tree support for exynos5 hdmiddc Rahul Sharma
2012-10-04 16:14 ` [PATCH 5/8] arm: exynos: add clocks for exynos5 hdmi Rahul Sharma
2012-10-04 16:14 ` [PATCH 6/8] arm: exynos: config exynos5 hdmi-hpd gpio Rahul Sharma
2012-10-04 8:15 ` Kyungmin Park
2012-10-04 16:14 ` [PATCH 7/8] arm: exynos: add exynos5 drm framework platform device Rahul Sharma
2012-10-04 16:14 ` Rahul Sharma [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1349367268-32553-9-git-send-email-rahul.sharma@samsung.com \
--to=rahul.sharma@samsung.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=fahad.k@samsung.com \
--cc=inki.dae@samsung.com \
--cc=joshi@samsung.com \
--cc=jy0922.shim@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=l.krishna@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=prashanth.g@samsung.com \
--cc=r.sh.open@gmail.com \
--cc=s.shirish@samsung.com \
--cc=sw0312.kim@samsung.com \
--cc=t.stanislaws@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).