linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
To: U-Boot Mailing List <u-boot-0aAXYlwwYIKGBzrmiIFOJg@public.gmane.org>
Cc: Tom Warren <twarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
	Heiko Schocher <hs-ynQEQJNshbs@public.gmane.org>
Subject: [PATCH v3 8/9] tegra: i2c: Select number of controllers for Tegra2 boards
Date: Fri,  3 Feb 2012 17:13:59 -0800	[thread overview]
Message-ID: <1328318041-10943-9-git-send-email-sjg@chromium.org> (raw)
In-Reply-To: <1328318041-10943-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>

The Tegra 2x SOC has four ports, so define TEGRA_I2C_NUM_CONTROLLERS
in the shared config file.

Signed-off-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---

 include/configs/tegra2-common.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
index 266d0e5..837f859 100644
--- a/include/configs/tegra2-common.h
+++ b/include/configs/tegra2-common.h
@@ -94,6 +94,9 @@
 #define CONFIG_EHCI_IS_TDI
 #define CONFIG_EHCI_DCACHE
 
+/* Total I2C ports on Tegra2 */
+#define TEGRA_I2C_NUM_CONTROLLERS	4
+
 /* include default commands */
 #include <config_cmd_default.h>
 
-- 
1.7.7.3

  parent reply	other threads:[~2012-02-04  1:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-04  1:13 [PATCH v3 0/9] tegra: Add I2C driver and associated parts Simon Glass
     [not found] ` <1328318041-10943-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-04  1:13   ` [PATCH v3 1/9] tegra: Rename NV_PA_PMC_BASE to TEGRA2_PMC_BASE Simon Glass
2012-02-04  1:13   ` [PATCH v3 2/9] fdt: Add function to allow aliases to refer to multiple nodes Simon Glass
2012-02-04  1:13   ` [PATCH v3 3/9] tegra: Enhance clock support to handle 16-bit clock divisors Simon Glass
     [not found]     ` <1328318041-10943-4-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-10 17:52       ` Tom Warren
2012-02-04  1:13   ` [PATCH v3 4/9] tegra: fdt: i2c: Add extra I2C bindings for U-Boot Simon Glass
     [not found]     ` <1328318041-10943-5-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-10  6:29       ` [U-Boot] " Heiko Schocher
2012-02-04  1:13   ` [PATCH v3 5/9] tegra: i2c: Add I2C driver Simon Glass
     [not found]     ` <1328318041-10943-6-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-09 23:17       ` Yen Lin
2012-02-10  6:29       ` Heiko Schocher
2012-02-04  1:13   ` [PATCH v3 6/9] tegra: i2c: Initialise I2C on Nvidia boards Simon Glass
     [not found]     ` <1328318041-10943-7-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-10  6:30       ` Heiko Schocher
2012-02-04  1:13   ` [PATCH v3 7/9] tegra: i2c: Select I2C ordering for Seaboard Simon Glass
     [not found]     ` <1328318041-10943-8-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-10  6:30       ` Heiko Schocher
2012-02-04  1:13   ` Simon Glass [this message]
     [not found]     ` <1328318041-10943-9-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-10  6:30       ` [PATCH v3 8/9] tegra: i2c: Select number of controllers for Tegra2 boards Heiko Schocher
2012-02-04  1:14   ` [PATCH v3 9/9] tegra: i2c: Enable I2C on Seaboard Simon Glass
2012-02-10  6:30     ` Heiko Schocher
2012-02-09  7:02 ` [PATCH v3 0/9] tegra: Add I2C driver and associated parts Heiko Schocher
     [not found]   ` <4F336F75.3010202-ynQEQJNshbs@public.gmane.org>
2012-02-09 17:35     ` [U-Boot] " Tom Warren
     [not found]       ` <5FBF8E85CA34454794F0F7ECBA79798F3792269860-wAPRp6hVlRhDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-02-10  6:22         ` Heiko Schocher

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=1328318041-10943-9-git-send-email-sjg@chromium.org \
    --to=sjg-f7+t8e8rja9g9huczpvpmw@public.gmane.org \
    --cc=hs-ynQEQJNshbs@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=twarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=u-boot-0aAXYlwwYIKGBzrmiIFOJg@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).