linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH 2/2] ARM: dts: exynos4412-trats2: Enable TMU support at Trats2
  2014-11-14 10:03 ` [RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12 Lukasz Majewski
@ 2014-11-14 10:03   ` Lukasz Majewski
  0 siblings, 0 replies; 5+ messages in thread
From: Lukasz Majewski @ 2014-11-14 10:03 UTC (permalink / raw)
  To: linux-arm-kernel

This patch enables support for TMU at Exynos4412 based Trats2 board.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
---
 arch/arm/boot/dts/exynos4412-trats2.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index 5e066cd..121430d 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -551,6 +551,11 @@
 		status = "okay";
 	};
 
+	tmu at 100C0000 {
+		vtmu-supply = <&ldo10_reg>;
+		status = "okay";
+	};
+
 	i2c_ak8975: i2c-gpio-0 {
 		compatible = "i2c-gpio";
 		gpios = <&gpy2 4 0>, <&gpy2 5 0>;
-- 
2.0.0.rc2

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12
       [not found] <1416474343-1283-1-git-send-email-l.majewski@samsung.com>
@ 2014-11-22  2:39 ` Kukjin Kim
  2014-11-24  8:49   ` Lukasz Majewski
       [not found] ` <1416474343-1283-2-git-send-email-l.majewski@samsung.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Kukjin Kim @ 2014-11-22  2:39 UTC (permalink / raw)
  To: linux-arm-kernel

Lukasz Majewski wrote:
> 
+ Bart, Tomasz and MLs

Hi Lukasz,

Please post including MLs, even resending.

Will apply for v3.19, and just note that you asked me to apply this for 3.18
in personal talk but I couldn't see any requirements for fixes-3.18. If I'm
missing something, please let me know.

Thanks,
Kukjin

> The TMU device tree node definition for Exynos4x12 family of SoCs.
> 
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
> ---
>  arch/arm/boot/dts/exynos4x12.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos4x12.dtsi b/arch/arm/boot/dts/exynos4x12.dtsi
> index 861bb91..2e9f1f7 100644
> --- a/arch/arm/boot/dts/exynos4x12.dtsi
> +++ b/arch/arm/boot/dts/exynos4x12.dtsi
> @@ -271,4 +271,14 @@
>  		compatible = "samsung,exynos4x12-usb2-phy";
>  		samsung,sysreg-phandle = <&sys_reg>;
>  	};
> +
> +	tmu at 100C0000 {
> +		compatible = "samsung,exynos4412-tmu";
> +		interrupt-parent = <&combiner>;
> +		interrupts = <2 4>;
> +		reg = <0x100C0000 0x100>;
> +		clocks = <&clock 383>;
> +		clock-names = "tmu_apbif";
> +		status = "disabled";
> +	};
>  };
> --
> 2.0.0.rc2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [RESEND PATCH 2/2] ARM: dts: exynos4412-trats2: Enable TMU support at Trats2
       [not found] ` <1416474343-1283-2-git-send-email-l.majewski@samsung.com>
@ 2014-11-22  2:40   ` Kukjin Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Kukjin Kim @ 2014-11-22  2:40 UTC (permalink / raw)
  To: linux-arm-kernel

Lukasz Majewski wrote:
> 
+ Bart, Tomasz and MLs

Will apply.

Thanks
Kukjin

> This patch enables support for TMU at Exynos4412 based Trats2 board.
> 
> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
> ---
>  arch/arm/boot/dts/exynos4412-trats2.dts | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
> index 5e066cd..121430d 100644
> --- a/arch/arm/boot/dts/exynos4412-trats2.dts
> +++ b/arch/arm/boot/dts/exynos4412-trats2.dts
> @@ -551,6 +551,11 @@
>  		status = "okay";
>  	};
> 
> +	tmu at 100C0000 {
> +		vtmu-supply = <&ldo10_reg>;
> +		status = "okay";
> +	};
> +
>  	i2c_ak8975: i2c-gpio-0 {
>  		compatible = "i2c-gpio";
>  		gpios = <&gpy2 4 0>, <&gpy2 5 0>;
> --
> 2.0.0.rc2

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12
  2014-11-22  2:39 ` [RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12 Kukjin Kim
@ 2014-11-24  8:49   ` Lukasz Majewski
  2014-11-26 17:56     ` Kukjin Kim
  0 siblings, 1 reply; 5+ messages in thread
From: Lukasz Majewski @ 2014-11-24  8:49 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Kukjin,

> Lukasz Majewski wrote:
> > 
> + Bart, Tomasz and MLs
> 
> Hi Lukasz,
> 
> Please post including MLs, even resending.
> 
> Will apply for v3.19, and just note that you asked me to apply this
> for 3.18 in personal talk but I couldn't see any requirements for
> fixes-3.18. If I'm missing something, please let me know.

The thing is that by default Exynos 4412 (trats2) can run with modified
cpufreq to support SW governed overclocking (BOOST).

To provide safe BOOST operation, TMU (thermal) _must_ be configured.
Configuration is not possible when trats2 DTS lacks of those patches.

So, yes there is a requirement to add those patches to v3.18 (if not
possible please add it to v3.19).

> 
> Thanks,
> Kukjin
> 
> > The TMU device tree node definition for Exynos4x12 family of SoCs.
> > 
> > Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> > Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
> > Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
> > ---
> >  arch/arm/boot/dts/exynos4x12.dtsi | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/exynos4x12.dtsi
> > b/arch/arm/boot/dts/exynos4x12.dtsi index 861bb91..2e9f1f7 100644
> > --- a/arch/arm/boot/dts/exynos4x12.dtsi
> > +++ b/arch/arm/boot/dts/exynos4x12.dtsi
> > @@ -271,4 +271,14 @@
> >  		compatible = "samsung,exynos4x12-usb2-phy";
> >  		samsung,sysreg-phandle = <&sys_reg>;
> >  	};
> > +
> > +	tmu at 100C0000 {
> > +		compatible = "samsung,exynos4412-tmu";
> > +		interrupt-parent = <&combiner>;
> > +		interrupts = <2 4>;
> > +		reg = <0x100C0000 0x100>;
> > +		clocks = <&clock 383>;
> > +		clock-names = "tmu_apbif";
> > +		status = "disabled";
> > +	};
> >  };
> > --
> > 2.0.0.rc2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel


-- 
Best regards,

Lukasz Majewski

Samsung R&D Institute Poland (SRPOL) | Linux Platform Group

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12
  2014-11-24  8:49   ` Lukasz Majewski
@ 2014-11-26 17:56     ` Kukjin Kim
  0 siblings, 0 replies; 5+ messages in thread
From: Kukjin Kim @ 2014-11-26 17:56 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/24/14 17:49, Lukasz Majewski wrote:
> Hi Kukjin,
> 
>> Lukasz Majewski wrote:
>>>
>> + Bart, Tomasz and MLs
>>
>> Hi Lukasz,
>>
>> Please post including MLs, even resending.
>>
>> Will apply for v3.19, and just note that you asked me to apply this
>> for 3.18 in personal talk but I couldn't see any requirements for
>> fixes-3.18. If I'm missing something, please let me know.
> 
> The thing is that by default Exynos 4412 (trats2) can run with modified
> cpufreq to support SW governed overclocking (BOOST).
> 
> To provide safe BOOST operation, TMU (thermal) _must_ be configured.
> Configuration is not possible when trats2 DTS lacks of those patches.
> 
Well, AFAIK the BOOST mode is only available on only Samsung mobile not
mainline and so I think this is not for bug fix in mainline for 3.18...

- Kukjin

> So, yes there is a requirement to add those patches to v3.18 (if not
> possible please add it to v3.19).
> 
>>
>> Thanks,
>> Kukjin
>>
>>> The TMU device tree node definition for Exynos4x12 family of SoCs.
>>>
>>> Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
>>> Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
>>> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com>
>>> ---
>>>  arch/arm/boot/dts/exynos4x12.dtsi | 10 ++++++++++
>>>  1 file changed, 10 insertions(+)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-26 17:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1416474343-1283-1-git-send-email-l.majewski@samsung.com>
2014-11-22  2:39 ` [RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12 Kukjin Kim
2014-11-24  8:49   ` Lukasz Majewski
2014-11-26 17:56     ` Kukjin Kim
     [not found] ` <1416474343-1283-2-git-send-email-l.majewski@samsung.com>
2014-11-22  2:40   ` [RESEND PATCH 2/2] ARM: dts: exynos4412-trats2: Enable TMU support at Trats2 Kukjin Kim
     [not found] <1381300194-13134-5-git-send-email-l.majewski@samsung.com>
2014-11-14 10:03 ` [RESEND PATCH 1/2] ARM: dts: exynos4x12: Device tree node definition for TMU on Exynos4x12 Lukasz Majewski
2014-11-14 10:03   ` [RESEND PATCH 2/2] ARM: dts: exynos4412-trats2: Enable TMU support at Trats2 Lukasz Majewski

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).