Summary

There are a large range of audio devices we need to support, and often there are small modifications in layout between otherwise-similar devices. This specification is based on using a device-tree type format to describe hardware (particularly audio devices) to facilitate device discovery and support.

Release Note

Usage should be transparent to the user, but we will be adding system-level interfaces to manage device-tree handling.

Rationale

With the growing number of hardware platforms supported by ubuntu, we're seeing a larger range of devices requiring

User stories

Assumptions

No assumptions at present

Design

Implementation

To do.

Code Changes

To do.

Test/Demo Plan

Unresolved issues

This should highlight any issues that should be addressed in further specifications, and not problems with the specification itself; since any specification with problems cannot be approved.

BoF agenda and discussion

How quirks can be handled with device tree

brief talk of device tree dealing with quirks

brief talk of device tree

Data structure for describing hardware Simple tree structure of nodes

Usage model adopted from Open Firmware Binary Tokenized from text representation

Example (text description of hardware)

The quirks talked in Audio session

Q: what if links in nodes form a loop? A: not recursive, used for data retrieving, not a problem

Use of device tree to describe the codec internal and make the kernel driver generic. There are corner cases where code is inevitable, e.g. JACK detection with GPIO.

We still need some other method to handle the run-time configurations.

Device tree is a whole hardware description, discuss with dynamic loading Device tree.

Actions

NOTE: Current and up to date action list and status in the whiteboard for the blueprint.

ACTION:


CategorySpec

Specs/DeviceTreeQuirks (last edited 2009-12-08 09:02:37 by 79-66-190-151)