Message ID | 1461244361-45686-8-git-send-email-w.egorov@phytec.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
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@phytec.de> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> > --- > 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 >
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.
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@phytec.de> --- drivers/rtc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)