Re: [PATCH v2 7/7] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808

From: Alexandre Belloni
Date: Thu Apr 21 2016 - 10:35:24 EST


On 21/04/2016 at 15:12:41 +0200, Wadim Egorov wrote :
> The RK808 and RK818 PMICs are using a similar register map.
> We can reuse the rtc driver for the RK818 PMIC. So let's add
> the RK818 in the Kconfig description.
>
> Signed-off-by: Wadim Egorov <w.egorov@xxxxxxxxx>
Acked-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>

> ---
> drivers/rtc/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
> index 3e84315..acc2651 100644
> --- a/drivers/rtc/Kconfig
> +++ b/drivers/rtc/Kconfig
> @@ -324,11 +324,11 @@ config RTC_DRV_MAX77686
> will be called rtc-max77686.
>
> config RTC_DRV_RK808
> - tristate "Rockchip RK808 RTC"
> + tristate "Rockchip RK808/RK818 RTC"
> depends on MFD_RK808
> help
> If you say yes here you will get support for the
> - RTC of RK808 PMIC.
> + RTC of RK808 and RK818 PMIC.
>
> This driver can also be built as a module. If so, the module
> will be called rk808-rtc.
> --
> 1.9.1
>

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com