2014-07-29 02:17:29

by Chanwoo Choi

[permalink] [raw]
Subject: [PATCH 0/3] ARM: dts: Add TMU dt node and missing data for Exynos3250

This patchset add TMU (Thermal Management Unit) dt node and missing pinctrl
property of uart0/1. Also, this patchset remove duplcate 'interrupt-parent'
property for code clean.

Chanwoo Choi (3):
ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250
ARM: dts: Remove duplicate 'interrput-parent' property for Exynos3250
ARM: dts: Add missing pinctrl for uart0/1 for Exynos3250

arch/arm/boot/dts/exynos3250.dtsi | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)

--
1.8.0


2014-07-29 02:17:25

by Chanwoo Choi

[permalink] [raw]
Subject: [PATCH 1/3] ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250

This patch add TMU (Thermal Management Unit) dt node to monitor the high
temperature for Exynos3250.

Signed-off-by: Chanwoo Choi <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
---
This patch has a dependency on following patch [1] which supporting the TMU
of Exynos3250:
[1] https://git.kernel.org/cgit/linux/kernel/git/rzhang/linux.git/commit/?h=next&id=1fe56dc16a3dab400206443f70ae158c8f595c42

Changes from v1:
- Remove duplicate 'interrupt-parent' property.

arch/arm/boot/dts/exynos3250.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
index 77a06df..41a260a 100644
--- a/arch/arm/boot/dts/exynos3250.dtsi
+++ b/arch/arm/boot/dts/exynos3250.dtsi
@@ -168,6 +168,15 @@
status = "disabled";
};

+ tmu: tmu@100C0000 {
+ compatible = "samsung,exynos3250-tmu";
+ reg = <0x100C0000 0x100>;
+ interrupts = <0 216 0>;
+ clocks = <&cmu CLK_TMU_APBIF>;
+ clock-names = "tmu_apbif";
+ status = "disabled";
+ };
+
gic: interrupt-controller@10481000 {
compatible = "arm,cortex-a15-gic";
#interrupt-cells = <3>;
--
1.8.0

2014-07-29 02:17:32

by Chanwoo Choi

[permalink] [raw]
Subject: [PATCH 3/3] ARM: dts: Add missing pinctrl for uart0/1 for Exynos3250

This patch add missing pinctrl for uart0/1 for Exynos3250. The gpio pin (
uart0_data, uart0_fctl, uart1_data) is only used for UART IP.

Signed-off-by: Chanwoo Choi <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
---
arch/arm/boot/dts/exynos3250.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
index 5043178..abd6eb3 100644
--- a/arch/arm/boot/dts/exynos3250.dtsi
+++ b/arch/arm/boot/dts/exynos3250.dtsi
@@ -284,6 +284,8 @@
interrupts = <0 109 0>;
clocks = <&cmu CLK_UART0>, <&cmu CLK_SCLK_UART0>;
clock-names = "uart", "clk_uart_baud0";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart0_data &uart0_fctl>;
status = "disabled";
};

@@ -293,6 +295,8 @@
interrupts = <0 110 0>;
clocks = <&cmu CLK_UART1>, <&cmu CLK_SCLK_UART1>;
clock-names = "uart", "clk_uart_baud0";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_data>;
status = "disabled";
};

--
1.8.0

2014-07-29 02:18:29

by Chanwoo Choi

[permalink] [raw]
Subject: [PATCH 2/3] ARM: dts: Remove duplicate 'interrput-parent' property for Exynos3250

This patch removes duplicat 'interrupt-parent' property for Exynos3250
because exynos3250.dtsi already defined 'interrupt-parent' property
as following:

In arch/arm/boot/dts/exynos3250.dtsi:

compatible = "samsung,exynos3250";
interrupt-parent = <&gic>;

Signed-off-by: Chanwoo Choi <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
---
arch/arm/boot/dts/exynos3250.dtsi | 2 --
1 file changed, 2 deletions(-)

diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
index 41a260a..5043178 100644
--- a/arch/arm/boot/dts/exynos3250.dtsi
+++ b/arch/arm/boot/dts/exynos3250.dtsi
@@ -204,7 +204,6 @@

wakeup-interrupt-controller {
compatible = "samsung,exynos4210-wakeup-eint";
- interrupt-parent = <&gic>;
interrupts = <0 48 0>;
};
};
@@ -243,7 +242,6 @@
compatible = "arm,amba-bus";
#address-cells = <1>;
#size-cells = <1>;
- interrupt-parent = <&gic>;
ranges;

pdma0: pdma@12680000 {
--
1.8.0

2014-07-29 13:37:37

by Eduardo Valentin

[permalink] [raw]
Subject: Re: [PATCH 1/3] ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250

On Tue, Jul 29, 2014 at 11:17:10AM +0900, Chanwoo Choi wrote:
> This patch add TMU (Thermal Management Unit) dt node to monitor the high
> temperature for Exynos3250.
>
> Signed-off-by: Chanwoo Choi <[email protected]>
> Acked-by: Kyungmin Park <[email protected]>

Acked-by: Eduardo Valentin <[email protected]>

> ---
> This patch has a dependency on following patch [1] which supporting the TMU
> of Exynos3250:
> [1] https://git.kernel.org/cgit/linux/kernel/git/rzhang/linux.git/commit/?h=next&id=1fe56dc16a3dab400206443f70ae158c8f595c42
>
> Changes from v1:
> - Remove duplicate 'interrupt-parent' property.
>
> arch/arm/boot/dts/exynos3250.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/exynos3250.dtsi b/arch/arm/boot/dts/exynos3250.dtsi
> index 77a06df..41a260a 100644
> --- a/arch/arm/boot/dts/exynos3250.dtsi
> +++ b/arch/arm/boot/dts/exynos3250.dtsi
> @@ -168,6 +168,15 @@
> status = "disabled";
> };
>
> + tmu: tmu@100C0000 {
> + compatible = "samsung,exynos3250-tmu";
> + reg = <0x100C0000 0x100>;
> + interrupts = <0 216 0>;
> + clocks = <&cmu CLK_TMU_APBIF>;
> + clock-names = "tmu_apbif";
> + status = "disabled";
> + };
> +
> gic: interrupt-controller@10481000 {
> compatible = "arm,cortex-a15-gic";
> #interrupt-cells = <3>;
> --
> 1.8.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2014-07-29 23:02:36

by Kukjin Kim

[permalink] [raw]
Subject: Re: [PATCH 0/3] ARM: dts: Add TMU dt node and missing data for Exynos3250

On 07/29/14 11:17, Chanwoo Choi wrote:
> This patchset add TMU (Thermal Management Unit) dt node and missing pinctrl
> property of uart0/1. Also, this patchset remove duplcate 'interrupt-parent'
> property for code clean.
>
> Chanwoo Choi (3):
> ARM: dts: Add TMU dt node to monitor the temperature for Exynos3250
> ARM: dts: Remove duplicate 'interrput-parent' property for Exynos3250
> ARM: dts: Add missing pinctrl for uart0/1 for Exynos3250
>
> arch/arm/boot/dts/exynos3250.dtsi | 15 +++++++++++++--
> 1 file changed, 13 insertions(+), 2 deletions(-)
>
Applied this whole series, thanks.

- Kukjin