ipq806x: add i2c driver

Hardware / Coreboot - Vadim Bendebury [google.com] - 15 April 2015 14:56 UTC

this change ports i2c and other relevant drivers from depthcharge for ipq806x.

BUG=chrome-os-partner:33647 BRANCH=ToT TEST=Booted storm using vboot2

Change-Id: I3d9a431aa8adb9b91dbccdf031647dfadbafc24c

6fe4e5e ipq806x: add i2c driver
src/mainboard/google/storm/Kconfig | 8 +
src/mainboard/google/storm/Makefile.inc | 1 +
src/mainboard/google/storm/gsbi.c | 58 +++
src/soc/qualcomm/ipq806x/Makefile.inc | 3 +
src/soc/qualcomm/ipq806x/gsbi.c | 28 +-
src/soc/qualcomm/ipq806x/gsbi.h | 60 ---
src/soc/qualcomm/ipq806x/i2c.c | 114 +++---
src/soc/qualcomm/ipq806x/include/soc/gsbi.h | 30 +-
src/soc/qualcomm/ipq806x/include/soc/iomap.h | 7 +
src/soc/qualcomm/ipq806x/include/soc/qup.h | 211 ++++++++++
src/soc/qualcomm/ipq806x/qup.c | 562 +++++++++++++-------------
src/soc/qualcomm/ipq806x/qup.h | 207 ----------
12 files changed, 648 insertions(+), 641 deletions(-)

Upstream: review.coreboot.org


  • Share