summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYen Lin <[email protected]>2012-03-06 19:00:23 +0000
committerAlbert ARIBAUD <[email protected]>2012-03-29 08:12:50 +0200
commit96a78ac0c445999ce21fb42ecab061479b4d7056 (patch)
tree421a551928a999d1bc1bd9c8e72563db72910b46 /include
parent34fa833aeeea498033f2c68b33ed8d57bf951e22 (diff)
tegra: i2c: Add I2C driver
Add basic i2c driver for Tegra2 with 8- and 16-bit address support. The driver requires CONFIG_OF_CONTROL to obtain its configuration from the device tree. (Simon Glass: [email protected] modified for upstream) Signed-off-by: Simon Glass <[email protected]> Acked-by: Heiko Schocher <[email protected]> Acked-by: Stephen Warren <[email protected]> Signed-off-by: Tom Warren <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/fdtdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 1e198f8c630..171c6284853 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -58,6 +58,8 @@ struct fdt_memory {
enum fdt_compat_id {
COMPAT_UNKNOWN,
COMPAT_NVIDIA_TEGRA20_USB, /* Tegra2 USB port */
+ COMPAT_NVIDIA_TEGRA20_I2C, /* Tegra2 i2c */
+ COMPAT_NVIDIA_TEGRA20_DVC, /* Tegra2 dvc (really just i2c) */
COMPAT_COUNT,
};