All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sachin Kamat <sachin.kamat@linaro.org>
To: linux-pm@vger.kernel.org
Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, rjw@rjwysocki.net,
	kgene.kim@samsung.com, tomasz.figa@gmail.com,
	yadi.brar01@gmail.com, sachin.kamat@linaro.org,
	myungjoo.ham@samsung.com,
	Yadwinder Singh Brar <yadi.brar@samsung.com>
Subject: [RFC v2 4/4] ARM: SAMSUNG: Register static platform device for ASV for Exynos5
Date: Fri, 15 Nov 2013 17:11:31 +0530	[thread overview]
Message-ID: <1384515691-26299-5-git-send-email-sachin.kamat@linaro.org> (raw)
In-Reply-To: <1384515691-26299-1-git-send-email-sachin.kamat@linaro.org>

From: Yadwinder Singh Brar <yadi.brar@samsung.com>

Since ASV is not a hardware controller, we can't add device tree node
for it. This patch registers a static platform device for Exynos ASV.

Signed-off-by: Yadwinder Singh Brar <yadi.brar@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 arch/arm/mach-exynos/mach-exynos5-dt.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c
index 602c5d7111d0..831b7222aab6 100644
--- a/arch/arm/mach-exynos/mach-exynos5-dt.c
+++ b/arch/arm/mach-exynos/mach-exynos5-dt.c
@@ -24,6 +24,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
@@ -47,6 +48,7 @@ static void __init exynos5_dt_machine_init(void)
 	exynos_cpufreq_init();
 
 	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.9.5


  parent reply	other threads:[~2013-11-15 11:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-15 11:41 [RFC v2 0/4] Add basic support for ASV Sachin Kamat
2013-11-15 11:41 ` Sachin Kamat
2013-11-15 11:41 ` [RFC v2 1/4] power: asv: Add common ASV support for Samsung SoCs Sachin Kamat
2013-12-03 14:46   ` Abhilash Kesavan
2013-12-03 14:46     ` Abhilash Kesavan
2013-12-15 13:38     ` Yadwinder Singh Brar
2013-12-15 13:38       ` Yadwinder Singh Brar
2013-12-09 18:45   ` Tomasz Figa
2013-12-09 18:45     ` Tomasz Figa
2013-12-15 13:30     ` Yadwinder Singh Brar
2013-12-15 13:30       ` Yadwinder Singh Brar
2013-12-15 13:30       ` Yadwinder Singh Brar
2013-12-15 13:51       ` Tomasz Figa
2013-12-15 13:51         ` Tomasz Figa
2013-12-15 13:51         ` Tomasz Figa
2013-12-26 16:28         ` Yadwinder Singh Brar
2013-12-26 16:28           ` Yadwinder Singh Brar
2013-12-26 16:28           ` Yadwinder Singh Brar
2013-11-15 11:41 ` [RFC v2 2/4] power: asv: Add a common ASV driver for Exynos SoCs Sachin Kamat
2013-12-03 14:46   ` Abhilash Kesavan
2013-12-03 14:46     ` Abhilash Kesavan
2013-11-15 11:41 ` [RFC v2 3/4] power: asv: Add support for Exynos5250 Sachin Kamat
2013-11-15 11:41 ` Sachin Kamat [this message]
     [not found] ` <CAJ0PZbS8FxRA_sPTOnWbZcNfUMp=k5Jf_tZHLg1fh6gsAGJ=Gw@mail.gmail.com>
2013-11-18  4:07   ` [RFC v2 0/4] Add basic support for ASV Sachin Kamat
2013-11-18  4:07     ` Sachin Kamat
2013-12-03 14:46     ` Abhilash Kesavan
2013-12-03 14:46       ` Abhilash Kesavan
2013-12-04  6:00       ` Sachin Kamat
2013-12-04  6:00         ` Sachin Kamat
2015-01-13 16:19         ` Kevin Hilman
2015-01-13 16:19           ` Kevin Hilman

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=1384515691-26299-5-git-send-email-sachin.kamat@linaro.org \
    --to=sachin.kamat@linaro.org \
    --cc=kgene.kim@samsung.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    --cc=rjw@rjwysocki.net \
    --cc=tomasz.figa@gmail.com \
    --cc=yadi.brar01@gmail.com \
    --cc=yadi.brar@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.