Skip to content

drivers/rtc: Rebase to upstream Linux v6.3-rc7

Gavin Shan requested to merge (removed):bug2183349 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2183349
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=52960618
Upstream Status: v6.3-rc7 except last RHEL-only patch for CONFIG_RTC_DRV_NCT3018Y
Tested: System boot looks good on various ARM64 machines including NXP IMX8

This rebases drivers/rtc upto upstream linux v6.3-rc7. Bug 2071847 didn't
do a full rebase for RHEL9.2. We have to rescan and pick all upstream
commits down to v5.15.rc1.

There are some commits picked in order avoid further conflicts.

19409796578c include/linux/bcd.h: provide bcd_is_valid() helper
e1a6bc7c6969 x86/rtc: Rename mach_set_rtc_mmss() to mach_set_cmos_time()
2e2ac4a33274 tty: goldfish: Introduce gf_ioread32()/gf_iowrite32()
7fc46339c33e clk: sunxi-ng: mux: Allow muxes to have keys
0cee0416563d mfd: max77686: Correct tab-based alignment of register addresses

Besides, there are several commits are ommitted even they are touching
drivers/rtc files, but they generally falls into the categories of other
subsystems.

1ea35b355722 ARM: s3c: remove s3c24xx specific hacks
4cd0ca1fe9a7 rtc: ds1307: Convert to i2c's .probe_new()
3367934dd303 dt-bindings: drop redundant part of title (manual)
84e85359f499 dt-bindings: drop redundant part of title (end, part three)
a612130ca1a6 dt-bindings: drop redundant part of title (end)
ab040c42237f dt-bindings: drop redundant part of title of shared bindings
fc45720334eb mfd: Remove dm355evm_msp driver
dd3cb467ebb5 dt-bindings: Remove 'Device Tree Bindings' from end of title:
ed5c2f5fd10d i2c: Make remove callback return void
caf83e494de9 dt-bindings: Drop redundant 'maxItems/minItems' in if/then schemas
08d3df8c8153 ARM: pxa: split up mach/hardware.h
a0386bba7093 spi: make remove callback a void function
c4a11bf423ec dt-bindings: Rename Ingenic CGU headers to ingenic,*.h

Changelog:
v1 -> v2:
Add 4 missed commits as Prarit Bhargava pointed out.
c7a639dac8e4 rtc: jz4740: Make sure clock provider gets removed
d31d7300ebc0 rtc: k3: handle errors while enabling wake irq
b4f3d5f06e29 clk: sunxi-ng: sun6i-rtc: Mark rtc-32k as critical
c887bdc4fb25 clk: sunxi-ng: fix not NULL terminated coccicheck error

Signed-off-by: Gavin Shan gshan@redhat.com

Edited by Gavin Shan

Merge request reports