All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH 3/3] ARM: tegra: p2371-2180: add I2C nodes to DT
Date: Tue, 31 Mar 2020 11:54:25 +0100	[thread overview]
Message-ID: <CALeDE9M233SkX7x-GHk-3NQ9U1V9T5KbqYkacxkwn9Rdx+UhNQ@mail.gmail.com> (raw)
In-Reply-To: <1585261245-1740-4-git-send-email-tomcwarren3959@gmail.com>

> From: Stephen Warren <swarren@nvidia.com>
>
> This adds to the DT the I2C controllers that connect to the board ID EEPROM,
> camera board EEPROM, etc. With this change, you can now probe all I2C devices
> on a TX1 board.
>
> Signed-off-by: Tom Warren <twarren@nvidia.com>
> ---
>  arch/arm/dts/tegra210-p2371-2180.dts | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>
> diff --git a/arch/arm/dts/tegra210-p2371-2180.dts b/arch/arm/dts/tegra210-p2371-2180.dts
> index c2f497c..d982b5f 100644
> --- a/arch/arm/dts/tegra210-p2371-2180.dts
> +++ b/arch/arm/dts/tegra210-p2371-2180.dts
> @@ -12,6 +12,9 @@
>
>         aliases {
>                 i2c0 = "/i2c at 7000d000";
> +               i2c2 = "/i2c at 7000c400";
> +               i2c3 = "/i2c at 7000c500";
> +               i2c5 = "/i2c at 546c0c00";

I don't think this is correct, it doesn't show up in U-Boot with the
"i2c bus" command where the others do, looking in the tegra210.dtsi it
looks like it should be i2c at 546c0000?

>                 mmc0 = "/sdhci at 700b0600";
>                 mmc1 = "/sdhci at 700b0000";
>                 usb0 = "/usb at 7d000000";
> @@ -33,6 +36,11 @@
>                 };
>         };
>
> +       i2c at 546c0c00 {
> +               status = "okay";
> +               clock-frequency = <400000>;
> +       };
> +
>         padctl at 7009f000 {
>                 pinctrl-0 = <&padctl_default>;
>                 pinctrl-names = "default";
> @@ -85,6 +93,16 @@
>                 non-removable;
>         };
>
> +       i2c at 7000c400 {
> +               status = "okay";
> +               clock-frequency = <400000>;
> +       };
> +
> +       i2c at 7000c500 {
> +               status = "okay";
> +               clock-frequency = <400000>;
> +       };
> +
>         i2c at 7000d000 {
>                 status = "okay";
>                 clock-frequency = <400000>;
> --
> 1.8.2.1.610.g562af5b
>
>
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information.  Any unauthorized review, use, disclosure or distribution
> is prohibited.  If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------

  reply	other threads:[~2020-03-31 10:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 22:20 [PATCH 0/3] Misc fixes for Tegra tomcwarren3959 at gmail.com
2020-03-26 22:20 ` [PATCH 1/3] ARM: tegra: p2771-0000: enable PIE relocation tomcwarren3959 at gmail.com
2020-03-31 10:46   ` Peter Robinson
2020-03-26 22:20 ` [PATCH 2/3] fdt: Fix 'system' command tomcwarren3959 at gmail.com
2020-03-26 22:20 ` [PATCH 3/3] ARM: tegra: p2371-2180: add I2C nodes to DT tomcwarren3959 at gmail.com
2020-03-31 10:54   ` Peter Robinson [this message]
2020-04-01  0:03     ` Tom Warren
2020-04-01 15:19       ` Thierry Reding
2020-04-01 20:35         ` Tom Warren
2020-04-01 21:47           ` Thierry Reding
2020-04-10 19:31 ` [PATCH 2/3] fdt: Fix 'system' command sjg at google.com

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=CALeDE9M233SkX7x-GHk-3NQ9U1V9T5KbqYkacxkwn9Rdx+UhNQ@mail.gmail.com \
    --to=pbrobinson@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.