public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/7] dt-bindings: add Tegra186 BPMP I2C binding
Date: Mon, 1 Aug 2016 06:24:51 +0200	[thread overview]
Message-ID: <579ECF13.2030804@denx.de> (raw)
In-Reply-To: <20160729191506.24803-3-swarren@wwwdotorg.org>

Hello Stephen,

Am 29.07.2016 um 21:15 schrieb Stephen Warren:
> From: Stephen Warren <swarren@nvidia.com>
>
> 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>
> ---
>   .../i2c/nvidia,tegra186-bpmp-i2c.txt               | 42 ++++++++++++++++++++++
>   1 file changed, 42 insertions(+)
>   create mode 100644 doc/device-tree-bindings/i2c/nvidia,tegra186-bpmp-i2c.txt

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
>
> diff --git a/doc/device-tree-bindings/i2c/nvidia,tegra186-bpmp-i2c.txt b/doc/device-tree-bindings/i2c/nvidia,tegra186-bpmp-i2c.txt
> new file mode 100644
> index 000000000000..ab240e10debc
> --- /dev/null
> +++ b/doc/device-tree-bindings/i2c/nvidia,tegra186-bpmp-i2c.txt
> @@ -0,0 +1,42 @@
> +NVIDIA Tegra186 BPMP I2C controller
> +
> +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.
> +
> +The BPMP I2C node must be located directly inside the main BPMP node. See
> +../firmware/nvidia,tegra186-bpmp.txt for details of the BPMP binding.
> +
> +This node represents an I2C controller. See ../i2c/i2c.txt for details of the
> +core I2C binding.
> +
> +Required properties:
> +- compatible:
> +    Array of strings.
> +    One of:
> +    - "nvidia,tegra186-bpmp-i2c".
> +- #address-cells: Address cells for I2C device address.
> +    Single-cell integer.
> +    Must be <1>.
> +- #size-cells:
> +    Single-cell integer.
> +    Must be <0>.
> +- nvidia,bpmp-bus-id:
> +    Single-cell integer.
> +    Indicates the I2C bus number this DT node represent, as defined by the
> +    BPMP firmware.
> +
> +Example:
> +
> +bpmp {
> +	...
> +
> +	i2c {
> +		compatible = "nvidia,tegra186-bpmp-i2c";
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +		nvidia,bpmp-bus-id = <5>;
> +	};
> +};
>

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  parent reply	other threads:[~2016-08-01  4:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 19:15 [U-Boot] [PATCH 1/7] dt-bindings: allow child nodes inside the Tegra BPMP Stephen Warren
2016-07-29 19:15 ` [U-Boot] [PATCH 2/7] misc: Tegra BPMP: support child node devices Stephen Warren
2016-08-01  1:03   ` Simon Glass
2016-08-01 15:56     ` Stephen Warren
2016-07-29 19:15 ` [U-Boot] [PATCH 3/7] dt-bindings: add Tegra186 BPMP I2C binding Stephen Warren
2016-08-01  1:03   ` Simon Glass
2016-08-01  4:24   ` Heiko Schocher [this message]
2016-07-29 19:15 ` [U-Boot] [PATCH 4/7] i2c: add Tegra186 BPMP driver Stephen Warren
2016-08-01  1:03   ` Simon Glass
2016-08-01  4:25   ` Heiko Schocher
2016-07-29 19:15 ` [U-Boot] [PATCH 5/7] ARM: tegra: add BPMP to Tegra186 device tree Stephen Warren
2016-08-01  1:03   ` Simon Glass
2016-07-29 19:15 ` [U-Boot] [PATCH 6/7] ARM: tegra: enable SD card on p2771-0000 Stephen Warren
2016-08-01  1:04   ` Simon Glass
2016-08-01 16:02     ` Stephen Warren
2016-08-04  1:16       ` Simon Glass
2016-07-29 19:15 ` [U-Boot] [PATCH 7/7] ARM: tegra: enable PCIe controller " Stephen Warren
2016-08-01  1:04   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=579ECF13.2030804@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox