Thread (12 messages) 12 messages, 5 authors, 2018-03-31

Re: [PATCH v3 2/4] gpio: Add GPIO driver for Nintendo Wii

From: Linus Walleij <hidden>
Date: 2018-02-22 12:57:11
Also in: linux-gpio, linuxppc-dev, lkml

On Fri, Feb 9, 2018 at 1:07 PM, Jonathan Neuschäfer
[off-list ref] wrote:
The Nintendo Wii's chipset (called "Hollywood") has a GPIO controller
that supports a configurable number of pins (up to 32), interrupts, and
some special mechanisms to share the controller between the system's
security processor (an ARM926) and the PowerPC CPU. Pin multiplexing is
not supported.

This patch adds a basic driver for this GPIO controller. Interrupt
support will come in a later patch.

This patch is based on code developed by Albert Herranz and the GameCube
Linux Team, file arch/powerpc/platforms/embedded6xx/hlwd-gpio.c,
available at https://github.com/DeltaResero/GC-Wii-Linux-Kernels, but
has grown quite dissimilar.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Cc: Albert Herranz <redacted>
Cc: Segher Boessenkool <redacted>
<---

v3:
- Do some style cleanups, as suggest by Andy Shevchenko
Patch applied to the GPIO tree for v4.17 with all the review tags.

I just folded the changelog into the commit message, for new
drivers it is sometimes useful to keep these around in
git actually.

If any further changes are needed we can just patch on top
of this.

It's a very pretty driver, good work!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help