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 v2 17/17] dm: i2c: tegra: Convert to driver model
Date: Mon, 17 Nov 2014 07:41:04 +0100	[thread overview]
Message-ID: <54699880.3090109@denx.de> (raw)
In-Reply-To: <1415727993-22032-18-git-send-email-sjg@chromium.org>

Hello Simon,

Am 11.11.2014 18:46, schrieb Simon Glass:
> This converts all Tegra boards over to use driver model for I2C. The driver
> is adjusted to use driver model and the following obsolete CONFIGs are
> removed:
>
>     - CONFIG_SYS_I2C_INIT_BOARD
>     - CONFIG_I2C_MULTI_BUS
>     - CONFIG_SYS_MAX_I2C_BUS
>     - CONFIG_SYS_I2C_SPEED
>     - CONFIG_SYS_I2C
>
> This has been tested on:
> - trimslice (no I2C)
> - beaver
> - Jetson-TK1
>
> It has not been tested on Tegra 114 as I don't have that board.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
> Changes in v2:
> - Adjust tegra_i2c_child_pre_probe() to permit generic I2C devices
> - Correct the compatible strings for I2C buses
> - Don't init if the speed is 0, since this breaks the controller
> - Expand coverage to all Tegra boards
>
>   arch/arm/cpu/tegra20-common/pmu.c           |  21 +-
>   arch/arm/dts/tegra124-jetson-tk1.dts        |   1 -
>   arch/arm/dts/tegra124-norrin.dts            |   1 -
>   arch/arm/dts/tegra30-tec-ng.dts             |   4 +
>   arch/arm/include/asm/arch-tegra/tegra_i2c.h |   2 +-
>   board/avionic-design/common/tamonten-ng.c   |  12 +-
>   board/nvidia/cardhu/cardhu.c                |  13 +-
>   board/nvidia/common/board.c                 |   4 -
>   board/nvidia/dalmore/dalmore.c              |  21 +-
>   board/nvidia/whistler/whistler.c            |  29 ++-
>   board/toradex/apalis_t30/apalis_t30.c       |  19 +-
>   drivers/i2c/tegra_i2c.c                     | 320 +++++++++++-----------------
>   drivers/power/tps6586x.c                    |  27 +--
>   include/configs/apalis_t30.h                |   3 -
>   include/configs/beaver.h                    |   3 -
>   include/configs/cardhu.h                    |   5 -
>   include/configs/colibri_t30.h               |   3 -
>   include/configs/dalmore.h                   |   5 -
>   include/configs/jetson-tk1.h                |   5 -
>   include/configs/norrin.h                    |   5 -
>   include/configs/seaboard.h                  |   3 -
>   include/configs/tec-ng.h                    |   5 -
>   include/configs/tegra-common.h              |   1 +
>   include/configs/tegra114-common.h           |   3 -
>   include/configs/tegra124-common.h           |   3 -
>   include/configs/tegra20-common.h            |   3 -
>   include/configs/tegra30-common.h            |   3 -
>   include/configs/trimslice.h                 |   3 -
>   include/configs/venice2.h                   |   5 -
>   include/configs/whistler.h                  |   3 -
>   include/tps6586x.h                          |   4 +-
>   31 files changed, 211 insertions(+), 328 deletions(-)

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

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2014-11-17  6:41 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11 17:46 [U-Boot] [PATCH v2 0/17] dm: Add I2C support and convert sandbox, tegra Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 01/17] dm: i2c: Move error reporting into a common function Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:27   ` Heiko Schocher
2014-11-23 12:59     ` Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 02/17] dm: core: Allow access to the device's driver_id data Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:28   ` Heiko Schocher
2014-11-19  8:25   ` Masahiro Yamada
2014-11-19  9:35     ` Simon Glass
2014-11-20  6:06       ` Masahiro Yamada
2014-11-20 18:39         ` Simon Glass
2014-11-23 12:59           ` Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 03/17] dm: core: Add functions to find parent and OF data Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:28   ` Heiko Schocher
2014-11-19  8:27   ` Masahiro Yamada
2014-11-19  9:37     ` Simon Glass
2014-11-23 13:00       ` Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  5:57     ` Simon Glass
2014-11-17 18:32       ` Tom Rini
2014-11-23 13:00         ` Simon Glass
2014-11-17  6:28   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 05/17] dm: Add a function to bind a device by driver name Simon Glass
2014-11-11 18:23   ` Jagan Teki
2014-11-17  6:29   ` Heiko Schocher
2014-11-23 13:00     ` Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 06/17] dm: spi: Correct handling of SPI chip selects in sandbox Simon Glass
2014-11-11 18:20   ` Jagan Teki
2014-11-17  6:29   ` Heiko Schocher
2014-11-23 13:00     ` Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 07/17] dm: spi: Use device_bind_driver() instead of our own function Simon Glass
2014-11-11 18:24   ` Jagan Teki
2014-11-17  6:29   ` Heiko Schocher
2014-11-23 13:00     ` Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:37   ` Heiko Schocher
2014-11-18 12:32   ` Masahiro Yamada
2014-11-18 12:35     ` Heiko Schocher
2014-11-19  8:56   ` Masahiro Yamada
2014-11-19  9:02     ` Masahiro Yamada
2014-11-19 10:24     ` Simon Glass
2014-11-20  6:05       ` Masahiro Yamada
2014-11-20 14:04         ` Simon Glass
2014-11-21  7:24           ` Heiko Schocher
2014-11-21  8:18             ` Masahiro Yamada
2014-11-21 22:30               ` Simon Glass
2014-11-21  8:04           ` Masahiro Yamada
2014-11-21 22:29             ` Simon Glass
2014-11-23 12:04               ` Albert ARIBAUD
2014-11-11 17:46 ` [U-Boot] [PATCH v2 09/17] dm: i2c: Implement driver model support in the i2c command Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:38   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 10/17] dm: i2c: Add I2C emulation driver for sandbox Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:39   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 11/17] dm: i2c: Add a sandbox I2C driver Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:39   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 12/17] dm: i2c: Add an I2C EEPROM simulator Simon Glass
2014-11-17  0:46   ` Tom Rini
2014-11-17  6:39   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 13/17] dm: i2c: config: Enable I2C for sandbox using driver model Simon Glass
2014-11-17  0:47   ` Tom Rini
2014-11-17  6:39   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 14/17] dm: i2c: dts: Add an I2C bus for sandbox Simon Glass
2014-11-17  0:47   ` Tom Rini
2014-11-17  6:40   ` Heiko Schocher
2014-11-19  8:29   ` Masahiro Yamada
2014-11-19 10:36     ` Simon Glass
2014-11-11 17:46 ` [U-Boot] [PATCH v2 15/17] dm: Add a simple EEPROM driver Simon Glass
2014-11-17  0:47   ` Tom Rini
2014-11-17  6:40   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 16/17] dm: i2c: Add tests for I2C Simon Glass
2014-11-17  0:47   ` Tom Rini
2014-11-17  6:40   ` Heiko Schocher
2014-11-11 17:46 ` [U-Boot] [PATCH v2 17/17] dm: i2c: tegra: Convert to driver model Simon Glass
2014-11-17  6:41   ` Heiko Schocher [this message]
2014-11-17  6:42 ` [U-Boot] [PATCH v2 0/17] dm: Add I2C support and convert sandbox, tegra Heiko Schocher
2014-11-17  6:52   ` Simon Glass
2014-11-19  8:27 ` Masahiro Yamada
2014-11-19 13:08   ` Heiko Schocher
2014-11-20 17:31     ` Simon Glass
2014-11-21  7:27       ` 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=54699880.3090109@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