ipq806x: add LPASS clock control driver

Hardware / Coreboot - Vadim Bendebury [chromium.org] - 17 April 2015 02:59 UTC

Add a clock control driver to initialize the clock tree inside the low-power audio subsystem. Depthcharge builds up on this to enable audio function on storm.

The clock is hardcoded for 48KHz frame rate, two 16 bit channels.

BRANCH=storm BUG=chrome-os-partner:35247

TEST=with depthcharge patches applied and Using depthcharge CLI audio test program verified that the target generates sensible sounds

audio 100 100 audio 1000 5000

Change-Id: I56513fc782657ade99b6e43b2d5d3141d27ecc4e

3cfb6a0 ipq806x: add LPASS clock control driver
src/mainboard/google/storm/mainboard.c | 8 +
src/soc/qualcomm/ipq806x/Makefile.inc | 1 +
src/soc/qualcomm/ipq806x/include/soc/clock.h | 1 +
src/soc/qualcomm/ipq806x/include/soc/lcc-reg.h | 341 ++++++++++++++++++++++++
src/soc/qualcomm/ipq806x/lcc.c | 316 ++++++++++++++++++++++
5 files changed, 667 insertions(+)

Upstream: review.coreboot.org


  • Share