2015-05-18 01:47:39

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 0/4] ARM: multi_v7_defconfig: Stuff for Exynos

Dear Kukjin,


Changes since v1:
=================
1. Select drivers as modules, whenever possible. Suggested by Javier.
2. Patch 2: The I2C_GPIO is already enabled as module.


Description
===========
The patchset enables various config options on multi_v7 config
for Exynos boards.

Arnd suggested [0] that this can go through your tree.

Patchset is rebased on next-20150515 and Javier's patchset [1]
(to avoid conflicts around regulators and clocks).

Please let me know if this should be rebased on other commit.

[0] http://www.spinics.net/lists/kernel/msg1991518.html
[1] http://www.spinics.net/lists/kernel/msg1990767.html


Best regards,
Krzysztof

Krzysztof Kozlowski (4):
ARM: multi_v7_defconfig: Enable CPU idle for Exynos
ARM: multi_v7_defconfig: Enable PMIC and MUIC drivers for Exynos
boards
ARM: multi_v7_defconfig: Enable TMU for Exynos
ARM: multi_v7_defconfig: Enable OHCI on Exynos

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

--
1.9.1


2015-05-18 01:47:50

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 1/4] ARM: multi_v7_defconfig: Enable CPU idle for Exynos

Current Exynos CPU idle driver supports entering AFTR (Arm Off, Top
Running) mode on Exynos3250, Exynos4210 (coupled), Exynos4x12 and
Exynos5250. Enable it in default configuration to reduce energy
consumption.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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 76cbb81cbaa3..d524d2e9633c 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -117,6 +117,7 @@ CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
CONFIG_CPU_IDLE=y
+CONFIG_ARM_EXYNOS_CPUIDLE=y
CONFIG_NEON=y
CONFIG_KERNEL_MODE_NEON=y
CONFIG_ARM_ZYNQ_CPUIDLE=y
--
1.9.1

2015-05-18 01:47:52

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 2/4] ARM: multi_v7_defconfig: Enable PMIC and MUIC drivers for Exynos boards

Enable drivers for PMICs and MUICs present on Exynos-based devices:
- max14577: charger, fuel gauge (max17040), regulator,
used on: Gear 1, Gear 2,
- max77693: charger, fuel gauge (max17042),
used on: Trats2,
- s5m/s2mps: RTC, clock,
used on: Arndale, Arndale Octa, Gear 1, Gear 2

This allows full usage of charging stack on these devices along with RTC
and 32 kHz clocks.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
arch/arm/configs/multi_v7_defconfig | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index d524d2e9633c..f09ae2089284 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -328,6 +328,10 @@ CONFIG_GPIO_SYSCON=y
CONFIG_GPIO_TPS6586X=y
CONFIG_GPIO_TPS65910=y
CONFIG_BATTERY_SBS=y
+CONFIG_CHARGER_MAX14577=m
+CONFIG_BATTERY_MAX17040=m
+CONFIG_BATTERY_MAX17042=m
+CONFIG_CHARGER_MAX77693=m
CONFIG_CHARGER_TPS65090=y
CONFIG_POWER_RESET_AS3722=y
CONFIG_POWER_RESET_GPIO=y
@@ -357,8 +361,10 @@ CONFIG_MFD_AXP20X=y
CONFIG_MFD_CROS_EC=y
CONFIG_MFD_CROS_EC_I2C=m
CONFIG_MFD_CROS_EC_SPI=y
+CONFIG_MFD_MAX14577=y
CONFIG_MFD_MAX77686=y
CONFIG_MFD_MAX8907=y
+CONFIG_MFD_MAX77693=y
CONFIG_MFD_SEC_CORE=y
CONFIG_MFD_STMPE=y
CONFIG_MFD_PALMAS=y
@@ -374,9 +380,11 @@ CONFIG_REGULATOR_DA9210=y
CONFIG_REGULATOR_GPIO=y
CONFIG_MFD_SYSCON=y
CONFIG_POWER_RESET_SYSCON=y
+CONFIG_REGULATOR_MAX14577=m
CONFIG_REGULATOR_MAX8907=y
CONFIG_REGULATOR_MAX8973=y
CONFIG_REGULATOR_MAX77686=y
+CONFIG_REGULATOR_MAX77693=m
CONFIG_REGULATOR_MAX77802=m
CONFIG_REGULATOR_PALMAS=y
CONFIG_REGULATOR_S2MPS11=y
@@ -529,6 +537,7 @@ CONFIG_RTC_DRV_SUN6I=y
CONFIG_RTC_DRV_SUNXI=y
CONFIG_RTC_DRV_MV=y
CONFIG_RTC_DRV_TEGRA=y
+CONFIG_RTC_DRV_S5M=m
CONFIG_DMADEVICES=y
CONFIG_DW_DMAC=y
CONFIG_MV_XOR=y
@@ -558,6 +567,7 @@ CONFIG_QCOM_GSBI=y
CONFIG_COMMON_CLK_QCOM=y
CONFIG_COMMON_CLK_MAX77686=y
CONFIG_COMMON_CLK_MAX77802=m
+CONFIG_COMMON_CLK_S2MPS11=m
CONFIG_APQ_MMCC_8084=y
CONFIG_MSM_GCC_8660=y
CONFIG_MSM_MMCC_8960=y
--
1.9.1

2015-05-18 01:47:59

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 3/4] ARM: multi_v7_defconfig: Enable TMU for Exynos

From: Krzysztof Kozlowski <[email protected]>

Enable support for Thermal Monitoring Unit present on Exynos SoCs. This
allows detection of overheat and handling this gracefully.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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 f09ae2089284..8fa7171b12f3 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -342,6 +342,7 @@ CONFIG_SENSORS_LM90=y
CONFIG_SENSORS_LM95245=y
CONFIG_THERMAL=y
CONFIG_CPU_THERMAL=y
+CONFIG_EXYNOS_THERMAL=m
CONFIG_RCAR_THERMAL=y
CONFIG_ARMADA_THERMAL=y
CONFIG_DAVINCI_WATCHDOG
--
1.9.1

2015-05-18 01:48:05

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH v2 4/4] ARM: multi_v7_defconfig: Enable OHCI on Exynos

From: Krzysztof Kozlowski <[email protected]>

Enable the USB OHCI driver for Exynos SoCs: S5PV210, Exynos4 family,
Exynos5250, Exynos5440 and Exynos542x/5800 family.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
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 8fa7171b12f3..fe88429b9279 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -455,6 +455,7 @@ CONFIG_USB_ISP1760_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_STI=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
+CONFIG_USB_OHCI_EXYNOS=m
CONFIG_USB_R8A66597_HCD=m
CONFIG_USB_RENESAS_USBHS=m
CONFIG_USB_STORAGE=y
--
1.9.1

2015-05-18 07:03:52

by Javier Martinez Canillas

[permalink] [raw]
Subject: Re: [PATCH v2 0/4] ARM: multi_v7_defconfig: Stuff for Exynos

Hello Krzysztof,

On Mon, May 18, 2015 at 3:47 AM, Krzysztof Kozlowski
<[email protected]> wrote:
> Dear Kukjin,
>
>
> Changes since v1:
> =================
> 1. Select drivers as modules, whenever possible. Suggested by Javier.
> 2. Patch 2: The I2C_GPIO is already enabled as module.
>
>
> Description
> ===========
> The patchset enables various config options on multi_v7 config
> for Exynos boards.
>
> Arnd suggested [0] that this can go through your tree.
>
> Patchset is rebased on next-20150515 and Javier's patchset [1]
> (to avoid conflicts around regulators and clocks).
>
> Please let me know if this should be rebased on other commit.
>
> [0] http://www.spinics.net/lists/kernel/msg1991518.html
> [1] http://www.spinics.net/lists/kernel/msg1990767.html
>
>
> Best regards,
> Krzysztof
>
> Krzysztof Kozlowski (4):
> ARM: multi_v7_defconfig: Enable CPU idle for Exynos
> ARM: multi_v7_defconfig: Enable PMIC and MUIC drivers for Exynos
> boards
> ARM: multi_v7_defconfig: Enable TMU for Exynos
> ARM: multi_v7_defconfig: Enable OHCI on Exynos
>
> arch/arm/configs/multi_v7_defconfig | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>

For all the series:

Reviewed-by: Javier Martinez Canillas <[email protected]>

Best regards,
Javier

2015-05-19 05:57:59

by Kukjin Kim

[permalink] [raw]
Subject: Re: [PATCH v2 3/4] ARM: multi_v7_defconfig: Enable TMU for Exynos

On 05/18/15 10:47, Krzysztof Kozlowski wrote:
> From: Krzysztof Kozlowski <[email protected]>
>
> Enable support for Thermal Monitoring Unit present on Exynos SoCs. This
> allows detection of overheat and handling this gracefully.
>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Krzysztof, you want to use gmail account on this, you used samsung
accoung on 1st and 2nd patches though?

- Kukjin

> ---
> 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 f09ae2089284..8fa7171b12f3 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -342,6 +342,7 @@ CONFIG_SENSORS_LM90=y
> CONFIG_SENSORS_LM95245=y
> CONFIG_THERMAL=y
> CONFIG_CPU_THERMAL=y
> +CONFIG_EXYNOS_THERMAL=m
> CONFIG_RCAR_THERMAL=y
> CONFIG_ARMADA_THERMAL=y
> CONFIG_DAVINCI_WATCHDOG

2015-05-19 06:01:26

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH v2 3/4] ARM: multi_v7_defconfig: Enable TMU for Exynos

2015-05-19 14:57 GMT+09:00 Kukjin Kim <[email protected]>:
> On 05/18/15 10:47, Krzysztof Kozlowski wrote:
>> From: Krzysztof Kozlowski <[email protected]>
>>
>> Enable support for Thermal Monitoring Unit present on Exynos SoCs. This
>> allows detection of overheat and handling this gracefully.
>>
>> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>
> Krzysztof, you want to use gmail account on this, you used samsung
> accoung on 1st and 2nd patches though?

Yes, that is correct. I know that it seems mixed up and sorry for the confusion.

I use the gmail account when I am developing at home to distinguish my
personal and company's rights. So in one patchset I got some old
patches done in company (@samsung.com) and newer one prepared during
my free time.

Best regards,
Krzysztof

2015-05-19 06:14:04

by Kukjin Kim

[permalink] [raw]
Subject: Re: [PATCH v2 3/4] ARM: multi_v7_defconfig: Enable TMU for Exynos

On 05/19/15 15:01, Krzysztof Kozlowski wrote:
> 2015-05-19 14:57 GMT+09:00 Kukjin Kim <[email protected]>:
>> On 05/18/15 10:47, Krzysztof Kozlowski wrote:
>>> From: Krzysztof Kozlowski <[email protected]>
>>>
>>> Enable support for Thermal Monitoring Unit present on Exynos SoCs. This
>>> allows detection of overheat and handling this gracefully.
>>>
>>> Signed-off-by: Krzysztof Kozlowski <[email protected]>
>>
>> Krzysztof, you want to use gmail account on this, you used samsung
>> accoung on 1st and 2nd patches though?
>
> Yes, that is correct. I know that it seems mixed up and sorry for the confusion.
>
OK, I see.

> I use the gmail account when I am developing at home to distinguish my
> personal and company's rights. So in one patchset I got some old
> patches done in company (@samsung.com) and newer one prepared during
> my free time.
>
I've kept your origin email address. If any problems, please let me know.

Thanks,
Kukjin

2015-05-19 06:14:26

by Kukjin Kim

[permalink] [raw]
Subject: Re: [PATCH v2 0/4] ARM: multi_v7_defconfig: Stuff for Exynos

On 05/18/15 16:03, Javier Martinez Canillas wrote:
> Hello Krzysztof,
>
> On Mon, May 18, 2015 at 3:47 AM, Krzysztof Kozlowski
> <[email protected]> wrote:
>> Dear Kukjin,
>>
>>
>> Changes since v1:
>> =================
>> 1. Select drivers as modules, whenever possible. Suggested by Javier.
>> 2. Patch 2: The I2C_GPIO is already enabled as module.
>>
>>
>> Description
>> ===========
>> The patchset enables various config options on multi_v7 config
>> for Exynos boards.
>>
>> Arnd suggested [0] that this can go through your tree.
>>
>> Patchset is rebased on next-20150515 and Javier's patchset [1]
>> (to avoid conflicts around regulators and clocks).
>>
>> Please let me know if this should be rebased on other commit.
>>
>> [0] http://www.spinics.net/lists/kernel/msg1991518.html
>> [1] http://www.spinics.net/lists/kernel/msg1990767.html
>>
>>
>> Best regards,
>> Krzysztof
>>
>> Krzysztof Kozlowski (4):
>> ARM: multi_v7_defconfig: Enable CPU idle for Exynos
>> ARM: multi_v7_defconfig: Enable PMIC and MUIC drivers for Exynos
>> boards
>> ARM: multi_v7_defconfig: Enable TMU for Exynos
>> ARM: multi_v7_defconfig: Enable OHCI on Exynos
>>
>> arch/arm/configs/multi_v7_defconfig | 13 +++++++++++++
>> 1 file changed, 13 insertions(+)
>>
>
> For all the series:
>
> Reviewed-by: Javier Martinez Canillas <[email protected]>
>
Applied, thanks.

- Kukjin