diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-05-23 17:30:58 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-07-13 22:01:33 +0100 |
commit | 4c60bc9e681865fcfc149775a1ed7ccd2613d5bf (patch) | |
tree | 99f8d91af2c171cf3843f0c14d41a20d9dc29c4f /firmware/target/mips/ingenic_x1000/msc-x1000.c | |
parent | 3abb7c5dd5be2ec6744bfc0a80967b20f1b59e30 (diff) | |
download | rockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.tar.gz rockbox-4c60bc9e681865fcfc149775a1ed7ccd2613d5bf.zip |
New port: Shanling Q1 native
- Audio playback works
- Touchscreen and buttons work
- Bootloader works and is capable of dual boot
- Plugins are working
- Cabbiev2 theme has been ported
- Stable for general usage
Thanks to Marc Aarts for porting Cabbiev2 and plugin bitmaps.
There's a few minor known issues:
- Bootloader must be installed manually using 'usbboot' as there is
no support in jztool yet.
- Keymaps may be lacking, need further testing and feedback.
- Some plugins may not be fully adapted to the screen size and could
benefit from further tweaking.
- LCD shows abnormal effects under some circumstances: for example,
after viewing a mostly black screen an afterimage appears briefly
when going back to a brightly-lit screen. Sudden power-off without
proper shutdown of the backlight causes a "dissolving" effect.
- CW2015 battery reporting driver is buggy, and disabled for now.
Battery reporting is currently voltage-based using the AXP192.
Change-Id: I635e83f02a880192c5a82cb0861ad3a61c137c3a
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/msc-x1000.c')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/msc-x1000.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/firmware/target/mips/ingenic_x1000/msc-x1000.c b/firmware/target/mips/ingenic_x1000/msc-x1000.c index 3b7df1dd01..d0359a53e2 100644 --- a/firmware/target/mips/ingenic_x1000/msc-x1000.c +++ b/firmware/target/mips/ingenic_x1000/msc-x1000.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #define DEBOUNCE_TIME (HZ/10) | 42 | #define DEBOUNCE_TIME (HZ/10) |
43 | 43 | ||
44 | static const msc_config msc_configs[] = { | 44 | static const msc_config msc_configs[] = { |
45 | #ifdef FIIO_M3K | 45 | #if defined(FIIO_M3K) |
46 | #define MSC_CLOCK_SOURCE X1000_CLK_SCLK_A | 46 | #define MSC_CLOCK_SOURCE X1000_CLK_SCLK_A |
47 | { | 47 | { |
48 | .msc_nr = 0, | 48 | .msc_nr = 0, |
@@ -52,6 +52,17 @@ static const msc_config msc_configs[] = { | |||
52 | .cd_gpio = GPIO_MSC0_CD, | 52 | .cd_gpio = GPIO_MSC0_CD, |
53 | .cd_active_level = 0, | 53 | .cd_active_level = 0, |
54 | }, | 54 | }, |
55 | #elif defined(SHANLING_Q1) | ||
56 | #define MSC_CLOCK_SOURCE X1000_CLK_MPLL | ||
57 | { | ||
58 | .msc_nr = 0, | ||
59 | .msc_type = MSC_TYPE_SD, | ||
60 | .bus_width = 4, | ||
61 | .label = "microSD", | ||
62 | .cd_gpio = GPIO_MSC0_CD, | ||
63 | .cd_active_level = 0, | ||
64 | }, | ||
65 | /* NOTE: SDIO wifi card is on msc1 */ | ||
55 | #else | 66 | #else |
56 | # error "Please add X1000 MSC config" | 67 | # error "Please add X1000 MSC config" |
57 | #endif | 68 | #endif |