From: Amit Daniel Kachhap <amit.daniel@samsung.com> To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" <rjw@sisk.pl>, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kukjin Kim <kgene.kim@samsung.com>, Thomas Abraham <thomas.abraham@linaro.org>, cpufreq@vger.kernel.org, Inderpal Singh <inderpal.singh@linaro.org>, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH V3 4/4] dts: Add cpufreq controller node for Exynos5440 SoC Date: Thu, 7 Mar 2013 09:43:47 +0530 [thread overview] Message-ID: <1362629627-10012-4-git-send-email-amit.daniel@samsung.com> (raw) In-Reply-To: <1362629627-10012-1-git-send-email-amit.daniel@samsung.com> Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com> --- Changes in V3: * Moved the DT node outside cpu0 node as the driver is now a platform driver. arch/arm/boot/dts/exynos5440.dtsi | 12 ++++++++++++ arch/arm/mach-exynos/mach-exynos5-dt.c | 2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 5f3562a..4b29a5a 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -63,6 +63,18 @@ }; + cpufreq@160000 { + compatible = "samsung,exynos5440-cpufreq"; + reg = <0x160000 0x1000>; + interrupts = <0 57 0>; + operating-points = < + /* KHZ uV */ + 1200000 1025000 + 1000000 975000 + 800000 925000 + >; + }; + serial@B0000 { compatible = "samsung,exynos4210-uart"; reg = <0xB0000 0x1000>; diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c index acaeb14..0a446c4 100644 --- a/arch/arm/mach-exynos/mach-exynos5-dt.c +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c @@ -145,6 +145,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { static const struct of_dev_auxdata exynos5440_auxdata_lookup[] __initconst = { OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS5440_PA_UART0, "exynos4210-uart.0", NULL), + OF_DEV_AUXDATA("samsung,exynos5440-cpufreq", 0x160000, + "exynos5440-cpufreq", NULL), {}, }; -- 1.7.1
WARNING: multiple messages have this Message-ID (diff)
From: amit.daniel@samsung.com (Amit Daniel Kachhap) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V3 4/4] dts: Add cpufreq controller node for Exynos5440 SoC Date: Thu, 7 Mar 2013 09:43:47 +0530 [thread overview] Message-ID: <1362629627-10012-4-git-send-email-amit.daniel@samsung.com> (raw) In-Reply-To: <1362629627-10012-1-git-send-email-amit.daniel@samsung.com> Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com> --- Changes in V3: * Moved the DT node outside cpu0 node as the driver is now a platform driver. arch/arm/boot/dts/exynos5440.dtsi | 12 ++++++++++++ arch/arm/mach-exynos/mach-exynos5-dt.c | 2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 5f3562a..4b29a5a 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -63,6 +63,18 @@ }; + cpufreq at 160000 { + compatible = "samsung,exynos5440-cpufreq"; + reg = <0x160000 0x1000>; + interrupts = <0 57 0>; + operating-points = < + /* KHZ uV */ + 1200000 1025000 + 1000000 975000 + 800000 925000 + >; + }; + serial at B0000 { compatible = "samsung,exynos4210-uart"; reg = <0xB0000 0x1000>; diff --git a/arch/arm/mach-exynos/mach-exynos5-dt.c b/arch/arm/mach-exynos/mach-exynos5-dt.c index acaeb14..0a446c4 100644 --- a/arch/arm/mach-exynos/mach-exynos5-dt.c +++ b/arch/arm/mach-exynos/mach-exynos5-dt.c @@ -145,6 +145,8 @@ static const struct of_dev_auxdata exynos5250_auxdata_lookup[] __initconst = { static const struct of_dev_auxdata exynos5440_auxdata_lookup[] __initconst = { OF_DEV_AUXDATA("samsung,exynos4210-uart", EXYNOS5440_PA_UART0, "exynos4210-uart.0", NULL), + OF_DEV_AUXDATA("samsung,exynos5440-cpufreq", 0x160000, + "exynos5440-cpufreq", NULL), {}, }; -- 1.7.1
next prev parent reply other threads:[~2013-03-07 4:14 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-03-07 4:13 [PATCH V3 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440 Amit Daniel Kachhap 2013-03-07 4:13 ` Amit Daniel Kachhap 2013-03-07 4:13 ` [PATCH V3 2/4] cpufreq: exynos: Remove error return even if no soc is found Amit Daniel Kachhap 2013-03-07 4:13 ` Amit Daniel Kachhap 2013-03-07 4:13 ` [PATCH V3 3/4] arm: exynos: Enable OPP library support for exynos5440 Amit Daniel Kachhap 2013-03-07 4:13 ` Amit Daniel Kachhap 2013-03-07 4:13 ` Amit Daniel Kachhap [this message] 2013-03-07 4:13 ` [PATCH V3 4/4] dts: Add cpufreq controller node for Exynos5440 SoC Amit Daniel Kachhap 2013-03-07 15:28 ` [PATCH V3 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440 Sylwester Nawrocki 2013-03-07 15:28 ` Sylwester Nawrocki 2013-03-07 15:37 ` Russell King - ARM Linux 2013-03-07 15:37 ` Russell King - ARM Linux 2013-03-11 3:44 ` amit kachhap 2013-03-11 3:44 ` amit kachhap 2013-03-11 3:43 ` amit kachhap 2013-03-11 3:43 ` amit kachhap 2013-03-09 10:47 ` Viresh Kumar 2013-03-09 10:47 ` Viresh Kumar 2013-03-11 3:45 ` amit kachhap 2013-03-11 3:45 ` amit kachhap
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=1362629627-10012-4-git-send-email-amit.daniel@samsung.com \ --to=amit.daniel@samsung.com \ --cc=cpufreq@vger.kernel.org \ --cc=inderpal.singh@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=rjw@sisk.pl \ --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: linkBe 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.