summaryrefslogtreecommitdiff
path: root/include/fdt_decode.h
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2011-10-18 18:13:22 -0700
committerDoug Anderson <dianders@chromium.org>2011-10-19 16:41:55 -0700
commitb166ce8bdde0a2b7c506a93d4d60f92e932c64d4 (patch)
tree5f82a8d17e84f0d35fd5b02d1485acb82cfbf075 /include/fdt_decode.h
parent547a6442998ecf52fcccfe923a64ac81e1f374f2 (diff)
CHROMIUM: tegra3: i2c: Move DVC semantics choice to device tree
On the tegra30, it appears that the "DVC" i2c controller has been normalized and no longer requires special semantics for accessing it (it has also just been renamed to "i2c5"). This change makes it so that we don't pick DVC semantics based on the periperal ID, but instead allow the device tree to specify. BUG=chromium-os:21540 TEST=Compiled / booted on Kaen Change-Id: Idfd96d1193b5ac267c61416544c63cc03dab396d Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-on: http://gerrit.chromium.org/gerrit/10279 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fdt_decode.h')
-rw-r--r--include/fdt_decode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fdt_decode.h b/include/fdt_decode.h
index 4fb2afe665..8e522653bc 100644
--- a/include/fdt_decode.h
+++ b/include/fdt_decode.h
@@ -224,6 +224,7 @@ struct fdt_i2c {
int pinmux;
u32 speed;
enum periph_id periph_id;
+ int use_dvc_ctlr; /* 1 if we need to use the DVC */
};
enum {