Add Maple bus support for the SEGA Dreamcast - repost
cover Add Maple bus support for the SEGA Dreamcast - repost
The Maple bus is SEGA's proprietary serial bus for peripherals (keyboard, mouse, controller etc). The bus is capable of some (limited) hotplugging and operates at up to 2 M/bits.
Drivers of one sort or another existed/exist for 2.4 and a rudimentary port, which didn't support the 2.6 device driver modei was also in existence.
This driver - for the bus logic itself and for the keyboard (other drivers will follow) are based on the code and concepts of those old drivers but have lots of completely rewritten parts.
I have the maplebus code as a built in now as that seems the sane and rational way to handle something like that - you either want the bus or you don't.
maplebus.c: adds the core bus supportmaple_keyb.c: adds the keyboard
Signed off by Adrian McMenamin <[email protected]>
Quoted 4 lines · Adrian McMenamin
The Maple bus is SEGA's proprietary serial bus for peripherals (keyboard, mouse, controller etc). The bus is capable of some (limited) hotplugging and operates at up to 2 M/bits.
I've applied this and the header changes with a bit of tidying. Dmitry can merge the keyboard driver in the input tree at any time, the Kconfig dependency will just prevent it from showing up until the SH tree has merged.
Quoted 10 lines · Paul Mundt
Quoted 4 lines · Adrian McMenamin
The Maple bus is SEGA's proprietary serial bus for peripherals (keyboard, mouse, controller etc). The bus is capable of some (limited) hotplugging and operates at up to 2 M/bits.
I've applied this and the header changes with a bit of tidying. Dmitry can merge the keyboard driver in the input tree at any time, the
Kconfigdependency will just prevent it from showing up until the SH tree has merged.
Thanks