linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers
@ 2015-07-15 16:32 Javier Martinez Canillas
  2015-07-15 16:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Javier Martinez Canillas @ 2015-07-15 16:32 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Kukjin and Krzysztof,

This series enables support in exynos_defconfig and multi_v7_defconfig
for the NTC Thermistors found on the Exynos5 Peach Chromebooks and
also enables support for the max77802 regulators in multi_v7_defconfig.

The series is composed of the following patches:


Javier Martinez Canillas (3):
  ARM: multi_v7_defconfig: Enable max77802 regulator
  ARM: multi_v7_defconfig: Enable NTC Thermistors support
  ARM: exynos_defconfig: Enable NTC Thermistors support

 arch/arm/configs/exynos_defconfig   | 1 +
 arch/arm/configs/multi_v7_defconfig | 3 +++
 2 files changed, 4 insertions(+)

-- 
2.4.3

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

* [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator
  2015-07-15 16:32 [PATCH 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
@ 2015-07-15 16:32 ` Javier Martinez Canillas
  2015-07-16  0:45   ` Krzysztof Kozlowski
  2015-07-15 16:32 ` [PATCH 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support Javier Martinez Canillas
  2015-07-15 16:32 ` [PATCH 3/3] ARM: exynos_defconfig: " Javier Martinez Canillas
  2 siblings, 1 reply; 9+ messages in thread
From: Javier Martinez Canillas @ 2015-07-15 16:32 UTC (permalink / raw)
  To: linux-arm-kernel

The Maxim max77802 Power Management IC has besides other devices, a set of
regulators. Commit f3caa529c6f5 ("ARM: multi_v7_defconfig: Enable max77802
regulator, rtc and clock drivers") was supposed to enable the config option
for the regulator driver as a module but the final version that landed did
not include this. So this patch enables the needed Kconfig option.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---

 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 4b93761d58d2..b07493997993 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -402,6 +402,7 @@ CONFIG_REGULATOR_MAX14577=m
 CONFIG_REGULATOR_MAX8907=y
 CONFIG_REGULATOR_MAX8973=y
 CONFIG_REGULATOR_MAX77686=y
+CONFIG_REGULATOR_MAX77802=m
 CONFIG_REGULATOR_MAX77693=m
 CONFIG_REGULATOR_PALMAS=y
 CONFIG_REGULATOR_S2MPS11=y
-- 
2.4.3

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

* [PATCH 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support
  2015-07-15 16:32 [PATCH 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
  2015-07-15 16:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
@ 2015-07-15 16:32 ` Javier Martinez Canillas
  2015-07-16  0:48   ` Krzysztof Kozlowski
  2015-07-15 16:32 ` [PATCH 3/3] ARM: exynos_defconfig: " Javier Martinez Canillas
  2 siblings, 1 reply; 9+ messages in thread
From: Javier Martinez Canillas @ 2015-07-15 16:32 UTC (permalink / raw)
  To: linux-arm-kernel

The Exynos5420 Peach Pit and Exynos5800 Peach Pi Chromebooks have
IIO based ADC thermistors. Enable module support for its driver
and also for the needed Exynos ADC driver.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---

 arch/arm/configs/multi_v7_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index b07493997993..0a8aa724c5a0 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -357,6 +357,7 @@ CONFIG_POWER_RESET_KEYSTONE=y
 CONFIG_POWER_RESET_RMOBILE=y
 CONFIG_SENSORS_LM90=y
 CONFIG_SENSORS_LM95245=y
+CONFIG_SENSORS_NTC_THERMISTOR=m
 CONFIG_THERMAL=y
 CONFIG_CPU_THERMAL=y
 CONFIG_RCAR_THERMAL=y
@@ -617,6 +618,7 @@ CONFIG_MEMORY=y
 CONFIG_TI_AEMIF=y
 CONFIG_IIO=y
 CONFIG_AT91_ADC=m
+CONFIG_EXYNOS_ADC=m
 CONFIG_XILINX_XADC=y
 CONFIG_AK8975=y
 CONFIG_PWM=y
-- 
2.4.3

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

* [PATCH 3/3] ARM: exynos_defconfig: Enable NTC Thermistors support
  2015-07-15 16:32 [PATCH 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
  2015-07-15 16:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
  2015-07-15 16:32 ` [PATCH 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support Javier Martinez Canillas
@ 2015-07-15 16:32 ` Javier Martinez Canillas
  2015-07-16  0:47   ` Krzysztof Kozlowski
  2 siblings, 1 reply; 9+ messages in thread
From: Javier Martinez Canillas @ 2015-07-15 16:32 UTC (permalink / raw)
  To: linux-arm-kernel

The Exynos5420 Peach Pit and Exynos5800 Peach Pi Chromebooks have
IIO based ADC thermistors. Enable built-in support for its driver.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 arch/arm/configs/exynos_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 9504e7790288..e5d7d4476a80 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -94,6 +94,7 @@ CONFIG_CHARGER_MAX14577=y
 CONFIG_CHARGER_MAX77693=y
 CONFIG_CHARGER_TPS65090=y
 CONFIG_SENSORS_LM90=y
+CONFIG_SENSORS_NTC_THERMISTOR=y
 CONFIG_SENSORS_PWM_FAN=y
 CONFIG_SENSORS_INA2XX=y
 CONFIG_THERMAL=y
-- 
2.4.3

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

* [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator
  2015-07-15 16:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
@ 2015-07-16  0:45   ` Krzysztof Kozlowski
  2015-07-16  5:44     ` Javier Martinez Canillas
  0 siblings, 1 reply; 9+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-16  0:45 UTC (permalink / raw)
  To: linux-arm-kernel

On 16.07.2015 01:32, Javier Martinez Canillas wrote:
> The Maxim max77802 Power Management IC has besides other devices, a set of
> regulators. Commit f3caa529c6f5 ("ARM: multi_v7_defconfig: Enable max77802
> regulator, rtc and clock drivers") was supposed to enable the config option
> for the regulator driver as a module but the final version that landed did
> not include this. So this patch enables the needed Kconfig option.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

Please describe why do you want to enable it (IOW who will benefit from
enabling it?). This symbol was removed by Kukjin from your commit:
	[kgene at kernel.org: removing useless REGULATOR_MAX77802 config]
so justification would be welcomed.

Beside the commit description I agree with the patch.

Best regards,
Krzysztof

> ---
> 
>  arch/arm/configs/multi_v7_defconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> index 4b93761d58d2..b07493997993 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -402,6 +402,7 @@ CONFIG_REGULATOR_MAX14577=m
>  CONFIG_REGULATOR_MAX8907=y
>  CONFIG_REGULATOR_MAX8973=y
>  CONFIG_REGULATOR_MAX77686=y
> +CONFIG_REGULATOR_MAX77802=m
>  CONFIG_REGULATOR_MAX77693=m
>  CONFIG_REGULATOR_PALMAS=y
>  CONFIG_REGULATOR_S2MPS11=y
> 

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

* [PATCH 3/3] ARM: exynos_defconfig: Enable NTC Thermistors support
  2015-07-15 16:32 ` [PATCH 3/3] ARM: exynos_defconfig: " Javier Martinez Canillas
@ 2015-07-16  0:47   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-16  0:47 UTC (permalink / raw)
  To: linux-arm-kernel

On 16.07.2015 01:32, Javier Martinez Canillas wrote:
> The Exynos5420 Peach Pit and Exynos5800 Peach Pi Chromebooks have
> IIO based ADC thermistors. Enable built-in support for its driver.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
>  arch/arm/configs/exynos_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

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

* [PATCH 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support
  2015-07-15 16:32 ` [PATCH 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support Javier Martinez Canillas
@ 2015-07-16  0:48   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-16  0:48 UTC (permalink / raw)
  To: linux-arm-kernel

On 16.07.2015 01:32, Javier Martinez Canillas wrote:
> The Exynos5420 Peach Pit and Exynos5800 Peach Pi Chromebooks have
> IIO based ADC thermistors. Enable module support for its driver
> and also for the needed Exynos ADC driver.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> ---
> 
>  arch/arm/configs/multi_v7_defconfig | 2 ++
>  1 file changed, 2 insertions(+)

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

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

* [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator
  2015-07-16  0:45   ` Krzysztof Kozlowski
@ 2015-07-16  5:44     ` Javier Martinez Canillas
  2015-07-16  6:16       ` Krzysztof Kozlowski
  0 siblings, 1 reply; 9+ messages in thread
From: Javier Martinez Canillas @ 2015-07-16  5:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Krzysztof,

Thanks for the feedback.

On 07/16/2015 02:45 AM, Krzysztof Kozlowski wrote:
> On 16.07.2015 01:32, Javier Martinez Canillas wrote:
>> The Maxim max77802 Power Management IC has besides other devices, a set of
>> regulators. Commit f3caa529c6f5 ("ARM: multi_v7_defconfig: Enable max77802
>> regulator, rtc and clock drivers") was supposed to enable the config option
>> for the regulator driver as a module but the final version that landed did
>> not include this. So this patch enables the needed Kconfig option.
>>
>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> Please describe why do you want to enable it (IOW who will benefit from
> enabling it?). This symbol was removed by Kukjin from your commit:
> 	[kgene at kernel.org: removing useless REGULATOR_MAX77802 config]
> so justification would be welcomed.
>

You are right, sorry for not making the commit message clear. This PMIC
is used by a couple of Exynos5 based boars such as the Peach Pit and Pi
Chromebooks. I expect it to be found in other designs too just like the
max77686 is found in many Exynos5 based boards.

I'll add this to the commit message on v2.
 
> Beside the commit description I agree with the patch.
>

Does this mean I can add your Reviewed-by to this patch as well?

> Best regards,
> Krzysztof
> 

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

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

* [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator
  2015-07-16  5:44     ` Javier Martinez Canillas
@ 2015-07-16  6:16       ` Krzysztof Kozlowski
  0 siblings, 0 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2015-07-16  6:16 UTC (permalink / raw)
  To: linux-arm-kernel

On 16.07.2015 14:44, Javier Martinez Canillas wrote:
> Hello Krzysztof,
> 
> Thanks for the feedback.
> 
> On 07/16/2015 02:45 AM, Krzysztof Kozlowski wrote:
>> On 16.07.2015 01:32, Javier Martinez Canillas wrote:
>>> The Maxim max77802 Power Management IC has besides other devices, a set of
>>> regulators. Commit f3caa529c6f5 ("ARM: multi_v7_defconfig: Enable max77802
>>> regulator, rtc and clock drivers") was supposed to enable the config option
>>> for the regulator driver as a module but the final version that landed did
>>> not include this. So this patch enables the needed Kconfig option.
>>>
>>> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>>
>> Please describe why do you want to enable it (IOW who will benefit from
>> enabling it?). This symbol was removed by Kukjin from your commit:
>> 	[kgene at kernel.org: removing useless REGULATOR_MAX77802 config]
>> so justification would be welcomed.
>>
> 
> You are right, sorry for not making the commit message clear. This PMIC
> is used by a couple of Exynos5 based boars such as the Peach Pit and Pi
> Chromebooks. I expect it to be found in other designs too just like the
> max77686 is found in many Exynos5 based boards.
> 
> I'll add this to the commit message on v2.
>  
>> Beside the commit description I agree with the patch.
>>
> 
> Does this mean I can add your Reviewed-by to this patch as well?

With extended description (something similar to explanation in your
other patches) yes, go ahead:

Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>

Best regards,
Krzysztof

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

end of thread, other threads:[~2015-07-16  6:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-15 16:32 [PATCH 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
2015-07-15 16:32 ` [PATCH 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
2015-07-16  0:45   ` Krzysztof Kozlowski
2015-07-16  5:44     ` Javier Martinez Canillas
2015-07-16  6:16       ` Krzysztof Kozlowski
2015-07-15 16:32 ` [PATCH 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support Javier Martinez Canillas
2015-07-16  0:48   ` Krzysztof Kozlowski
2015-07-15 16:32 ` [PATCH 3/3] ARM: exynos_defconfig: " Javier Martinez Canillas
2015-07-16  0:47   ` Krzysztof Kozlowski

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