]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: i2c: tegra: Document Tegra210 VI I2C
authorThierry Reding <treding@nvidia.com>
Fri, 7 Jun 2019 13:58:34 +0000 (15:58 +0200)
committerThierry Reding <treding@nvidia.com>
Tue, 12 May 2020 20:47:36 +0000 (22:47 +0200)
The Tegra210 features an instance of the Tegra I2C controller that is
part of the host1x domain and typically used for camera use-cases. It
uses pretty much the same programming model but the registers are laid
out differently.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Documentation/devicetree/bindings/i2c/nvidia,tegra20-i2c.txt

index f64064f8bdc25e5f0ee52c024fa1e2b8e36b8a5b..18c0de362451c8db9f2021edcb9dc7f35d7fb82b 100644 (file)
@@ -35,6 +35,12 @@ Required properties:
        Due to above changes, Tegra114 I2C driver makes incompatible with
        previous hardware driver. Hence, tegra114 I2C controller is compatible
        with "nvidia,tegra114-i2c".
+  nvidia,tegra210-i2c-vi: Tegra210 has one I2C controller that is part of the
+       host1x domain and typically used for camera use-cases. This VI I2C
+       controller is mostly compatible with the programming model of the
+       regular I2C controllers with a few exceptions. The I2C registers start
+       at an offset of 0xc00 (instead of 0), registers are 16 bytes apart
+       (rather than 4) and the controller does not support slave mode.
 - reg: Should contain I2C controller registers physical address and length.
 - interrupts: Should contain I2C controller interrupts.
 - address-cells: Address cells for I2C device address.