summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-12-17 23:29:30 -0700
committerOlof Johansson <olof@lixom.net>2011-12-19 17:54:20 -0800
commit68fb669554a7def658873afdb9460f9a6289d6d9 (patch)
tree497b6b43e8b6a3b49a2081a6aeb1351d862171ee /virt/kvm
parent92891da11a3f913b50a685c3facff6a5891a45ba (diff)
downloadblackbird-op-linux-68fb669554a7def658873afdb9460f9a6289d6d9.tar.gz
blackbird-op-linux-68fb669554a7def658873afdb9460f9a6289d6d9.zip
i2c: tegra: Support DVC controller in device tree
One of the Tegra I2C blocks is inside the DVC (Digital Voltage Controller) block. This block is identical to the rest of the I2C blocks, except that it only supports master mode, it has registers moved around, and it needs some extra init to get it into I2C mode. The register moves are handled by i2c_readl and i2c_writel This patch adds a new compatible value for controllers of this "DVC" type; I figured that this approach was reasonable, as opposed to adding an is-dvc property under the existing compatible value, since the HW truly is different. v2: Call of_device_is_compatible() to determine is_dvc, instead of storing the flag in tegra_i2c_of_match[]'s .data field. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud