* [PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C
@ 2012-12-28 11:40 Naveen Krishna Chatradhi
2012-12-28 11:40 ` [PATCH 2/2] arm: exynos5: Add HS-I2C device tree platform information Naveen Krishna Chatradhi
[not found] ` <1356694851-1345-1-git-send-email-ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
0 siblings, 2 replies; 3+ messages in thread
From: Naveen Krishna Chatradhi @ 2012-12-28 11:40 UTC (permalink / raw)
To: linux-samsung-soc
Cc: w.sang, linux-kernel, grant.likely, devicetree-discuss,
naveenkrishna.ch, kgene.kim, linux-arm-kernel
Adds clock gating bits for High Speed I2C channels 0, 1, 2 and 3.
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
---
arch/arm/mach-exynos/clock-exynos5.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c
index 0208c3a..f9fa0c7 100644
--- a/arch/arm/mach-exynos/clock-exynos5.c
+++ b/arch/arm/mach-exynos/clock-exynos5.c
@@ -753,6 +753,30 @@ static struct clk exynos5_init_clocks_off[] = {
.enable = exynos5_clk_ip_peric_ctrl,
.ctrlbit = (1 << 27),
}, {
+ .name = "hsi2c",
+ .devname = "exynos5-hsi2c.0",
+ .enable = exynos5_clk_ip_peric_ctrl,
+ .parent = &exynos5_clk_aclk_66.clk,
+ .ctrlbit = (1 << 28),
+ }, {
+ .name = "hsi2c",
+ .devname = "exynos5-hsi2c.1",
+ .enable = exynos5_clk_ip_peric_ctrl,
+ .parent = &exynos5_clk_aclk_66.clk,
+ .ctrlbit = (1 << 29),
+ }, {
+ .name = "hsi2c",
+ .devname = "exynos5-hsi2c.2",
+ .enable = exynos5_clk_ip_peric_ctrl,
+ .parent = &exynos5_clk_aclk_66.clk,
+ .ctrlbit = (1 << 30),
+ }, {
+ .name = "hsi2c",
+ .devname = "exynos5-hsi2c.3",
+ .enable = exynos5_clk_ip_peric_ctrl,
+ .parent = &exynos5_clk_aclk_66.clk,
+ .ctrlbit = (1 << 31),
+ }, {
.name = "usbhost",
.enable = exynos5_clk_ip_fsys_ctrl ,
.ctrlbit = (1 << 18),
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm: exynos5: Add HS-I2C device tree platform information
2012-12-28 11:40 [PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C Naveen Krishna Chatradhi
@ 2012-12-28 11:40 ` Naveen Krishna Chatradhi
[not found] ` <1356694851-1345-1-git-send-email-ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
1 sibling, 0 replies; 3+ messages in thread
From: Naveen Krishna Chatradhi @ 2012-12-28 11:40 UTC (permalink / raw)
To: linux-samsung-soc
Cc: w.sang, linux-kernel, grant.likely, devicetree-discuss,
naveenkrishna.ch, kgene.kim, linux-arm-kernel
This patch adds HS-I2C device tree platform information in
exynos5.dtsi and exynos5-smdk5250.
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
---
arch/arm/boot/dts/exynos5250-smdk5250.dts | 16 +++++++++++++++
arch/arm/boot/dts/exynos5250.dtsi | 32 +++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts
index 942d576..b7fba59 100644
--- a/arch/arm/boot/dts/exynos5250-smdk5250.dts
+++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts
@@ -108,6 +108,22 @@
};
};
+ hsi2c@12C50000 {
+ status = "disabled";
+ };
+
+ hsi2c@12D00000 {
+ status = "disabled";
+ };
+
+ hsi2c@12D50000 {
+ status = "disabled";
+ };
+
+ hsi2c@12DE0000 {
+ status = "disabled";
+ };
+
dwmmc0@12200000 {
num-slots = <1>;
supports-highspeed;
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi
index 45799e8..a10c089 100644
--- a/arch/arm/boot/dts/exynos5250.dtsi
+++ b/arch/arm/boot/dts/exynos5250.dtsi
@@ -213,6 +213,38 @@
#size-cells = <0>;
};
+ hsi2c@12C50000 {
+ compatible = "samsung,exynos5-hsi2c";
+ reg = <0x12C50000 0x1000>;
+ interrupts = <0 56 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ hsi2c@12D00000 {
+ compatible = "samsung,exynos5-hsi2c";
+ reg = <0x12D00000 0x1000>;
+ interrupts = <0 57 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ hsi2c@12D50000 {
+ compatible = "samsung,exynos5-hsi2c";
+ reg = <0x12D50000 0x1000>;
+ interrupts = <0 58 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ hsi2c@12DE0000 {
+ compatible = "samsung,exynos5-hsi2c";
+ reg = <0x12DE0000 0x1000>;
+ interrupts = <0 59 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
spi_0: spi@12d20000 {
compatible = "samsung,exynos4210-spi";
reg = <0x12d20000 0x100>;
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C
[not found] ` <1356694851-1345-1-git-send-email-ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
@ 2013-01-07 12:06 ` Naveen Krishna Ch
0 siblings, 0 replies; 3+ messages in thread
From: Naveen Krishna Ch @ 2013-01-07 12:06 UTC (permalink / raw)
To: Naveen Krishna Chatradhi
Cc: kgene.kim-Sze3O3UU22JBDgjK7y7TUQ,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
w.sang-bIcnvbaLZ9MEGnE8C9+IrQ,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On 28 December 2012 17:10, Naveen Krishna Chatradhi
<ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org> wrote:
> Adds clock gating bits for High Speed I2C channels 0, 1, 2 and 3.
>
> Signed-off-by: Naveen Krishna Chatradhi <ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
> ---
> arch/arm/mach-exynos/clock-exynos5.c | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/arch/arm/mach-exynos/clock-exynos5.c b/arch/arm/mach-exynos/clock-exynos5.c
> index 0208c3a..f9fa0c7 100644
> --- a/arch/arm/mach-exynos/clock-exynos5.c
> +++ b/arch/arm/mach-exynos/clock-exynos5.c
> @@ -753,6 +753,30 @@ static struct clk exynos5_init_clocks_off[] = {
> .enable = exynos5_clk_ip_peric_ctrl,
> .ctrlbit = (1 << 27),
> }, {
> + .name = "hsi2c",
> + .devname = "exynos5-hsi2c.0",
> + .enable = exynos5_clk_ip_peric_ctrl,
> + .parent = &exynos5_clk_aclk_66.clk,
> + .ctrlbit = (1 << 28),
> + }, {
> + .name = "hsi2c",
> + .devname = "exynos5-hsi2c.1",
> + .enable = exynos5_clk_ip_peric_ctrl,
> + .parent = &exynos5_clk_aclk_66.clk,
> + .ctrlbit = (1 << 29),
> + }, {
> + .name = "hsi2c",
> + .devname = "exynos5-hsi2c.2",
> + .enable = exynos5_clk_ip_peric_ctrl,
> + .parent = &exynos5_clk_aclk_66.clk,
> + .ctrlbit = (1 << 30),
> + }, {
> + .name = "hsi2c",
> + .devname = "exynos5-hsi2c.3",
> + .enable = exynos5_clk_ip_peric_ctrl,
> + .parent = &exynos5_clk_aclk_66.clk,
> + .ctrlbit = (1 << 31),
> + }, {
> .name = "usbhost",
> .enable = exynos5_clk_ip_fsys_ctrl ,
> .ctrlbit = (1 << 18),
> --
> 1.7.9.5
Any comments on this patch please.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Shine bright,
(: Nav :)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-07 12:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 11:40 [PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C Naveen Krishna Chatradhi
2012-12-28 11:40 ` [PATCH 2/2] arm: exynos5: Add HS-I2C device tree platform information Naveen Krishna Chatradhi
[not found] ` <1356694851-1345-1-git-send-email-ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2013-01-07 12:06 ` [PATCH 1/2] ARM: exynos5: Add gate clocks for HS-I2C Naveen Krishna Ch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).