From: Inki Dae <inki.dae@samsung.com>
To: 'Rahul Sharma' <rahul.sharma@samsung.com>,
linux-samsung-soc@vger.kernel.org,
devicetree-discuss@lists.ozlabs.org
Cc: kgene.kim@samsung.com, t.stanislaws@samsung.com,
sw0312.kim@samsung.com, jy0922.shim@samsung.com,
kyungmin.park@samsung.com, thomas.ab@samsung.com,
prashanth.g@samsung.com, joshi@samsung.com,
s.shirish@samsung.com, r.sh.open@gmail.com
Subject: RE: [PATCH v2 6/6] arm: exynos: removing exynos-drm device registration from non-dt platforms
Date: Mon, 15 Oct 2012 13:07:39 +0900 [thread overview]
Message-ID: <019601cdaa8a$9e4170b0$dac45210$%dae@samsung.com> (raw)
In-Reply-To: <1350074555-26018-7-git-send-email-rahul.sharma@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
> -----Original Message-----
> From: Rahul Sharma [mailto:rahul.sharma@samsung.com]
> Sent: Saturday, October 13, 2012 5:43 AM
> 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; thomas.ab@samsung.com; prashanth.g@samsung.com;
> joshi@samsung.com; s.shirish@samsung.com; r.sh.open@gmail.com;
> rahul.sharma@samsung.com
> Subject: [PATCH v2 6/6] arm: exynos: removing exynos-drm device
> registration from non-dt platforms
>
> As exynos-drm is a software device, its registration is moved to the
> exynos drm driver. This will provide generic solution for device
> registration
> for dt and non-dt platforms. Corresponding patches are posted to dri-devel
> list.
>
> Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
> ---
> arch/arm/mach-exynos/Makefile | 1 -
> arch/arm/mach-exynos/dev-drm.c | 29
---------------------------
> -
> arch/arm/mach-exynos/mach-nuri.c | 3 --
> arch/arm/mach-exynos/mach-origen.c | 3 --
> arch/arm/mach-exynos/mach-smdk4x12.c | 3 --
> arch/arm/mach-exynos/mach-smdkv310.c | 3 --
> arch/arm/mach-exynos/mach-universal_c210.c | 3 --
> arch/arm/plat-samsung/include/plat/devs.h | 2 -
> 8 files changed, 0 insertions(+), 47 deletions(-)
> delete mode 100644 arch/arm/mach-exynos/dev-drm.c
>
> diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile
> index 9b58024..1797dee 100644
> --- a/arch/arm/mach-exynos/Makefile
> +++ b/arch/arm/mach-exynos/Makefile
> @@ -53,7 +53,6 @@ obj-$(CONFIG_EXYNOS4_DEV_AHCI) +=
dev-ahci.o
> obj-$(CONFIG_EXYNOS4_DEV_DWMCI) += dev-dwmci.o
> obj-$(CONFIG_EXYNOS_DEV_DMA) += dma.o
> obj-$(CONFIG_EXYNOS4_DEV_USB_OHCI) += dev-ohci.o
> -obj-$(CONFIG_EXYNOS_DEV_DRM) += dev-drm.o
> obj-$(CONFIG_EXYNOS_DEV_SYSMMU) += dev-sysmmu.o
>
> obj-$(CONFIG_ARCH_EXYNOS) += setup-i2c0.o
> diff --git a/arch/arm/mach-exynos/dev-drm.c b/arch/arm/mach-exynos/dev-
> drm.c
> deleted file mode 100644
> index 17c9c6e..0000000
> --- a/arch/arm/mach-exynos/dev-drm.c
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -/*
> - * linux/arch/arm/mach-exynos/dev-drm.c
> - *
> - * Copyright (c) 2012 Samsung Electronics Co., Ltd.
> - * http://www.samsung.com
> - *
> - * EXYNOS - core DRM device
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - */
> -
> -#include <linux/kernel.h>
> -#include <linux/dma-mapping.h>
> -#include <linux/platform_device.h>
> -
> -#include <plat/devs.h>
> -
> -static u64 exynos_drm_dma_mask = DMA_BIT_MASK(32);
> -
> -struct platform_device exynos_device_drm = {
> - .name = "exynos-drm",
> - .dev = {
> - .dma_mask = &exynos_drm_dma_mask,
> - .coherent_dma_mask = DMA_BIT_MASK(32),
> - }
> -};
> diff --git a/arch/arm/mach-exynos/mach-nuri.c b/arch/arm/mach-exynos/mach-
> nuri.c
> index ea785fc..9267caf 100644
> --- a/arch/arm/mach-exynos/mach-nuri.c
> +++ b/arch/arm/mach-exynos/mach-nuri.c
> @@ -1330,9 +1330,6 @@ static struct platform_device *nuri_devices[]
> __initdata = {
> &cam_vdda_fixed_rdev,
> &cam_8m_12v_fixed_rdev,
> &exynos4_bus_devfreq,
> -#ifdef CONFIG_DRM_EXYNOS
> - &exynos_device_drm,
> -#endif
> };
>
> static void __init nuri_map_io(void)
> diff --git a/arch/arm/mach-exynos/mach-origen.c b/arch/arm/mach-
> exynos/mach-origen.c
> index b45600f..be8fac7 100644
> --- a/arch/arm/mach-exynos/mach-origen.c
> +++ b/arch/arm/mach-exynos/mach-origen.c
> @@ -709,9 +709,6 @@ static struct platform_device *origen_devices[]
> __initdata = {
> &s5p_device_mfc_l,
> &s5p_device_mfc_r,
> &s5p_device_mixer,
> -#ifdef CONFIG_DRM_EXYNOS
> - &exynos_device_drm,
> -#endif
> &exynos4_device_ohci,
> &origen_device_gpiokeys,
> &origen_lcd_hv070wsa,
> diff --git a/arch/arm/mach-exynos/mach-smdk4x12.c b/arch/arm/mach-
> exynos/mach-smdk4x12.c
> index 81bf59c..f02ee11 100644
> --- a/arch/arm/mach-exynos/mach-smdk4x12.c
> +++ b/arch/arm/mach-exynos/mach-smdk4x12.c
> @@ -317,9 +317,6 @@ static struct platform_device *smdk4x12_devices[]
> __initdata = {
> &s5p_device_mfc,
> &s5p_device_mfc_l,
> &s5p_device_mfc_r,
> -#ifdef CONFIG_DRM_EXYNOS
> - &exynos_device_drm,
> -#endif
> &samsung_device_keypad,
> };
>
> diff --git a/arch/arm/mach-exynos/mach-smdkv310.c b/arch/arm/mach-
> exynos/mach-smdkv310.c
> index 12a1db2..bffb1b2 100644
> --- a/arch/arm/mach-exynos/mach-smdkv310.c
> +++ b/arch/arm/mach-exynos/mach-smdkv310.c
> @@ -300,9 +300,6 @@ static struct platform_device *smdkv310_devices[]
> __initdata = {
> &s5p_device_fimc_md,
> &s5p_device_g2d,
> &s5p_device_jpeg,
> -#ifdef CONFIG_DRM_EXYNOS
> - &exynos_device_drm,
> -#endif
> &exynos4_device_ac97,
> &exynos4_device_i2s0,
> &exynos4_device_ohci,
> diff --git a/arch/arm/mach-exynos/mach-universal_c210.c b/arch/arm/mach-
> exynos/mach-universal_c210.c
> index 4d1f40d..f7b1337 100644
> --- a/arch/arm/mach-exynos/mach-universal_c210.c
> +++ b/arch/arm/mach-exynos/mach-universal_c210.c
> @@ -1084,9 +1084,6 @@ static struct platform_device *universal_devices[]
> __initdata = {
> &s5p_device_onenand,
> &s5p_device_fimd0,
> &s5p_device_jpeg,
> -#ifdef CONFIG_DRM_EXYNOS
> - &exynos_device_drm,
> -#endif
> &s3c_device_usb_hsotg,
> &s5p_device_mfc,
> &s5p_device_mfc_l,
> diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-
> samsung/include/plat/devs.h
> index 5da4b4f..133e3e4 100644
> --- a/arch/arm/plat-samsung/include/plat/devs.h
> +++ b/arch/arm/plat-samsung/include/plat/devs.h
> @@ -133,8 +133,6 @@ extern struct platform_device exynos4_device_pcm1;
> 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 samsung_asoc_dma;
> extern struct platform_device samsung_asoc_idma;
> extern struct platform_device samsung_device_keypad;
> --
> 1.7.0.4
prev parent reply other threads:[~2012-10-15 4:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-12 20:42 [PATCH v2 0/6] arm: exynos: add dt based support for exynos5 hdmi Rahul Sharma
2012-10-12 20:42 ` [PATCH v2 1/6] dts: exynos: add device tree " Rahul Sharma
2012-10-13 13:40 ` Tomasz Figa
2012-10-15 5:54 ` Rahul Sharma
2012-10-12 20:42 ` [PATCH v2 2/6] dts: exynos: add device tree support for exynos5 mixer Rahul Sharma
2012-10-12 20:42 ` [PATCH v2 3/6] dts: exynos: add device tree support for exynos5 hdmiphy Rahul Sharma
2012-10-13 13:43 ` Tomasz Figa
2012-10-12 20:42 ` [PATCH v2 4/6] dts: exynos: add device tree support for exynos5 hdmiddc Rahul Sharma
2012-10-12 20:42 ` [PATCH v2 5/6] arm: exynos: add clocks for exynos5 hdmi Rahul Sharma
2012-10-12 20:42 ` [PATCH v2 6/6] arm: exynos: removing exynos-drm device registration from non-dt platforms Rahul Sharma
2012-10-13 13:46 ` Tomasz Figa
2012-10-15 6:04 ` Rahul Sharma
2012-10-15 4:07 ` Inki Dae [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='019601cdaa8a$9e4170b0$dac45210$%dae@samsung.com' \
--to=inki.dae@samsung.com \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=joshi@samsung.com \
--cc=jy0922.shim@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=prashanth.g@samsung.com \
--cc=r.sh.open@gmail.com \
--cc=rahul.sharma@samsung.com \
--cc=s.shirish@samsung.com \
--cc=sw0312.kim@samsung.com \
--cc=t.stanislaws@samsung.com \
--cc=thomas.ab@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).