* [PATCH v2 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers
@ 2015-07-16 6:39 Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2015-07-16 6:39 UTC (permalink / raw)
To: Kukjin Kim
Cc: linux-samsung-soc, Kevin Hilman, Arnd Bergmann, linux-kernel,
Krzysztof Kozlowski, Olof Johansson, linux-arm-kernel,
Javier Martinez Canillas
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.
This is the second version that address issues pointed out by Krzysztof
and adds his Reviewed-by tag.
The series is composed of the following patches:
Changes in v2:
- Better explanation why the max77802 regulator config option is needed.
- Add Krzysztof Kozlowski Reviewed-by tag in patch #1
- Add Krzysztof Kozlowski Reviewed-by tag in patch #2.
- Add Krzysztof Kozlowski Reviewed-by tag in patch #3.
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] 4+ messages in thread* [PATCH v2 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator
2015-07-16 6:39 [PATCH v2 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
@ 2015-07-16 6:39 ` Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 3/3] ARM: exynos_defconfig: " Javier Martinez Canillas
2 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2015-07-16 6:39 UTC (permalink / raw)
To: Kukjin Kim
Cc: linux-samsung-soc, Kevin Hilman, Arnd Bergmann, linux-kernel,
Krzysztof Kozlowski, Olof Johansson, linux-arm-kernel,
Javier Martinez Canillas
The Exynos5420 based Peach Pit and Exynos5800 based Peach Pi Chromebooks
use the Maxim max77802 Power Management IC (PMIC). This PMIC has besides
other devices, a set of regulators that can be controller over I2C.
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. The commit was modified and the REGULATOR_MAX77802 removed
since it was thought to be useless.
Unfortunately that's not the case for the mentioned reason above so this
patch enables the needed Kconfig option.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
Changes in v2:
- Better explanation why the max77802 regulator config option is needed.
- Add Krzysztof Kozlowski Reviewed-by tag in patch #1
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 [flat|nested] 4+ messages in thread* [PATCH v2 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support
2015-07-16 6:39 [PATCH v2 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
@ 2015-07-16 6:39 ` Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 3/3] ARM: exynos_defconfig: " Javier Martinez Canillas
2 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2015-07-16 6:39 UTC (permalink / raw)
To: Kukjin Kim
Cc: linux-samsung-soc, Kevin Hilman, Arnd Bergmann, linux-kernel,
Krzysztof Kozlowski, Olof Johansson, linux-arm-kernel,
Javier Martinez Canillas
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>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
Changes in v2:
- Add Krzysztof Kozlowski Reviewed-by tag in patch #2.
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 [flat|nested] 4+ messages in thread
* [PATCH v2 3/3] ARM: exynos_defconfig: Enable NTC Thermistors support
2015-07-16 6:39 [PATCH v2 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support Javier Martinez Canillas
@ 2015-07-16 6:39 ` Javier Martinez Canillas
2 siblings, 0 replies; 4+ messages in thread
From: Javier Martinez Canillas @ 2015-07-16 6:39 UTC (permalink / raw)
To: Kukjin Kim
Cc: linux-samsung-soc, Kevin Hilman, Arnd Bergmann, linux-kernel,
Krzysztof Kozlowski, Olof Johansson, linux-arm-kernel,
Javier Martinez Canillas
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>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
Changes in v2:
- Add Krzysztof Kozlowski Reviewed-by tag in patch #3.
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 [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-16 6:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-16 6:39 [PATCH v2 0/3] ARM: Enable NTC Thermistors and max77802 regulator drivers Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 1/3] ARM: multi_v7_defconfig: Enable max77802 regulator Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 2/3] ARM: multi_v7_defconfig: Enable NTC Thermistors support Javier Martinez Canillas
2015-07-16 6:39 ` [PATCH v2 3/3] ARM: exynos_defconfig: " Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®