aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2017-02-20 11:52:33 -0500
committerWolfram Sang <wsa@the-dreams.de>2017-02-20 13:12:10 -0500
commit6a405f7c5d0e9d67163f25fad7fde9e70a9837bb (patch)
treee589dee4eccac77c9275a88904d420354b5a2174
parentdd905a61e95e057277115888e1b8d5d9070795e1 (diff)
dt-bindings: Add Tegra186 BPMP I2C binding
In Tegra186, the BPMP (Boot and Power Management Processor) owns certain HW devices, such as the I2C controller for the power management I2C bus. Software running on other CPUs must perform IPC to the BPMP in order to execute transactions on that I2C bus. This binding describes an I2C bus that is accessed in such a fashion. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r--Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt b/Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt
new file mode 100644
index 000000000000..ab240e10debc
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/nvidia,tegra186-bpmp-i2c.txt
@@ -0,0 +1,42 @@
1NVIDIA Tegra186 BPMP I2C controller
2
3In Tegra186, the BPMP (Boot and Power Management Processor) owns certain HW
4devices, such as the I2C controller for the power management I2C bus. Software
5running on other CPUs must perform IPC to the BPMP in order to execute
6transactions on that I2C bus. This binding describes an I2C bus that is
7accessed in such a fashion.
8
9The BPMP I2C node must be located directly inside the main BPMP node. See
10../firmware/nvidia,tegra186-bpmp.txt for details of the BPMP binding.
11
12This node represents an I2C controller. See ../i2c/i2c.txt for details of the
13core I2C binding.
14
15Required properties:
16- compatible:
17 Array of strings.
18 One of:
19 - "nvidia,tegra186-bpmp-i2c".
20- #address-cells: Address cells for I2C device address.
21 Single-cell integer.
22 Must be <1>.
23- #size-cells:
24 Single-cell integer.
25 Must be <0>.
26- nvidia,bpmp-bus-id:
27 Single-cell integer.
28 Indicates the I2C bus number this DT node represent, as defined by the
29 BPMP firmware.
30
31Example:
32
33bpmp {
34 ...
35
36 i2c {
37 compatible = "nvidia,tegra186-bpmp-i2c";
38 #address-cells = <1>;
39 #size-cells = <0>;
40 nvidia,bpmp-bus-id = <5>;
41 };
42};