From: Tushar Behera <tushar.behera@linaro.org>
To: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Cc: linux-samsung-soc@vger.kernel.org,
Kyungmin Park <kyungmin.park@samsung.com>,
Kukjin Kim <kgene.kim@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>
Subject: Re: [PATCH v2] ARM: Exynos: JPEG board definition and device register
Date: Wed, 01 Feb 2012 14:45:44 +0530 [thread overview]
Message-ID: <4F2902C0.5020805@linaro.org> (raw)
In-Reply-To: <1328005243-6072-1-git-send-email-andrzej.p@samsung.com>
On 01/31/2012 03:50 PM, Andrzej Pietrasiewicz wrote:
> Add JPEG board definition and device register
>
> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> ---
> Dear All,
>
> This patch adds board definition code and device registration code
> for JPEG IP found in Exynos4 SoC.
>
> It is exactly the same as the previous patch but with better coding style
> compliance.
>
> arch/arm/mach-exynos/Kconfig | 2 ++
> arch/arm/mach-exynos/clock.c | 5 +++++
> arch/arm/mach-exynos/include/mach/map.h | 3 +++
> arch/arm/mach-exynos/mach-nuri.c | 2 ++
> arch/arm/mach-exynos/mach-universal_c210.c | 2 ++
> arch/arm/plat-s5p/Kconfig | 5 +++++
> arch/arm/plat-samsung/devs.c | 26 ++++++++++++++++++++++++++
> arch/arm/plat-samsung/include/plat/devs.h | 1 +
> 8 files changed, 46 insertions(+), 0 deletions(-)
>
[snip]
>
> +#ifdef CONFIG_S5P_DEV_JPEG
> +static struct resource s5p_jpeg_resource[] = {
> + [0] = {
> + .start = S5P_PA_JPEG,
> + .end = S5P_PA_JPEG + SZ_4K - 1,
> + .flags = IORESOURCE_MEM,
> + },
> + [1] = {
> + .start = IRQ_JPEG,
> + .end = IRQ_JPEG,
> + .flags = IORESOURCE_IRQ,
> + },
> +};
Should be using DEFINE_RES_MEM and DEFINE_RES_IRQ.
Also, wouldn't be a good idea to split this patch into 2 different
patches for platform-specific and board-specific changes?
--
Tushar Behera
next prev parent reply other threads:[~2012-02-01 9:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-31 10:20 [PATCH v2] ARM: Exynos: JPEG board definition and device register Andrzej Pietrasiewicz
2012-02-01 9:15 ` Tushar Behera [this message]
2012-02-01 10:27 ` Andrzej Pietrasiewicz
2012-03-09 18:26 ` Kukjin Kim
2012-03-09 18:29 ` Kukjin Kim
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=4F2902C0.5020805@linaro.org \
--to=tushar.behera@linaro.org \
--cc=andrzej.p@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=kyungmin.park@samsung.com \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=m.szyprowski@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.