From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Tue, 20 Jan 2015 07:28:03 +0100 Subject: [U-Boot] [PATCH v2 01/26] dm: i2c: Provide an offset length parameter where needed In-Reply-To: <1421723575-4532-2-git-send-email-sjg@chromium.org> References: <1421723575-4532-1-git-send-email-sjg@chromium.org> <1421723575-4532-2-git-send-email-sjg@chromium.org> Message-ID: <54BDF573.4000307@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, Am 20.01.2015 04:12, schrieb Simon Glass: > Rather than assuming that the chip offset length is 1, allow it to be > provided. This allows chips that don't use the default offset length to > be used (at present they are only supported by the command line 'i2c' > command which sets the offset length explicitly). > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch to provide an offset length parameter where needed > > arch/arm/cpu/tegra20-common/pmu.c | 2 +- > board/avionic-design/common/tamonten-ng.c | 2 +- > board/nvidia/cardhu/cardhu.c | 4 ++-- > board/nvidia/dalmore/dalmore.c | 4 ++-- > board/nvidia/whistler/whistler.c | 4 ++-- > board/toradex/apalis_t30/apalis_t30.c | 2 +- > common/cmd_i2c.c | 2 +- > drivers/i2c/i2c-uclass.c | 16 +++++++++------- > drivers/i2c/sandbox_i2c.c | 2 +- > drivers/power/as3722.c | 2 +- > include/i2c.h | 8 ++++++-- > test/dm/i2c.c | 10 +++++----- > 12 files changed, 32 insertions(+), 26 deletions(-) Acked-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany