On Wed, 15 Dec 2021 18:54:56 +0100, Emmanuel Gil Peyrot wrote:
These three consoles share a device, the MX23L4005, which contains a
clock and 64 bytes of SRAM storage, and is exposed on the EXI bus
(similar to SPI) on channel 0, device 1. This driver allows it to be
used as a Linux RTC device, where time can be read and set.
The hardware also exposes two timers, one which shuts down the console
and one which powers it on, but these aren’t supported currently.
[...]
Applied, thanks!
[1/5] rtc: gamecube: Add a RTC driver for the GameCube, Wii and Wii U
commit: 86559400b3ef9de93ba50523cffe767c35cd531a
[2/5] rtc: gamecube: Report low battery as invalid data
commit: 322539a014bcd24cbb9281832c09b24e07912237
[3/5] powerpc: wii.dts: Expose HW_SRNPROT on this platform
commit: 5479618e1e2641dd57352a73b7b7b2f6908fbeee
[4/5] powerpc: gamecube_defconfig: Enable the RTC driver
commit: 57bd7d356506b713d0df8d8e42da7810a18864df
[5/5] powerpc: wii_defconfig: Enable the RTC driver
commit: 69e8ba80ddda4db31e59facbf2db19773ad3785b
This one didn't apply ceanly but I believe I did the right thing. Can you check?
Best regards,
--
Alexandre Belloni [off-list ref]