Contents

Overview

This page is about adding Nokia N800/N810 support to Linux mainline kernels. N800/N810 (from now on called just n8x0) has been in linux-omap tree far too long, we need to get it finally to mainline. There has been discussions on the linux-omap mailing list about this:

All the information about n8x0 mainline inclusion is scattered and the purpose of this page is to collect them into one place. As this is a wiki, it's encouraged for the people to improve the page based on their knowledge.

The Plan

Most of the drivers needed by n8x0 should be already in mainline, notably exception being the Nokia's proprietary cbus support. But this must be checked.

platform data support for omap serial driver

n8x0 board file

serial port

onenand

spi

display

touchscreen

keyboard

wlan

usb

cbus

should be converted to use spi framework and send to inclusion for mainline

retu

should use new cbus driver

tahvo

should use new cbus driver

User space interfaces

Diablo user space components use non-standard kernel interfaces and most likely the interfaces are not acceptable to mainline. If we want to get diablo running with latest mainline kernels, this needs to be solved somehow. (Do we really want that or instead focus, for example, on Mer?)

Identified non-standard interfaces:

watchdog interface used by dsme

bme interface

private Wireless Extension calls used by wlancond/eapd

audio and DSP in general

maybe also display control

/proc/component_version read by linuxrc from initfs

/proc/bootreason read by dsme

In theory it might be possible to implement an out-of-tree module or separate patchset which provide the diablo specific interfaces to user space. This needs to be investigated.

Tips

Simplify make

To avoid using adding ARCH variable to every make command add a file named GNUmakefile with the contents below and then you can run make without any options. Thanks to Johannes Berg for the tip.