Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577138 > unrolled thread

[PATCH 1/4] ARM: sunxi_defconfig: Enable AC100 RTC driver

Started byRask Ingemann Lambertsen <rask@formelder.dk>
First post2017-02-08 23:10 +0100
Last post2017-02-10 09:50 +0100
Articles 8 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/4] ARM: sunxi_defconfig: Enable AC100 RTC driver Rask Ingemann Lambertsen <rask@formelder.dk> - 2017-02-08 23:10 +0100
    [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module  to built-in Rask Ingemann Lambertsen <rask@formelder.dk> - 2017-02-08 23:20 +0100
      Re: [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from  module to built-in Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-02-10 09:50 +0100
    [PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver Rask Ingemann Lambertsen <rask@formelder.dk> - 2017-02-08 23:50 +0100
      Re: [PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-02-10 10:00 +0100
    [PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver from  module to built-in Rask Ingemann Lambertsen <rask@formelder.dk> - 2017-02-08 23:50 +0100
      Re: [PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver  from module to built-in Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-02-10 09:50 +0100
    Re: [PATCH 1/4] ARM: sunxi_defconfig: Enable AC100 RTC driver Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-02-10 09:50 +0100

#1577138 — [PATCH 1/4] ARM: sunxi_defconfig: Enable AC100 RTC driver

FromRask Ingemann Lambertsen <rask@formelder.dk>
Date2017-02-08 23:10 +0100
Subject[PATCH 1/4] ARM: sunxi_defconfig: Enable AC100 RTC driver
Message-ID<t8IB3-5ZY-1@gated-at.bofh.it>
Enable the AC100 RTC driver so boards with it can keep track of time.

Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>
Acked-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/configs/sunxi_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig
index da92c25..5cd5dd70 100644
--- a/arch/arm/configs/sunxi_defconfig
+++ b/arch/arm/configs/sunxi_defconfig
@@ -87,6 +87,7 @@ CONFIG_THERMAL_OF=y
 CONFIG_CPU_THERMAL=y
 CONFIG_WATCHDOG=y
 CONFIG_SUNXI_WATCHDOG=y
+CONFIG_MFD_AC100=y
 CONFIG_MFD_AXP20X=y
 CONFIG_MFD_AXP20X_I2C=y
 CONFIG_MFD_AXP20X_RSB=y
@@ -129,6 +130,7 @@ CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
 CONFIG_RTC_CLASS=y
 # CONFIG_RTC_INTF_SYSFS is not set
 # CONFIG_RTC_INTF_PROC is not set
+CONFIG_RTC_DRV_AC100=y
 CONFIG_RTC_DRV_SUN6I=y
 CONFIG_RTC_DRV_SUNXI=y
 CONFIG_DMADEVICES=y
-- 
2.10.2

[toc] | [next] | [standalone]


#1577147 — [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

FromRask Ingemann Lambertsen <rask@formelder.dk>
Date2017-02-08 23:20 +0100
Subject[PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in
Message-ID<t8IKK-63Z-9@gated-at.bofh.it>
In reply to#1577138
The AXP20X regulator support is currently built as a module, which means
it's not available until the root fs has been mounted, but the boot loader
might not have enabled the required regulators, so build their drivers
into the kernel.

Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>
---
This patch will have no effect if patch 2/4 is not applied. It will also
not apply cleanly without patch 3/4.

 arch/arm/configs/multi_v7_defconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 5868186..cc071a0 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -482,8 +482,8 @@ CONFIG_MFD_ATMEL_HLCDC=m
 CONFIG_MFD_BCM590XX=y
 CONFIG_MFD_AC100=y
 CONFIG_MFD_AXP20X=y
-CONFIG_MFD_AXP20X_I2C=m
-CONFIG_MFD_AXP20X_RSB=m
+CONFIG_MFD_AXP20X_I2C=y
+CONFIG_MFD_AXP20X_RSB=y
 CONFIG_MFD_CROS_EC=m
 CONFIG_MFD_CROS_EC_I2C=m
 CONFIG_MFD_CROS_EC_SPI=m
@@ -512,7 +512,7 @@ CONFIG_REGULATOR_ACT8865=y
 CONFIG_REGULATOR_ANATOP=y
 CONFIG_REGULATOR_AS3711=y
 CONFIG_REGULATOR_AS3722=y
-CONFIG_REGULATOR_AXP20X=m
+CONFIG_REGULATOR_AXP20X=y
 CONFIG_REGULATOR_BCM590XX=y
 CONFIG_REGULATOR_DA9210=y
 CONFIG_REGULATOR_FAN53555=y
-- 
2.10.2

[toc] | [prev] | [next] | [standalone]


#1578287 — Re: [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2017-02-10 09:50 +0100
SubjectRe: [PATCH 4/4] ARM: multi_v7_defconfig: Switch AXP20x driver from module to built-in
Message-ID<t9f3Y-140-3@gated-at.bofh.it>
In reply to#1577147

[Multipart message — attachments visible in raw view] — view raw

On Wed, Feb 08, 2017 at 11:09:31PM +0100, Rask Ingemann Lambertsen wrote:
> The AXP20X regulator support is currently built as a module, which means
> it's not available until the root fs has been mounted, but the boot loader
> might not have enabled the required regulators, so build their drivers
> into the kernel.
> 
> Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>

Queued for 4.12.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [next] | [standalone]


#1577168 — [PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver

FromRask Ingemann Lambertsen <rask@formelder.dk>
Date2017-02-08 23:50 +0100
Subject[PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver
Message-ID<t8JdN-6eb-41@gated-at.bofh.it>
In reply to#1577138
Enable the AC100 RTC driver so boards with it can keep track of time.

Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>
---
This patch will have no effect if patch 2/4 is not applied.

 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 ec3a110..5868186 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -480,6 +480,7 @@ CONFIG_MFD_AS3722=y
 CONFIG_MFD_ATMEL_FLEXCOM=y
 CONFIG_MFD_ATMEL_HLCDC=m
 CONFIG_MFD_BCM590XX=y
+CONFIG_MFD_AC100=y
 CONFIG_MFD_AXP20X=y
 CONFIG_MFD_AXP20X_I2C=m
 CONFIG_MFD_AXP20X_RSB=m
@@ -749,6 +750,7 @@ CONFIG_EDAC_MM_EDAC=y
 CONFIG_EDAC_HIGHBANK_MC=y
 CONFIG_EDAC_HIGHBANK_L2=y
 CONFIG_RTC_CLASS=y
+CONFIG_RTC_DRV_AC100=y
 CONFIG_RTC_DRV_AS3722=y
 CONFIG_RTC_DRV_DS1307=y
 CONFIG_RTC_DRV_HYM8563=m
-- 
2.10.2

[toc] | [prev] | [next] | [standalone]


#1578305 — Re: [PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2017-02-10 10:00 +0100
SubjectRe: [PATCH 3/4] ARM: multi_v7_defconfig: Enable AC100 RTC driver
Message-ID<t9fdD-17p-1@gated-at.bofh.it>
In reply to#1577168

[Multipart message — attachments visible in raw view] — view raw

On Wed, Feb 08, 2017 at 11:08:45PM +0100, Rask Ingemann Lambertsen wrote:
> Enable the AC100 RTC driver so boards with it can keep track of time.
> 
> Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>

Queued for 4.12.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [next] | [standalone]


#1577171 — [PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver from module to built-in

FromRask Ingemann Lambertsen <rask@formelder.dk>
Date2017-02-08 23:50 +0100
Subject[PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver from module to built-in
Message-ID<t8JdN-6eb-35@gated-at.bofh.it>
In reply to#1577138
The sunxi RSB bus is used for peripherals like voltage regulators and
real-time clocks which should be available early in the boot process.
As a module, the driver will not be available until the root fs has been
mounted, so build the driver into the kernel.

Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>
---
 arch/arm/configs/multi_v7_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 028d2b7..ec3a110 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -193,7 +193,7 @@ CONFIG_DMA_CMA=y
 CONFIG_CMA_SIZE_MBYTES=64
 CONFIG_OMAP_OCP2SCP=y
 CONFIG_SIMPLE_PM_BUS=y
-CONFIG_SUNXI_RSB=m
+CONFIG_SUNXI_RSB=y
 CONFIG_MTD=y
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_BLOCK=y
-- 
2.10.2

[toc] | [prev] | [next] | [standalone]


#1578298 — Re: [PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver from module to built-in

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2017-02-10 09:50 +0100
SubjectRe: [PATCH 2/4] ARM: multi_v7_defconfig: Switch sunxi RSB driver from module to built-in
Message-ID<t9f3Z-140-29@gated-at.bofh.it>
In reply to#1577171

[Multipart message — attachments visible in raw view] — view raw

On Wed, Feb 08, 2017 at 11:08:00PM +0100, Rask Ingemann Lambertsen wrote:
> The sunxi RSB bus is used for peripherals like voltage regulators and
> real-time clocks which should be available early in the boot process.
> As a module, the driver will not be available until the root fs has been
> mounted, so build the driver into the kernel.
> 
> Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>

Queued for 4.12.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [next] | [standalone]


#1578299

FromMaxime Ripard <maxime.ripard@free-electrons.com>
Date2017-02-10 09:50 +0100
Message-ID<t9f3Z-140-37@gated-at.bofh.it>
In reply to#1577138

[Multipart message — attachments visible in raw view] — view raw

On Wed, Feb 08, 2017 at 11:07:15PM +0100, Rask Ingemann Lambertsen wrote:
> Enable the AC100 RTC driver so boards with it can keep track of time.
> 
> Signed-off-by: Rask Ingemann Lambertsen <rask@formelder.dk>
> Acked-by: Chen-Yu Tsai <wens@csie.org>

Queued for 4.12.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web