linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv3 2/6] arm: introduce config HAS_BANDGAP
       [not found] <1370637968-23299-1-git-send-email-eduardo.valentin@ti.com>
@ 2013-06-07 20:46 ` Eduardo Valentin
  2013-06-12 17:07   ` Tony Lindgren
  2013-06-07 20:46 ` [PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices Eduardo Valentin
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-07 20:46 UTC (permalink / raw)
  To: linux-arm-kernel

Bandgap is a device used to measure temperature on
electronic equipments. It is widely used in digital
integrated circuits. It is based on the dependency
between silicon voltage and temperature.

This patch introduce HAS_BANDGAP config entry.
This config is a boolean value so that arch
code can flag if they feature a bandgap device.

This config entry follows the same idea behind
ARCH_HAS_CPUFREQ.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-omap at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: Fabio Stevam <festevam@gmail.com>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
 arch/arm/Kconfig            | 3 +++
 arch/arm/mach-omap2/Kconfig | 1 +
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index d423d58..bcbdec9 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -174,6 +174,9 @@ config ARCH_HAS_CPUFREQ
 	  and that the relevant menu configurations are displayed for
 	  it.
 
+config ARCH_HAS_BANDGAP
+	bool
+
 config GENERIC_HWEIGHT
 	bool
 	default y
diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
index f49cd51..8620ab5 100644
--- a/arch/arm/mach-omap2/Kconfig
+++ b/arch/arm/mach-omap2/Kconfig
@@ -4,6 +4,7 @@ config ARCH_OMAP
 config ARCH_OMAP2PLUS
 	bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
 	select ARCH_HAS_CPUFREQ
+	select ARCH_HAS_BANDGAP
 	select ARCH_HAS_HOLES_MEMORYMODEL
 	select ARCH_OMAP
 	select ARCH_REQUIRE_GPIOLIB
-- 
1.8.2.1.342.gfa7285d

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

* [PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices
       [not found] <1370637968-23299-1-git-send-email-eduardo.valentin@ti.com>
  2013-06-07 20:46 ` [PATCHv3 2/6] arm: introduce config HAS_BANDGAP Eduardo Valentin
@ 2013-06-07 20:46 ` Eduardo Valentin
  2013-06-18 20:14   ` Eduardo Valentin
  2013-06-07 20:46 ` [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices Eduardo Valentin
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-07 20:46 UTC (permalink / raw)
  To: linux-arm-kernel

This patch add the bandgap entry for OMAP4430 devices.

Cc: "Beno?t Cousson" <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-omap at vger.kernel.org
Cc: devicetree-discuss at lists.ozlabs.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
 arch/arm/boot/dts/omap443x.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
index cccf39a..8d6c968 100644
--- a/arch/arm/boot/dts/omap443x.dtsi
+++ b/arch/arm/boot/dts/omap443x.dtsi
@@ -24,4 +24,8 @@
 			clock-latency = <300000>; /* From legacy driver */
 		};
 	};
+	bandgap {
+		reg = <0x4a002260 0x4 0x4a00232C 0x4>;
+		compatible = "ti,omap4430-bandgap";
+	};
 };
-- 
1.8.2.1.342.gfa7285d

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

* [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices
       [not found] <1370637968-23299-1-git-send-email-eduardo.valentin@ti.com>
  2013-06-07 20:46 ` [PATCHv3 2/6] arm: introduce config HAS_BANDGAP Eduardo Valentin
  2013-06-07 20:46 ` [PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices Eduardo Valentin
@ 2013-06-07 20:46 ` Eduardo Valentin
  2013-06-18 20:16   ` Eduardo Valentin
  2013-06-07 20:46 ` [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver Eduardo Valentin
  2013-06-07 20:46 ` [PATCHv3 6/6] arm: omap2plus_defconfig: enable DRA752 thermal support by default Eduardo Valentin
  4 siblings, 1 reply; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-07 20:46 UTC (permalink / raw)
  To: linux-arm-kernel

Include bandgap devices for OMAP4460 devices.

Cc: "Beno?t Cousson" <b-cousson@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-omap at vger.kernel.org
Cc: devicetree-discuss at lists.ozlabs.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
 arch/arm/boot/dts/omap4460.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi
index 2cf227c..ea97201 100644
--- a/arch/arm/boot/dts/omap4460.dtsi
+++ b/arch/arm/boot/dts/omap4460.dtsi
@@ -29,4 +29,13 @@
 			     <0 55 0x4>;
 		ti,hwmods = "debugss";
 	};
+
+	bandgap {
+		reg = <0x4a002260 0x4
+			0x4a00232C 0x4
+			0x4a002378 0x18>;
+		compatible = "ti,omap4460-bandgap";
+		interrupts = <0 126 4>; /* talert */
+		gpios = <&gpio3 22 0>; /* tshut */
+	};
 };
-- 
1.8.2.1.342.gfa7285d

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

* [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver
       [not found] <1370637968-23299-1-git-send-email-eduardo.valentin@ti.com>
                   ` (2 preceding siblings ...)
  2013-06-07 20:46 ` [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices Eduardo Valentin
@ 2013-06-07 20:46 ` Eduardo Valentin
  2013-06-18 20:27   ` Eduardo Valentin
  2013-06-07 20:46 ` [PATCHv3 6/6] arm: omap2plus_defconfig: enable DRA752 thermal support by default Eduardo Valentin
  4 siblings, 1 reply; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-07 20:46 UTC (permalink / raw)
  To: linux-arm-kernel

Enable the bandgap driver for TI SoCs thermal support.

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: AnilKumar Ch <anilkumar@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
 arch/arm/configs/omap2plus_defconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index c1ef64b..6e6c494 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -151,6 +151,13 @@ CONFIG_W1=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_SENSORS_LM75=m
 CONFIG_WATCHDOG=y
+CONFIG_THERMAL=y
+CONFIG_THERMAL_HWMON=y
+CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
+CONFIG_THERMAL_GOV_FAIR_SHARE=y
+CONFIG_THERMAL_GOV_STEP_WISE=y
+CONFIG_THERMAL_GOV_USER_SPACE=y
+CONFIG_CPU_THERMAL=y
 CONFIG_OMAP_WATCHDOG=y
 CONFIG_TWL4030_WATCHDOG=y
 CONFIG_MFD_TPS65217=y
@@ -237,6 +244,10 @@ CONFIG_RTC_DRV_TWL4030=y
 CONFIG_RTC_DRV_OMAP=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_OMAP=y
+CONFIG_TI_SOC_THERMAL=y
+CONFIG_TI_THERMAL=y
+CONFIG_OMAP4_THERMAL=y
+CONFIG_OMAP5_THERMAL=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-- 
1.8.2.1.342.gfa7285d

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

* [PATCHv3 6/6] arm: omap2plus_defconfig: enable DRA752 thermal support by default
       [not found] <1370637968-23299-1-git-send-email-eduardo.valentin@ti.com>
                   ` (3 preceding siblings ...)
  2013-06-07 20:46 ` [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver Eduardo Valentin
@ 2013-06-07 20:46 ` Eduardo Valentin
  4 siblings, 0 replies; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-07 20:46 UTC (permalink / raw)
  To: linux-arm-kernel

Make DRA752 thermal support enabled on omap2plus_defconfig

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Cc: AnilKumar Ch <anilkumar@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-kernel at vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
---
 arch/arm/configs/omap2plus_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 6e6c494..07aab0b 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -248,6 +248,7 @@ CONFIG_TI_SOC_THERMAL=y
 CONFIG_TI_THERMAL=y
 CONFIG_OMAP4_THERMAL=y
 CONFIG_OMAP5_THERMAL=y
+CONFIG_DRA752_THERMAL=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 # CONFIG_EXT3_FS_XATTR is not set
-- 
1.8.2.1.342.gfa7285d

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

* [PATCHv3 2/6] arm: introduce config HAS_BANDGAP
  2013-06-07 20:46 ` [PATCHv3 2/6] arm: introduce config HAS_BANDGAP Eduardo Valentin
@ 2013-06-12 17:07   ` Tony Lindgren
  2013-06-18 20:23     ` Eduardo Valentin
  0 siblings, 1 reply; 13+ messages in thread
From: Tony Lindgren @ 2013-06-12 17:07 UTC (permalink / raw)
  To: linux-arm-kernel

* Eduardo Valentin <eduardo.valentin@ti.com> [130607 13:53]:
> Bandgap is a device used to measure temperature on
> electronic equipments. It is widely used in digital
> integrated circuits. It is based on the dependency
> between silicon voltage and temperature.
> 
> This patch introduce HAS_BANDGAP config entry.
> This config is a boolean value so that arch
> code can flag if they feature a bandgap device.
> 
> This config entry follows the same idea behind
> ARCH_HAS_CPUFREQ.

I suggest you add this to Russell's patch system:

Acked-by: Tony Lindgren <tony@atomide.com>
 
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-omap at vger.kernel.org
> Cc: linux-kernel at vger.kernel.org
> Cc: Fabio Stevam <festevam@gmail.com>
> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
> ---
>  arch/arm/Kconfig            | 3 +++
>  arch/arm/mach-omap2/Kconfig | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index d423d58..bcbdec9 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -174,6 +174,9 @@ config ARCH_HAS_CPUFREQ
>  	  and that the relevant menu configurations are displayed for
>  	  it.
>  
> +config ARCH_HAS_BANDGAP
> +	bool
> +
>  config GENERIC_HWEIGHT
>  	bool
>  	default y
> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> index f49cd51..8620ab5 100644
> --- a/arch/arm/mach-omap2/Kconfig
> +++ b/arch/arm/mach-omap2/Kconfig
> @@ -4,6 +4,7 @@ config ARCH_OMAP
>  config ARCH_OMAP2PLUS
>  	bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
>  	select ARCH_HAS_CPUFREQ
> +	select ARCH_HAS_BANDGAP
>  	select ARCH_HAS_HOLES_MEMORYMODEL
>  	select ARCH_OMAP
>  	select ARCH_REQUIRE_GPIOLIB
> -- 
> 1.8.2.1.342.gfa7285d
> 

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

* [PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices
  2013-06-07 20:46 ` [PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices Eduardo Valentin
@ 2013-06-18 20:14   ` Eduardo Valentin
  0 siblings, 0 replies; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-18 20:14 UTC (permalink / raw)
  To: linux-arm-kernel

Benoit,

On 07-06-2013 16:46, Eduardo Valentin wrote:
> This patch add the bandgap entry for OMAP4430 devices.
> 
> Cc: "Beno?t Cousson" <b-cousson@ti.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: linux-omap at vger.kernel.org
> Cc: devicetree-discuss at lists.ozlabs.org
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>

Could you please have a look on this one?

> ---
>  arch/arm/boot/dts/omap443x.dtsi | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap443x.dtsi b/arch/arm/boot/dts/omap443x.dtsi
> index cccf39a..8d6c968 100644
> --- a/arch/arm/boot/dts/omap443x.dtsi
> +++ b/arch/arm/boot/dts/omap443x.dtsi
> @@ -24,4 +24,8 @@
>  			clock-latency = <300000>; /* From legacy driver */
>  		};
>  	};
> +	bandgap {
> +		reg = <0x4a002260 0x4 0x4a00232C 0x4>;
> +		compatible = "ti,omap4430-bandgap";
> +	};
>  };
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130618/f3e2a54f/attachment.sig>

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

* [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices
  2013-06-07 20:46 ` [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices Eduardo Valentin
@ 2013-06-18 20:16   ` Eduardo Valentin
  2013-06-19  1:11     ` Benoit Cousson
  0 siblings, 1 reply; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-18 20:16 UTC (permalink / raw)
  To: linux-arm-kernel

Benoit

On 07-06-2013 16:46, Eduardo Valentin wrote:
> Include bandgap devices for OMAP4460 devices.
> 
> Cc: "Beno?t Cousson" <b-cousson@ti.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: linux-omap at vger.kernel.org
> Cc: devicetree-discuss at lists.ozlabs.org
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
> ---

Could you please have a look on patch 3 and 4 of this series? I have
changed this one accordingly to your recommendation on v2. If nothing
else, please let me know if they can still be queued for 3.11.

I would need to rebase patch 01 to refresh on top of the thermal tree.

Thanks.

>  arch/arm/boot/dts/omap4460.dtsi | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi
> index 2cf227c..ea97201 100644
> --- a/arch/arm/boot/dts/omap4460.dtsi
> +++ b/arch/arm/boot/dts/omap4460.dtsi
> @@ -29,4 +29,13 @@
>  			     <0 55 0x4>;
>  		ti,hwmods = "debugss";
>  	};
> +
> +	bandgap {
> +		reg = <0x4a002260 0x4
> +			0x4a00232C 0x4
> +			0x4a002378 0x18>;
> +		compatible = "ti,omap4460-bandgap";
> +		interrupts = <0 126 4>; /* talert */
> +		gpios = <&gpio3 22 0>; /* tshut */
> +	};
>  };
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130618/5eeb2557/attachment.sig>

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

* [PATCHv3 2/6] arm: introduce config HAS_BANDGAP
  2013-06-12 17:07   ` Tony Lindgren
@ 2013-06-18 20:23     ` Eduardo Valentin
  0 siblings, 0 replies; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-18 20:23 UTC (permalink / raw)
  To: linux-arm-kernel

On 12-06-2013 13:07, Tony Lindgren wrote:
> * Eduardo Valentin <eduardo.valentin@ti.com> [130607 13:53]:
>> Bandgap is a device used to measure temperature on
>> electronic equipments. It is widely used in digital
>> integrated circuits. It is based on the dependency
>> between silicon voltage and temperature.
>>
>> This patch introduce HAS_BANDGAP config entry.
>> This config is a boolean value so that arch
>> code can flag if they feature a bandgap device.
>>
>> This config entry follows the same idea behind
>> ARCH_HAS_CPUFREQ.
> 
> I suggest you add this to Russell's patch system:
> 
> Acked-by: Tony Lindgren <tony@atomide.com>

Thanks!

I have add it to Russell's patch system and it has been accepted and
applied.

>  
>> Cc: Russell King <linux@arm.linux.org.uk>
>> Cc: Tony Lindgren <tony@atomide.com>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Cc: linux-omap at vger.kernel.org
>> Cc: linux-kernel at vger.kernel.org
>> Cc: Fabio Stevam <festevam@gmail.com>
>> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
>> ---
>>  arch/arm/Kconfig            | 3 +++
>>  arch/arm/mach-omap2/Kconfig | 1 +
>>  2 files changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
>> index d423d58..bcbdec9 100644
>> --- a/arch/arm/Kconfig
>> +++ b/arch/arm/Kconfig
>> @@ -174,6 +174,9 @@ config ARCH_HAS_CPUFREQ
>>  	  and that the relevant menu configurations are displayed for
>>  	  it.
>>  
>> +config ARCH_HAS_BANDGAP
>> +	bool
>> +
>>  config GENERIC_HWEIGHT
>>  	bool
>>  	default y
>> diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
>> index f49cd51..8620ab5 100644
>> --- a/arch/arm/mach-omap2/Kconfig
>> +++ b/arch/arm/mach-omap2/Kconfig
>> @@ -4,6 +4,7 @@ config ARCH_OMAP
>>  config ARCH_OMAP2PLUS
>>  	bool "TI OMAP2/3/4/5 SoCs with device tree support" if (ARCH_MULTI_V6 || ARCH_MULTI_V7)
>>  	select ARCH_HAS_CPUFREQ
>> +	select ARCH_HAS_BANDGAP
>>  	select ARCH_HAS_HOLES_MEMORYMODEL
>>  	select ARCH_OMAP
>>  	select ARCH_REQUIRE_GPIOLIB
>> -- 
>> 1.8.2.1.342.gfa7285d
>>
> 
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130618/c73595f0/attachment.sig>

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

* [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver
  2013-06-07 20:46 ` [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver Eduardo Valentin
@ 2013-06-18 20:27   ` Eduardo Valentin
  2013-06-24 21:39     ` Eduardo Valentin
  2013-07-04 11:48     ` Tony Lindgren
  0 siblings, 2 replies; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-18 20:27 UTC (permalink / raw)
  To: linux-arm-kernel

Tony,

On 07-06-2013 16:46, Eduardo Valentin wrote:
> Enable the bandgap driver for TI SoCs thermal support.
> 
> Cc: Russell King <linux@arm.linux.org.uk>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> Cc: AnilKumar Ch <anilkumar@ti.com>
> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>

Is it possible for you to queue this one and patch 6 for 3.11?

Cheers,

> ---
>  arch/arm/configs/omap2plus_defconfig | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
> index c1ef64b..6e6c494 100644
> --- a/arch/arm/configs/omap2plus_defconfig
> +++ b/arch/arm/configs/omap2plus_defconfig
> @@ -151,6 +151,13 @@ CONFIG_W1=y
>  CONFIG_POWER_SUPPLY=y
>  CONFIG_SENSORS_LM75=m
>  CONFIG_WATCHDOG=y
> +CONFIG_THERMAL=y
> +CONFIG_THERMAL_HWMON=y
> +CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
> +CONFIG_THERMAL_GOV_FAIR_SHARE=y
> +CONFIG_THERMAL_GOV_STEP_WISE=y
> +CONFIG_THERMAL_GOV_USER_SPACE=y
> +CONFIG_CPU_THERMAL=y
>  CONFIG_OMAP_WATCHDOG=y
>  CONFIG_TWL4030_WATCHDOG=y
>  CONFIG_MFD_TPS65217=y
> @@ -237,6 +244,10 @@ CONFIG_RTC_DRV_TWL4030=y
>  CONFIG_RTC_DRV_OMAP=y
>  CONFIG_DMADEVICES=y
>  CONFIG_DMA_OMAP=y
> +CONFIG_TI_SOC_THERMAL=y
> +CONFIG_TI_THERMAL=y
> +CONFIG_OMAP4_THERMAL=y
> +CONFIG_OMAP5_THERMAL=y
>  CONFIG_EXT2_FS=y
>  CONFIG_EXT3_FS=y
>  # CONFIG_EXT3_FS_XATTR is not set
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130618/a1b1a113/attachment-0001.sig>

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

* [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices
  2013-06-18 20:16   ` Eduardo Valentin
@ 2013-06-19  1:11     ` Benoit Cousson
  0 siblings, 0 replies; 13+ messages in thread
From: Benoit Cousson @ 2013-06-19  1:11 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Eduardo,

On 06/18/2013 03:16 PM, Eduardo Valentin wrote:
> Benoit
>
> On 07-06-2013 16:46, Eduardo Valentin wrote:
>> Include bandgap devices for OMAP4460 devices.
>>
>> Cc: "Beno?t Cousson" <b-cousson@ti.com>
>> Cc: Tony Lindgren <tony@atomide.com>
>> Cc: Russell King <linux@arm.linux.org.uk>
>> Cc: linux-omap at vger.kernel.org
>> Cc: devicetree-discuss at lists.ozlabs.org
>> Cc: linux-arm-kernel at lists.infradead.org
>> Cc: linux-kernel at vger.kernel.org
>> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
>> ---
>
> Could you please have a look on patch 3 and 4 of this series? I have
> changed this one accordingly to your recommendation on v2. If nothing
> else, please let me know if they can still be queued for 3.11.

I've just applied both of them in my tree for 3.11. I'll send the pull 
request to Tony tomorrow.

Regards,
Benoit

>
> I would need to rebase patch 01 to refresh on top of the thermal tree.
>
> Thanks.
>
>>   arch/arm/boot/dts/omap4460.dtsi | 9 +++++++++
>>   1 file changed, 9 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/omap4460.dtsi b/arch/arm/boot/dts/omap4460.dtsi
>> index 2cf227c..ea97201 100644
>> --- a/arch/arm/boot/dts/omap4460.dtsi
>> +++ b/arch/arm/boot/dts/omap4460.dtsi
>> @@ -29,4 +29,13 @@
>>   			     <0 55 0x4>;
>>   		ti,hwmods = "debugss";
>>   	};
>> +
>> +	bandgap {
>> +		reg = <0x4a002260 0x4
>> +			0x4a00232C 0x4
>> +			0x4a002378 0x18>;
>> +		compatible = "ti,omap4460-bandgap";
>> +		interrupts = <0 126 4>; /* talert */
>> +		gpios = <&gpio3 22 0>; /* tshut */
>> +	};
>>   };
>>
>
>

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

* [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver
  2013-06-18 20:27   ` Eduardo Valentin
@ 2013-06-24 21:39     ` Eduardo Valentin
  2013-07-04 11:48     ` Tony Lindgren
  1 sibling, 0 replies; 13+ messages in thread
From: Eduardo Valentin @ 2013-06-24 21:39 UTC (permalink / raw)
  To: linux-arm-kernel

Tony,

On 18-06-2013 16:27, Eduardo Valentin wrote:
> Tony,
> 
> On 07-06-2013 16:46, Eduardo Valentin wrote:
>> Enable the bandgap driver for TI SoCs thermal support.
>>
>> Cc: Russell King <linux@arm.linux.org.uk>
>> Cc: Tony Lindgren <tony@atomide.com>
>> Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
>> Cc: AnilKumar Ch <anilkumar@ti.com>
>> Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
>> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
>> Cc: linux-arm-kernel at lists.infradead.org
>> Cc: linux-kernel at vger.kernel.org
>> Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
> 
> Is it possible for you to queue this one and patch 6 for 3.11?

Gentle reminder.

> 
> Cheers,
> 
>> ---
>>  arch/arm/configs/omap2plus_defconfig | 11 +++++++++++
>>  1 file changed, 11 insertions(+)
>>
>> diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
>> index c1ef64b..6e6c494 100644
>> --- a/arch/arm/configs/omap2plus_defconfig
>> +++ b/arch/arm/configs/omap2plus_defconfig
>> @@ -151,6 +151,13 @@ CONFIG_W1=y
>>  CONFIG_POWER_SUPPLY=y
>>  CONFIG_SENSORS_LM75=m
>>  CONFIG_WATCHDOG=y
>> +CONFIG_THERMAL=y
>> +CONFIG_THERMAL_HWMON=y
>> +CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
>> +CONFIG_THERMAL_GOV_FAIR_SHARE=y
>> +CONFIG_THERMAL_GOV_STEP_WISE=y
>> +CONFIG_THERMAL_GOV_USER_SPACE=y
>> +CONFIG_CPU_THERMAL=y
>>  CONFIG_OMAP_WATCHDOG=y
>>  CONFIG_TWL4030_WATCHDOG=y
>>  CONFIG_MFD_TPS65217=y
>> @@ -237,6 +244,10 @@ CONFIG_RTC_DRV_TWL4030=y
>>  CONFIG_RTC_DRV_OMAP=y
>>  CONFIG_DMADEVICES=y
>>  CONFIG_DMA_OMAP=y
>> +CONFIG_TI_SOC_THERMAL=y
>> +CONFIG_TI_THERMAL=y
>> +CONFIG_OMAP4_THERMAL=y
>> +CONFIG_OMAP5_THERMAL=y
>>  CONFIG_EXT2_FS=y
>>  CONFIG_EXT3_FS=y
>>  # CONFIG_EXT3_FS_XATTR is not set
>>
> 
> 


-- 
You have got to be excited about what you are doing. (L. Lamport)

Eduardo Valentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 295 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130624/66cf164b/attachment.sig>

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

* [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver
  2013-06-18 20:27   ` Eduardo Valentin
  2013-06-24 21:39     ` Eduardo Valentin
@ 2013-07-04 11:48     ` Tony Lindgren
  1 sibling, 0 replies; 13+ messages in thread
From: Tony Lindgren @ 2013-07-04 11:48 UTC (permalink / raw)
  To: linux-arm-kernel

* Eduardo Valentin <eduardo.valentin@ti.com> [130618 13:33]:
> Tony,
> 
> On 07-06-2013 16:46, Eduardo Valentin wrote:
> > Enable the bandgap driver for TI SoCs thermal support.
> > 
> > Cc: Russell King <linux@arm.linux.org.uk>
> > Cc: Tony Lindgren <tony@atomide.com>
> > Cc: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> > Cc: AnilKumar Ch <anilkumar@ti.com>
> > Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
> > Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
> > Cc: linux-arm-kernel at lists.infradead.org
> > Cc: linux-kernel at vger.kernel.org
> > Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
> 
> Is it possible for you to queue this one and patch 6 for 3.11?

Yes thanks applying into omap-for-v3.11/fixes.

Tony

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

end of thread, other threads:[~2013-07-04 11:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1370637968-23299-1-git-send-email-eduardo.valentin@ti.com>
2013-06-07 20:46 ` [PATCHv3 2/6] arm: introduce config HAS_BANDGAP Eduardo Valentin
2013-06-12 17:07   ` Tony Lindgren
2013-06-18 20:23     ` Eduardo Valentin
2013-06-07 20:46 ` [PATCHv3 3/6] arm: dts: add bandgap entry for OMAP443x devices Eduardo Valentin
2013-06-18 20:14   ` Eduardo Valentin
2013-06-07 20:46 ` [PATCHv3 4/6] arm: dts: add bandgap entry for OMAP4460 devices Eduardo Valentin
2013-06-18 20:16   ` Eduardo Valentin
2013-06-19  1:11     ` Benoit Cousson
2013-06-07 20:46 ` [PATCHv3 5/6] arm: omap2plus_defconfig: enable TI bandgap driver Eduardo Valentin
2013-06-18 20:27   ` Eduardo Valentin
2013-06-24 21:39     ` Eduardo Valentin
2013-07-04 11:48     ` Tony Lindgren
2013-06-07 20:46 ` [PATCHv3 6/6] arm: omap2plus_defconfig: enable DRA752 thermal support by default Eduardo Valentin

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