Difference between revisions of "CI20 upstream"
(→Core: gpio and pinctrl paths and comments)
(→Peripheral drivers: IR can use gpio driver)
|Line 130:||Line 130:|
Revision as of 07:04, 16 December 2014
This page contains details about the latest kernel branch and any known quirks/special requirements.
It will be periodically updated to keep up to speed with the latest.
The current branch tracking mainline 3.16
Status of Linux Kernel Drivers
|IRQ Controller||drivers/irqchip/irq-jz4780.c||Very similar between SoCs (4740 has one bank, 60,70,80 has two banks)|
|Clocks||Works||drivers/clk/jz47xx||Could have common drivers/clk/ingenic for all SoCs with SoC specific binding using common components(?)|
|Device Tree||Mostly||Parsed on boot, but compiled into the kernel. Would be good to allow it to be passed from the bootloader.|
|DMA||Mostly||drivers/dma/dma-jz4780.c||needs combining into dma-jz4740. Works, just missing priority support|
|GPIO||Works||drivers/pinctrl/pinctrl-jz4780.c||should perhaps be in drivers/gpio/ (?)|
|PinCtrl||Mostly||drivers/pinctrl/pinctrl-jz4780.c||Differs between SoCs. Functional, may need DT binding changes based on feedback from upstream. See also pinctrl-jz4770.c.|
|Power Controller (LPCR Register)|
|Power Off & Reset||Works|
|ADC||WIP||Check branches on https://github.com/ZubairLK/CI20_linux|
|Audio (ALSA)||WIP||Check patches on https://groups.google.com/forum/#!forum/mips-creator-ci20-dev|
|HDMI||WIP||Check patches on https://groups.google.com/forum/#!forum/mips-creator-ci20-dev|
|IR||GPIO, so use upstream drivers/media/rc/gpio-ir-recv.c|
|SPI||SPIO GPIO should work..|
|USB(OTG)||Works||Upstream driver supports only host mode as of 3.15|
|Wifi||WIP||Check patches on https://groups.google.com/forum/#!forum/mips-creator-ci20-dev|
|BT||WIP||Check branches on https://github.com/ZubairLK/CI20_linux|
List of other possible issues
- /etc/init.d/iw8103 is the startup script for the BT/Wifi firmware in the default rootfs.
If using 3.16, the script can cause the boot to hang. Please move the script out of /etc/init.d
Add "root=/dev/mmcblk0p1 rootwait" to bootargs in uboot if you wish to boot a rootfs from mmc.