linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
@ 2014-10-27  9:17 Javier Martinez Canillas
  2014-10-28 11:06 ` Kukjin Kim
  0 siblings, 1 reply; 5+ messages in thread
From: Javier Martinez Canillas @ 2014-10-27  9:17 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: Doug Anderson, Kevin Hilman, linux-samsung-soc, linux-arm-kernel,
	linux-kernel, Javier Martinez Canillas

Commit 6e80e3d87549 ("ARM: exynos_defconfig: Enable MAX77802")
enabled support for the max77802 regulators but the PMIC also
has a Real-Time-Clock (RTC) and 2-channel 32kHz clock outputs.

Enable the kernel config options to have the drivers for these
devices built-in since they are present in many Exynos boards.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Acked-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
---

This patch supersedes [0] since commit "ARM: exynos_defconfig: savedefconfig"
is not present in linux-next anymore which disabled among other options, the
max77802 support.

However, support for the max77802 rtc and clocks were not enabled on exynos
defconfig so $subject is still needed.

Kevin, I carried your tags from [0] since $subject enables the options you
needed to get RTC wakeup from suspend working on exynos5800-peach-pi. Please
let me know if they no longer applies.

Best regards,
Javier

[0]: https://lkml.org/lkml/2014/10/9/413

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

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 72058b8..e21ef83 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -142,11 +142,13 @@ CONFIG_MMC_DW_IDMAC=y
 CONFIG_MMC_DW_EXYNOS=y
 CONFIG_RTC_CLASS=y
 CONFIG_RTC_DRV_MAX77686=y
+CONFIG_RTC_DRV_MAX77802=y
 CONFIG_RTC_DRV_S5M=y
 CONFIG_RTC_DRV_S3C=y
 CONFIG_DMADEVICES=y
 CONFIG_PL330_DMA=y
 CONFIG_COMMON_CLK_MAX77686=y
+CONFIG_COMMON_CLK_MAX77802=y
 CONFIG_COMMON_CLK_S2MPS11=y
 CONFIG_EXYNOS_IOMMU=y
 CONFIG_IIO=y
-- 
2.1.0


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

* RE: [PATCH 1/1] ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
  2014-10-27  9:17 [PATCH 1/1] ARM: exynos_defconfig: Enable max77802 rtc and clock drivers Javier Martinez Canillas
@ 2014-10-28 11:06 ` Kukjin Kim
  2014-11-13  8:45   ` Javier Martinez Canillas
  0 siblings, 1 reply; 5+ messages in thread
From: Kukjin Kim @ 2014-10-28 11:06 UTC (permalink / raw)
  To: 'Javier Martinez Canillas'
  Cc: 'Doug Anderson', 'Kevin Hilman',
	linux-samsung-soc, linux-arm-kernel, linux-kernel

Javier Martinez Canillas wrote:
> 
Hi,

> Commit 6e80e3d87549 ("ARM: exynos_defconfig: Enable MAX77802")
> enabled support for the max77802 regulators but the PMIC also
> has a Real-Time-Clock (RTC) and 2-channel 32kHz clock outputs.
> 
Yes, right.

> Enable the kernel config options to have the drivers for these
> devices built-in since they are present in many Exynos boards.
> 
> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
> Acked-by: Kevin Hilman <khilman@linaro.org>
> Tested-by: Kevin Hilman <khilman@linaro.org>
> ---
> 
> This patch supersedes [0] since commit "ARM: exynos_defconfig: savedefconfig"
> is not present in linux-next anymore which disabled among other options, the
> max77802 support.
> 
Yeah, I talked about savedefconfig with Bart and I decided to revert it at that
time.

> However, support for the max77802 rtc and clocks were not enabled on exynos
> defconfig so $subject is still needed.
> 
> Kevin, I carried your tags from [0] since $subject enables the options you
> needed to get RTC wakeup from suspend working on exynos5800-peach-pi. Please
> let me know if they no longer applies.
> 
> Best regards,
> Javier
> 
> [0]: https://lkml.org/lkml/2014/10/9/413
> 
>  arch/arm/configs/exynos_defconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
> index 72058b8..e21ef83 100644
> --- a/arch/arm/configs/exynos_defconfig
> +++ b/arch/arm/configs/exynos_defconfig
> @@ -142,11 +142,13 @@ CONFIG_MMC_DW_IDMAC=y
>  CONFIG_MMC_DW_EXYNOS=y
>  CONFIG_RTC_CLASS=y
>  CONFIG_RTC_DRV_MAX77686=y
> +CONFIG_RTC_DRV_MAX77802=y
>  CONFIG_RTC_DRV_S5M=y
>  CONFIG_RTC_DRV_S3C=y
>  CONFIG_DMADEVICES=y
>  CONFIG_PL330_DMA=y
>  CONFIG_COMMON_CLK_MAX77686=y
> +CONFIG_COMMON_CLK_MAX77802=y
>  CONFIG_COMMON_CLK_S2MPS11=y
>  CONFIG_EXYNOS_IOMMU=y
>  CONFIG_IIO=y
> --
> 2.1.0

I'll apply this, thanks.

- Kukjin


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

* Re: [PATCH 1/1] ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
  2014-10-28 11:06 ` Kukjin Kim
@ 2014-11-13  8:45   ` Javier Martinez Canillas
  2014-11-19  8:09     ` Kukjin Kim
  0 siblings, 1 reply; 5+ messages in thread
From: Javier Martinez Canillas @ 2014-11-13  8:45 UTC (permalink / raw)
  To: Kukjin Kim
  Cc: Javier Martinez Canillas, Doug Anderson, Kevin Hilman,
	linux-samsung-soc, linux-arm-kernel, Linux Kernel

Hello Kukjin,

On Tue, Oct 28, 2014 at 12:06 PM, Kukjin Kim <kgene@kernel.org> wrote:
> Javier Martinez Canillas wrote:
>> Commit 6e80e3d87549 ("ARM: exynos_defconfig: Enable MAX77802")
>> enabled support for the max77802 regulators but the PMIC also
>> has a Real-Time-Clock (RTC) and 2-channel 32kHz clock outputs.
>>
>
> I'll apply this, thanks.
>
> - Kukjin
>

You say that you will apply this patch but I can't find it in any of
your branches.

Best regards,
Javier

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

* Re: [PATCH 1/1] ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
  2014-11-13  8:45   ` Javier Martinez Canillas
@ 2014-11-19  8:09     ` Kukjin Kim
  2014-11-19 10:17       ` Javier Martinez Canillas
  0 siblings, 1 reply; 5+ messages in thread
From: Kukjin Kim @ 2014-11-19  8:09 UTC (permalink / raw)
  To: Javier Martinez Canillas
  Cc: Kukjin Kim, linux-samsung-soc, Linux Kernel, Doug Anderson,
	Kevin Hilman, Javier Martinez Canillas, linux-arm-kernel

On 11/13/14 17:45, Javier Martinez Canillas wrote:
> Hello Kukjin,
> 
Hi Javier,

> On Tue, Oct 28, 2014 at 12:06 PM, Kukjin Kim <kgene@kernel.org> wrote:
>> Javier Martinez Canillas wrote:
>>> Commit 6e80e3d87549 ("ARM: exynos_defconfig: Enable MAX77802")
>>> enabled support for the max77802 regulators but the PMIC also
>>> has a Real-Time-Clock (RTC) and 2-channel 32kHz clock outputs.
>>>
>>
>> I'll apply this, thanks.
>>
>> - Kukjin
>>
> 
> You say that you will apply this patch but I can't find it in any of
> your branches.
> 
Sorry for missing the patch in my tree. You can see it in a couple of
mins ;)

Thanks,
Kukjin

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

* Re: [PATCH 1/1] ARM: exynos_defconfig: Enable max77802 rtc and clock drivers
  2014-11-19  8:09     ` Kukjin Kim
@ 2014-11-19 10:17       ` Javier Martinez Canillas
  0 siblings, 0 replies; 5+ messages in thread
From: Javier Martinez Canillas @ 2014-11-19 10:17 UTC (permalink / raw)
  To: Kukjin Kim, Javier Martinez Canillas
  Cc: Kukjin Kim, linux-samsung-soc, Linux Kernel, Doug Anderson,
	Kevin Hilman, linux-arm-kernel

Hello Kukjin,

On 11/19/2014 09:09 AM, Kukjin Kim wrote:
>> You say that you will apply this patch but I can't find it in any of
>> your branches.
>> 
> Sorry for missing the patch in my tree. You can see it in a couple of
> mins ;)
> 

Great, thanks a lot!

Best regards,
Javier


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-27  9:17 [PATCH 1/1] ARM: exynos_defconfig: Enable max77802 rtc and clock drivers Javier Martinez Canillas
2014-10-28 11:06 ` Kukjin Kim
2014-11-13  8:45   ` Javier Martinez Canillas
2014-11-19  8:09     ` Kukjin Kim
2014-11-19 10:17       ` 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;
as well as URLs for NNTP newsgroup(s).