From: Yadwinder Singh Brar <yadi.brar@samsung.com>
To: linux-kernel@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
linux-samsung-soc@vger.kernel.org,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Viresh Kumar <viresh.kumar@linaro.org>,
MyungJoo Ham <myungjoo.ham@samsung.com>,
Kukjin Kim <kgene.kim@samsung.com>,
Thomas Abraham <thomas.abraham@linaro.org>,
Tomasz Figa <t.figa@samsung.com>,
Yadwinder Singh Brar <yadi.brar@samsung.com>
Subject: [RFC 4/4] arm: exynos5: Register static platform device for ASV.
Date: Wed, 11 Sep 2013 16:44:08 +0530 [thread overview]
Message-ID: <1378898048-25205-5-git-send-email-yadi.brar@samsung.com> (raw)
In-Reply-To: <1378898048-25205-1-git-send-email-yadi.brar@samsung.com>
Since ASV is not a hardware controller so we cann't add device tree node for
it. This patch registers a static platform device exynos ASV.
Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
---
arch/arm/mach-exynos/mach-exynos5-dt.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
index f874b77..5ce58e1 100644
--- a/arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
@@ -28,6 +28,7 @@ static void __init exynos5_dt_machine_init(void)
struct device_node *i2c_np;
const char *i2c_compat = "samsung,s3c2440-i2c";
unsigned int tmp;
+ struct platform_device_info devinfo = { .name = "exynos-asv", };
/*
* Exynos5's legacy i2c controller and new high speed i2c
@@ -48,6 +49,8 @@ static void __init exynos5_dt_machine_init(void)
}
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+
+ platform_device_register_full(&devinfo);
}
static char const *exynos5_dt_compat[] __initdata = {
--
1.7.0.4
next prev parent reply other threads:[~2013-09-11 11:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-11 11:14 [RFC 0/4] Add basic support " Yadwinder Singh Brar
2013-09-11 11:14 ` [RFC 1/4] power: asv: Add common ASV support for samsung SoCs Yadwinder Singh Brar
2013-09-11 11:14 ` [RFC 2/4] power: asv: Add a common asv driver for exynos SoCs Yadwinder Singh Brar
2013-09-11 11:14 ` [RFC 3/4] power: asv: Add support for exynos5250 Yadwinder Singh Brar
2013-09-11 11:14 ` Yadwinder Singh Brar [this message]
2013-11-11 14:27 ` [RFC 0/4] Add basic support for ASV Yadwinder Singh Brar
2013-11-13 2:33 ` MyungJoo Ham
2013-11-14 14:06 ` Yadwinder Singh Brar
2013-11-14 15:06 ` Tomasz Figa
2013-11-14 23:15 ` Yadwinder Singh Brar
2013-11-15 0:03 ` Tomasz Figa
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=1378898048-25205-5-git-send-email-yadi.brar@samsung.com \
--to=yadi.brar@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=myungjoo.ham@samsung.com \
--cc=rjw@sisk.pl \
--cc=t.figa@samsung.com \
--cc=thomas.abraham@linaro.org \
--cc=viresh.kumar@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®