Re: [PATCH] rtc: nintendo: Add a RTC driver for the GameCube, Wii and Wii U

From: Emmanuel Gil Peyrot
Date: Thu Oct 28 2021 - 17:34:22 EST


On Thu, Oct 28, 2021 at 08:32:00PM +0000, Jonathan Neuschäfer wrote:
> Hi,
>
> On Wed, Oct 27, 2021 at 06:45:54PM +0200, Alexandre Belloni wrote:
> > Hello Emmanuel,
> >
> > Thanks for the patch!
> >
> > On 15/10/2021 00:05:24+0200, Emmanuel Gil Peyrot wrote:
> [...]
> > Something great to do would be to convert the driver to regmap, provding
> > custom regmap_read and regmap_write functions to access the EXI bus.
> > Then you'd get this directly in debugfs. And this could be split ou once
> > other drivers need access to the bus (I guess power/reset at some
> > point).
>
> Ultimately, a proper bus driver might be even better. Another popular
> (but 3rd-party) device on the EXI bus is the "USB Gecko", a serial port
> adapter.

The gc-linux project had such a bus driver, and I think also an
USB Gecko driver, but from what I remember they got rejected in the
kernel. I’d have to do some archeology to figure out why though.

Still, maybe it would be sensible to port their 2.6.32-era driver?

I have one such USB Gecko btw, so I should be able to test against it.

>
> (But I realize it might be significantly more work. Not sure.)
>
>
>
> Best regards, and in any case still thanks for working on the GC/Wii/U
> platforms,
> Jonathan

--
Emmanuel Gil Peyrot

Attachment: signature.asc
Description: PGP signature