From: Kukjin Kim <kgene.kim@samsung.com>
To: Thomas Abraham <thomas.abraham@linaro.org>
Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 01/12] ARM: Exynos: Remove a new bus_type instance for Exynos5
Date: Wed, 18 Apr 2012 17:15:10 -0700 [thread overview]
Message-ID: <4F8F590E.1000602@samsung.com> (raw)
In-Reply-To: <1334641595-25301-2-git-send-email-thomas.abraham@linaro.org>
Thomas Abraham wrote:
> A seperate bus_type instance is not required for Exynos5. The existing bus_type
> instance used with Exynos4 is sufficient for both Exynos4 and Exynos5. This
> also solves issue of uninitialized usage of exynos4_subsys in Exynos4 power
Yes, could be. BTW could you please check that with Jongpill's PM patch
for EXYNOS5? If just single bus_type supports EXYNOS4 and EXYNOS5, I'd
like to change its name to exynos_subsys.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
> management code that is reused for Exynos5 also.
>
> Signed-off-by: Thomas Abraham<thomas.abraham@linaro.org>
> ---
> arch/arm/mach-exynos/common.c | 19 ++-----------------
> 1 files changed, 2 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
> index e9e353b..636d5f8 100644
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@ -557,25 +557,13 @@ struct bus_type exynos4_subsys = {
> .dev_name = "exynos4-core",
> };
>
> -struct bus_type exynos5_subsys = {
> - .name = "exynos5-core",
> - .dev_name = "exynos5-core",
> -};
> -
> static struct device exynos4_dev = {
> .bus =&exynos4_subsys,
> };
>
> -static struct device exynos5_dev = {
> - .bus =&exynos5_subsys,
> -};
> -
> static int __init exynos_core_init(void)
> {
> - if (soc_is_exynos5250())
> - return subsys_system_register(&exynos5_subsys, NULL);
> - else
> - return subsys_system_register(&exynos4_subsys, NULL);
> + return subsys_system_register(&exynos4_subsys, NULL);
> }
> core_initcall(exynos_core_init);
>
> @@ -662,10 +650,7 @@ static int __init exynos_init(void)
> {
> printk(KERN_INFO "EXYNOS: Initializing architecture\n");
>
> - if (soc_is_exynos5250())
> - return device_register(&exynos5_dev);
> - else
> - return device_register(&exynos4_dev);
> + return device_register(&exynos4_dev);
> }
>
> /* uart registration process */
WARNING: multiple messages have this Message-ID (diff)
From: kgene.kim@samsung.com (Kukjin Kim)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 01/12] ARM: Exynos: Remove a new bus_type instance for Exynos5
Date: Wed, 18 Apr 2012 17:15:10 -0700 [thread overview]
Message-ID: <4F8F590E.1000602@samsung.com> (raw)
In-Reply-To: <1334641595-25301-2-git-send-email-thomas.abraham@linaro.org>
Thomas Abraham wrote:
> A seperate bus_type instance is not required for Exynos5. The existing bus_type
> instance used with Exynos4 is sufficient for both Exynos4 and Exynos5. This
> also solves issue of uninitialized usage of exynos4_subsys in Exynos4 power
Yes, could be. BTW could you please check that with Jongpill's PM patch
for EXYNOS5? If just single bus_type supports EXYNOS4 and EXYNOS5, I'd
like to change its name to exynos_subsys.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
> management code that is reused for Exynos5 also.
>
> Signed-off-by: Thomas Abraham<thomas.abraham@linaro.org>
> ---
> arch/arm/mach-exynos/common.c | 19 ++-----------------
> 1 files changed, 2 insertions(+), 17 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/common.c b/arch/arm/mach-exynos/common.c
> index e9e353b..636d5f8 100644
> --- a/arch/arm/mach-exynos/common.c
> +++ b/arch/arm/mach-exynos/common.c
> @@ -557,25 +557,13 @@ struct bus_type exynos4_subsys = {
> .dev_name = "exynos4-core",
> };
>
> -struct bus_type exynos5_subsys = {
> - .name = "exynos5-core",
> - .dev_name = "exynos5-core",
> -};
> -
> static struct device exynos4_dev = {
> .bus =&exynos4_subsys,
> };
>
> -static struct device exynos5_dev = {
> - .bus =&exynos5_subsys,
> -};
> -
> static int __init exynos_core_init(void)
> {
> - if (soc_is_exynos5250())
> - return subsys_system_register(&exynos5_subsys, NULL);
> - else
> - return subsys_system_register(&exynos4_subsys, NULL);
> + return subsys_system_register(&exynos4_subsys, NULL);
> }
> core_initcall(exynos_core_init);
>
> @@ -662,10 +650,7 @@ static int __init exynos_init(void)
> {
> printk(KERN_INFO "EXYNOS: Initializing architecture\n");
>
> - if (soc_is_exynos5250())
> - return device_register(&exynos5_dev);
> - else
> - return device_register(&exynos4_dev);
> + return device_register(&exynos4_dev);
> }
>
> /* uart registration process */
next prev parent reply other threads:[~2012-04-19 0:15 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-17 5:46 [PATCH 00/12] Updates for Exynos5250 Rev1.0 and device tree support Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-17 5:46 ` [PATCH 01/12] ARM: Exynos: Remove a new bus_type instance for Exynos5 Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-19 0:15 ` Kukjin Kim [this message]
2012-04-19 0:15 ` Kukjin Kim
2012-04-17 5:46 ` [PATCH 02/12] ARM: Exynos5: Fix incorrect initialization of GIC Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-19 0:51 ` Kukjin Kim
2012-04-19 0:51 ` Kukjin Kim
2012-04-17 5:46 ` [PATCH 03/12] ARM: Exynos5: Add watchdog timer clock instance Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-17 6:14 ` Kyungmin Park
2012-04-17 6:14 ` Kyungmin Park
2012-04-17 8:12 ` Thomas Abraham
2012-04-17 8:12 ` Thomas Abraham
2012-04-19 0:28 ` Kukjin Kim
2012-04-19 0:28 ` Kukjin Kim
2012-04-17 5:46 ` [PATCH 04/12] ARM: Exynos5: Remove duplicated instantiation of pdma clock Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-19 0:30 ` Kukjin Kim
2012-04-19 0:30 ` Kukjin Kim
2012-04-17 5:46 ` [PATCH 05/12] ARM: Exynos5: Add MDMA0 clock instance Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-19 1:20 ` Kukjin Kim
2012-04-19 1:20 ` Kukjin Kim
2012-04-17 5:46 ` [PATCH 06/12] rtc-s3c: Fix breakage introduced by S3C2443/S3C2416 support Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-17 6:30 ` Kyungmin Park
2012-04-17 6:30 ` Kyungmin Park
2012-04-17 8:15 ` Thomas Abraham
2012-04-17 8:15 ` Thomas Abraham
2012-04-17 8:25 ` Kyungmin Park
2012-04-17 8:25 ` Kyungmin Park
2012-04-17 8:39 ` Thomas Abraham
2012-04-17 8:39 ` Thomas Abraham
2012-04-17 5:46 ` [PATCH 07/12] ARM: Exynos5: Modify the GIC physical address for static io-mapping Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-17 6:31 ` Kyungmin Park
2012-04-17 6:31 ` Kyungmin Park
2012-04-17 8:19 ` Thomas Abraham
2012-04-17 8:19 ` Thomas Abraham
2012-04-17 5:46 ` [PATCH 08/12] gpio/samsung: add GPC4 bank instance Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-17 6:33 ` Kyungmin Park
2012-04-17 6:33 ` Kyungmin Park
2012-04-17 8:24 ` Thomas Abraham
2012-04-17 8:24 ` Thomas Abraham
2012-04-19 0:36 ` Kukjin Kim
2012-04-19 0:36 ` Kukjin Kim
2012-04-17 5:46 ` [PATCH 09/12] ARM: Exynos5: Add pre-divider and fout mux clocks for bpll and mpll Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-17 5:46 ` [PATCH 10/12] ARM: Exynos: Redefine IRQ_MCT_L0,1 definition Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-19 1:00 ` Kukjin Kim
2012-04-19 1:00 ` Kukjin Kim
2012-04-17 5:46 ` [PATCH 11/12] ARM: Exynos5: Update device tree source files Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-17 5:46 ` [PATCH 12/12] ARM: Exynos5: Update device tree enabled machine file Thomas Abraham
2012-04-17 5:46 ` Thomas Abraham
2012-04-19 0:23 ` Kukjin Kim
2012-04-19 0:23 ` 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=4F8F590E.1000602@samsung.com \
--to=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=thomas.abraham@linaro.org \
/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.