rockbox/firmware/target/mips/ingenic_x1000/fiiom3k
Aidan MacDonald e85bc74b30 x1000: GPIO refactor
The GPIO API was pretty clunky and pin settings were decentralized,
making it hard to see what was happening and making GPIO stuff look
like a mess, frankly.

Instead of passing clunky (port, pin) pairs everywhere, GPIOs are now
identified with a single int. The extra overhead should be minimal as
GPIO configuration is generally not on a performance-critical path.

Pin assignments are now mostly consolidated in gpio-target.h and put
in various tables so gpio_init() can assign most pins at boot time.

Most drivers no longer need to touch GPIOs and basic pin I/O stuff
can happen without config since pins are put into the right state.
IRQ pins still need to be configured manually before use.

Change-Id: Ic5326284b0b2a2f613e9e76a41cb50e24af3aa47
2021-06-06 11:06:14 +00:00
..
adc-target.h New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
audiohw-fiiom3k.c x1000: GPIO refactor 2021-06-06 11:06:14 +00:00
backlight-fiiom3k.c FiiO M3K: minor fixes 2021-06-01 00:26:20 +01:00
backlight-target.h New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
boot.make FiiO M3K: New bootloader 2021-05-12 10:35:20 +00:00
button-fiiom3k.c x1000: GPIO refactor 2021-06-06 11:06:14 +00:00
button-target.h New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
gpio-target.h x1000: GPIO refactor 2021-06-06 11:06:14 +00:00
i2c-target.h axp173 driver: rename to "axp-pmu" + other changes 2021-06-01 19:57:41 +00:00
installer-fiiom3k.c FiiO M3K: New bootloader 2021-05-12 10:35:20 +00:00
installer-fiiom3k.h FiiO M3K: New bootloader 2021-05-12 10:35:20 +00:00
lcd-fiiom3k.c x1000: GPIO refactor 2021-06-06 11:06:14 +00:00
power-fiiom3k.c x1000: GPIO refactor 2021-06-06 11:06:14 +00:00
powermgmt-target.h New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
spl-fiiom3k.c x1000: GPIO refactor 2021-06-06 11:06:14 +00:00