On 13/11/2024 17:53:50+0900, Nobuhiro Iwamatsu wrote:
> RTC Haoyu HYM8563 has the same hardware structure as RTC PCF8563, and
> operates with the same device driver. Therefore, since we do not need
> two drivers with the same function, this merges HYM8563 into PCF8563.
>
I've seen that but last I checked both drivers are not functionally
identical so this is not that simple.
> This series was tested with PCF8563 and HYM8563 on khadas vim3 board.
>
> Nobuhiro Iwamatsu (5):
> ARM: multi_v7_defconfig: Add RTC PCF8563 support
> rtc: pcf8563: Add support Haoyu HYM8563
> dt-bindings: rtc: pcf8563: Add Haoyu HYM8563 compatibility
> rtc: Remove HYM8563 RTC driver
> dt-bindings: rtc: hym8563: Remove hym8563 binding
>
> .../bindings/rtc/haoyu,hym8563.yaml | 56 --
> .../devicetree/bindings/rtc/nxp,pcf8563.yaml | 18 +-
> arch/arm/configs/multi_v7_defconfig | 2 +-
> arch/arm64/configs/defconfig | 1 -
> drivers/rtc/Kconfig | 11 -
> drivers/rtc/Makefile | 1 -
> drivers/rtc/rtc-hym8563.c | 587 ------------------
> drivers/rtc/rtc-pcf8563.c | 2 +
> 8 files changed, 17 insertions(+), 661 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/rtc/haoyu,hym8563.yaml
> delete mode 100644 drivers/rtc/rtc-hym8563.c
>
> --
> 2.45.2
>
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com