Message ID | 1548696599-53639-4-git-send-email-zhouyanjie@zoho.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [1/3] RTC: Ingenic: Add support for the X1000. | expand |
On 29/01/2019 01:29:59+0800, Zhou Yanjie wrote: > Ingenic had changed their product code name. > Latest SoCs had divided to several series such as > T30/M200/X1000 and no longer called JZ47xx. > > Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com> > --- > drivers/rtc/Kconfig | 4 ++-- > drivers/rtc/rtc-jz4740.c | 15 +++------------ > 2 files changed, 5 insertions(+), 14 deletions(-) > > diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig > index 225b0b8..8b41853 100644 > --- a/drivers/rtc/Kconfig > +++ b/drivers/rtc/Kconfig > @@ -1576,10 +1576,10 @@ config RTC_DRV_MPC5121 > will be called rtc-mpc5121. > > config RTC_DRV_JZ4740 > - tristate "Ingenic JZ4740 SoC" > + tristate "Ingenic XBurst SoC" > depends on MIPS || COMPILE_TEST > help > - If you say yes here you get support for the Ingenic JZ47xx SoCs RTC > + If you say yes here you get support for the Ingenic XBurst SoCs RTC > controllers. > > This driver can also be built as a module. If so, the module > diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c > index 0c7ae65..a262632 100644 > --- a/drivers/rtc/rtc-jz4740.c > +++ b/drivers/rtc/rtc-jz4740.c > @@ -1,17 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> > * Copyright (C) 2010, Paul Cercueil <paul@crapouillou.net> > - * JZ4740 SoC RTC driver > - * > - * This program is free software; you can redistribute it and/or modify it > - * under the terms of the GNU General Public License as published by the > - * Free Software Foundation; either version 2 of the License, or (at your > - * option) any later version. > - * > - * You should have received a copy of the GNU General Public License along > - * with this program; if not, write to the Free Software Foundation, Inc., > - * 675 Mass Ave, Cambridge, MA 02139, USA. > - * This change is unrelated. > + * Ingenic XBurst platform RTC support > */ > > #include <linux/clk.h> > @@ -450,5 +441,5 @@ module_platform_driver(jz4740_rtc_driver); > > MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); > MODULE_LICENSE("GPL"); > -MODULE_DESCRIPTION("RTC driver for the JZ4740 SoC\n"); > +MODULE_DESCRIPTION("RTC driver for Ingenic XBurst platform\n"); > MODULE_ALIAS("platform:jz4740-rtc"); > -- > 2.7.4 > >
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 225b0b8..8b41853 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1576,10 +1576,10 @@ config RTC_DRV_MPC5121 will be called rtc-mpc5121. config RTC_DRV_JZ4740 - tristate "Ingenic JZ4740 SoC" + tristate "Ingenic XBurst SoC" depends on MIPS || COMPILE_TEST help - If you say yes here you get support for the Ingenic JZ47xx SoCs RTC + If you say yes here you get support for the Ingenic XBurst SoCs RTC controllers. This driver can also be built as a module. If so, the module diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 0c7ae65..a262632 100644 --- a/drivers/rtc/rtc-jz4740.c +++ b/drivers/rtc/rtc-jz4740.c @@ -1,17 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> * Copyright (C) 2010, Paul Cercueil <paul@crapouillou.net> - * JZ4740 SoC RTC driver - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. - * + * Ingenic XBurst platform RTC support */ #include <linux/clk.h> @@ -450,5 +441,5 @@ module_platform_driver(jz4740_rtc_driver); MODULE_AUTHOR("Lars-Peter Clausen <lars@metafoo.de>"); MODULE_LICENSE("GPL"); -MODULE_DESCRIPTION("RTC driver for the JZ4740 SoC\n"); +MODULE_DESCRIPTION("RTC driver for Ingenic XBurst platform\n"); MODULE_ALIAS("platform:jz4740-rtc");
Ingenic had changed their product code name. Latest SoCs had divided to several series such as T30/M200/X1000 and no longer called JZ47xx. Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com> --- drivers/rtc/Kconfig | 4 ++-- drivers/rtc/rtc-jz4740.c | 15 +++------------ 2 files changed, 5 insertions(+), 14 deletions(-)