rk2918 support

Heiko Stübner heiko at sntech.de
Fri Oct 3 14:37:59 PDT 2014


Hi Steven,

Am Freitag, 3. Oktober 2014, 19:12:01 schrieb Steven Newbury:
> I'm about to make a start bringing up Mer/Wayland (with the new
> Vivante DRM/Gallium3D driver) on an older tablet which uses the
> Rockchip rk2918 (aka rk29?) SoC.
> 
> I can't find any definitive information on whether there is support
> for this chip in the mainline kernel, I see rk2928 in the
> rockchip/Kconfig, but no mention of rk2918.

rk2928 is a single-core Cortex-A9, while your rk2918 is a Cortex-A8. And the 
rk2928 support in the kernel also just consists of "should print at least a 
little serial startup output before dying".


> If this isn't in mainline, is there any intention to get it in?

Only if somebody sends in the necessary pieces ;-) . My personal cut-off is at 
the rk3066, simply because that is the "oldest" board I own.


> How
> much work would it be to get it forward ported along the lines of the
> other Rockchip SoC code?

After getting some output on the console, you would work your way up. 
Clocksource/clockeven is still the dw_apb_timer (already supported). The 
hardest part will probably be getting a real clock-tree from the clock.c in 
the second git repo you linked.

Next step would the pinctrl support for it.

Most peripherals (like the i2c controllers) also have evolved in some way 
through the generations, so you'll need to check what needs to be adapted.

And of course there is currently no display support available at all [with 
some initial drm patches for the rk3288 currently pending].


Heiko



More information about the Linux-rockchip mailing list