[PATCH v3 0/2] MVME: Adopt standard RTC driver

Finn Thain posted 2 patches 1 month, 2 weeks ago
There is a newer version of this series
arch/m68k/configs/multi_defconfig   |   1 +
arch/m68k/configs/mvme147_defconfig |   1 +
arch/m68k/configs/mvme16x_defconfig |   1 +
arch/m68k/include/asm/mvme147hw.h   |  19 +---
arch/m68k/include/asm/mvme16xhw.h   |  18 +--
arch/m68k/mvme147/config.c          |  55 ++++------
arch/m68k/mvme16x/Makefile          |   2 +-
arch/m68k/mvme16x/config.c          |  57 ++++------
arch/m68k/mvme16x/rtc.c             | 165 ----------------------------
arch/sparc/kernel/time_32.c         |   1 +
arch/sparc/kernel/time_64.c         |   1 +
drivers/rtc/rtc-m48t59.c            |  26 +----
include/linux/rtc/m48t59.h          |   3 +
13 files changed, 63 insertions(+), 287 deletions(-)
delete mode 100644 arch/m68k/mvme16x/rtc.c
[PATCH v3 0/2] MVME: Adopt standard RTC driver
Posted by Finn Thain 1 month, 2 weeks ago
This series removes some duplicated RTC driver code.
First rtc-m48t59 is tweaked to bring it into equivalence with the RTC
drivers in arch/m68k/mvme*. Then platform devices are added for the
former driver and the latter drivers are removed.

---
Changed since v1:
 - Instead of adding ifdefs to the portable driver, store the year offset
   in struct m48t59_plat_data.

Changed since v2:
 - Use an int for the year offset in struct m48t59_plat_data.


Finn Thain (2):
  rtc: m48t59: Use platform_data struct for year offset value
  m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver

 arch/m68k/configs/multi_defconfig   |   1 +
 arch/m68k/configs/mvme147_defconfig |   1 +
 arch/m68k/configs/mvme16x_defconfig |   1 +
 arch/m68k/include/asm/mvme147hw.h   |  19 +---
 arch/m68k/include/asm/mvme16xhw.h   |  18 +--
 arch/m68k/mvme147/config.c          |  55 ++++------
 arch/m68k/mvme16x/Makefile          |   2 +-
 arch/m68k/mvme16x/config.c          |  57 ++++------
 arch/m68k/mvme16x/rtc.c             | 165 ----------------------------
 arch/sparc/kernel/time_32.c         |   1 +
 arch/sparc/kernel/time_64.c         |   1 +
 drivers/rtc/rtc-m48t59.c            |  26 +----
 include/linux/rtc/m48t59.h          |   3 +
 13 files changed, 63 insertions(+), 287 deletions(-)
 delete mode 100644 arch/m68k/mvme16x/rtc.c

-- 
2.39.5
Re: [PATCH v3 0/2] MVME: Adopt standard RTC driver
Posted by Finn Thain 3 weeks ago
Hi sparc maintainers

These two patches have now been reviewed by Geert. If you would be so kind 
as to review the sparc changes, I will ask the RTC maintainer to consider 
merging this series.

Regards
Finn

On Tue, 8 Oct 2024, Finn Thain wrote:

> This series removes some duplicated RTC driver code.
> First rtc-m48t59 is tweaked to bring it into equivalence with the RTC
> drivers in arch/m68k/mvme*. Then platform devices are added for the
> former driver and the latter drivers are removed.
> 
> ---
> Changed since v1:
>  - Instead of adding ifdefs to the portable driver, store the year offset
>    in struct m48t59_plat_data.
> 
> Changed since v2:
>  - Use an int for the year offset in struct m48t59_plat_data.
> 
> 
> Finn Thain (2):
>   rtc: m48t59: Use platform_data struct for year offset value
>   m68k: mvme147, mvme16x: Adopt rtc-m48t59 platform driver
> 
>  arch/m68k/configs/multi_defconfig   |   1 +
>  arch/m68k/configs/mvme147_defconfig |   1 +
>  arch/m68k/configs/mvme16x_defconfig |   1 +
>  arch/m68k/include/asm/mvme147hw.h   |  19 +---
>  arch/m68k/include/asm/mvme16xhw.h   |  18 +--
>  arch/m68k/mvme147/config.c          |  55 ++++------
>  arch/m68k/mvme16x/Makefile          |   2 +-
>  arch/m68k/mvme16x/config.c          |  57 ++++------
>  arch/m68k/mvme16x/rtc.c             | 165 ----------------------------
>  arch/sparc/kernel/time_32.c         |   1 +
>  arch/sparc/kernel/time_64.c         |   1 +
>  drivers/rtc/rtc-m48t59.c            |  26 +----
>  include/linux/rtc/m48t59.h          |   3 +
>  13 files changed, 63 insertions(+), 287 deletions(-)
>  delete mode 100644 arch/m68k/mvme16x/rtc.c
> 
>