mbox

[U-Boot] Please pull u-boot-dm.git

Message ID CAPnjgZ2K6eT+THQ6tJazAm37rzocKKsh0GpC+zdwiAygK3--MA@mail.gmail.com
State Accepted
Delegated to: Tom Rini
Headers show

Pull-request

git://git.denx.de/u-boot-dm.git

Message

Simon Glass Sept. 10, 2014, 7:04 p.m. UTC
Hi Tom,

This pull includes driver model implementations for serial (uclass,
sandbox and Tegra) as well as GPIO for Tegra, I've held off on exynos
until we resolve some questions there. I'm not 100% sure it will make
the release.



The following changes since commit b7a809957bcd72c2efa49ce733774b1e28878585:

  Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
(2014-09-10 06:59:49 -0400)

are available in the git repository at:

  git://git.denx.de/u-boot-dm.git

for you to fetch changes up to 858530a8c0a7ce7e573e513934804a00d6676813:

  dm: tegra: Enable driver model for serial (2014-09-10 13:00:02 -0600)

----------------------------------------------------------------
Simon Glass (17):
      dm: Move pre-reloc init earlier to cope with board_early_init_f()
      Set up stdio earlier when using driver model
      dm: Make driver model available before board_init()
      dm: tegra: Set up a pre-reloc malloc()
      tegra: Convert tegra GPIO driver to use driver model
      serial: Set up the 'priv' pointer when creating a serial device
      dm: fdt: Add a function to look up a chosen node
      dm: Adjust lists_bind_fdt() to return the bound device
      dm: Add a uclass for serial devices
      sandbox: Convert serial driver to use driver model
      sandbox: serial: Support a coloured console
      sandbox: dts: Add a serial console node
      dm: serial: Move baud rate calculation to ns16550.c
      dm: serial: Collect common baud rate code in ns16550
      dm: serial: Add driver model support for ns16550
      tegra: dts: Add serial port details
      dm: tegra: Enable driver model for serial

 arch/arm/dts/tegra114-dalmore.dts                  |   4 +
 arch/arm/dts/tegra114.dtsi                         |  53 +++++++++++++
 arch/arm/dts/tegra124-jetson-tk1.dts               |   4 +
 arch/arm/dts/tegra124-venice2.dts                  |   4 +
 arch/arm/dts/tegra124.dtsi                         |  66 +++++++++++++++++
 arch/arm/dts/tegra20-colibri_t20_iris.dts          |   4 +
 arch/arm/dts/tegra20-harmony.dts                   |   4 +
 arch/arm/dts/tegra20-medcom-wide.dts               |   4 +
 arch/arm/dts/tegra20-paz00.dts                     |   4 +
 arch/arm/dts/tegra20-plutux.dts                    |   4 +
 arch/arm/dts/tegra20-seaboard.dts                  |   4 +
 arch/arm/dts/tegra20-tec.dts                       |   4 +
 arch/arm/dts/tegra20-trimslice.dts                 |   4 +
 arch/arm/dts/tegra20-ventana.dts                   |   4 +
 arch/arm/dts/tegra20-whistler.dts                  |   4 +
 arch/arm/dts/tegra20.dtsi                          |  51 ++++++++++---
 arch/arm/dts/tegra30-beaver.dts                    |   4 +
 arch/arm/dts/tegra30-cardhu.dts                    |   4 +
 arch/arm/dts/tegra30-tamonten.dtsi                 |   4 +
 arch/arm/dts/tegra30.dtsi                          |  66 +++++++++++++++++
 arch/arm/include/asm/arch-tegra/gpio.h             |  15 ++--
 arch/sandbox/dts/sandbox.dts                       |  10 +++
 board/nvidia/seaboard/seaboard.c                   |   2 +-
 common/board_f.c                                   |   4 +-
 common/board_r.c                                   |  19 +++--
 common/stdio.c                                     |  18 ++++-
 doc/device-tree-bindings/serial/ns16550.txt        |  10 +++
 doc/device-tree-bindings/serial/sandbox-serial.txt |  13 ++++
 drivers/core/lists.c                               |  10 ++-
 drivers/core/root.c                                |   2 +-
 drivers/gpio/tegra_gpio.c                          | 327
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
 drivers/serial/Makefile                            |   7 +-
 drivers/serial/ns16550.c                           | 203
++++++++++++++++++++++++++++++++++++++++++++------
 drivers/serial/sandbox.c                           | 140
+++++++++++++++++++++++++++-------
 drivers/serial/serial-uclass.c                     | 213
++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/serial/serial.c                            |   1 +
 drivers/serial/serial_ns16550.c                    |  14 +---
 drivers/serial/serial_tegra.c                      |  38 ++++++++++
 include/configs/sandbox.h                          |   3 +
 include/configs/tegra-common.h                     |  11 ++-
 include/dm/lists.h                                 |   6 +-
 include/dm/uclass-id.h                             |   1 +
 include/dt-bindings/clock/tegra114-car.h           | 342
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/dt-bindings/clock/tegra124-car.h           | 342
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/dt-bindings/clock/tegra20-car.h            | 158
+++++++++++++++++++++++++++++++++++++++
 include/dt-bindings/clock/tegra30-car.h            | 273
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 include/fdtdec.h                                   |  12 +++
 include/ns16550.h                                  |  66 +++++++++++++++++
 include/serial.h                                   |  92
+++++++++++++++++++++++
 include/stdio_dev.h                                |  24 +++++-
 lib/fdtdec.c                                       |  15 ++++
 51 files changed, 2542 insertions(+), 149 deletions(-)
 create mode 100644 doc/device-tree-bindings/serial/ns16550.txt
 create mode 100644 doc/device-tree-bindings/serial/sandbox-serial.txt
 create mode 100644 drivers/serial/serial-uclass.c
 create mode 100644 drivers/serial/serial_tegra.c
 create mode 100644 include/dt-bindings/clock/tegra114-car.h
 create mode 100644 include/dt-bindings/clock/tegra124-car.h
 create mode 100644 include/dt-bindings/clock/tegra20-car.h
 create mode 100644 include/dt-bindings/clock/tegra30-car.h

Regards,
Simon

Comments

Simon Glass Sept. 12, 2014, 8:09 p.m. UTC | #1
Hi Tom (Rini),

On 10 September 2014 13:04, Simon Glass <sjg@chromium.org> wrote:
> Hi Tom,
>
> This pull includes driver model implementations for serial (uclass,
> sandbox and Tegra) as well as GPIO for Tegra, I've held off on exynos
> until we resolve some questions there. I'm not 100% sure it will make
> the release.

Sorry I forgot to cc you on this pull request. Please let me know I
need to re-issue it.

>
>
>
> The following changes since commit b7a809957bcd72c2efa49ce733774b1e28878585:
>
>   Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
> (2014-09-10 06:59:49 -0400)
>
> are available in the git repository at:
>
>   git://git.denx.de/u-boot-dm.git
>
> for you to fetch changes up to 858530a8c0a7ce7e573e513934804a00d6676813:
>
>   dm: tegra: Enable driver model for serial (2014-09-10 13:00:02 -0600)
>
> ----------------------------------------------------------------
> Simon Glass (17):
>       dm: Move pre-reloc init earlier to cope with board_early_init_f()
>       Set up stdio earlier when using driver model
>       dm: Make driver model available before board_init()
>       dm: tegra: Set up a pre-reloc malloc()
>       tegra: Convert tegra GPIO driver to use driver model
>       serial: Set up the 'priv' pointer when creating a serial device
>       dm: fdt: Add a function to look up a chosen node
>       dm: Adjust lists_bind_fdt() to return the bound device
>       dm: Add a uclass for serial devices
>       sandbox: Convert serial driver to use driver model
>       sandbox: serial: Support a coloured console
>       sandbox: dts: Add a serial console node
>       dm: serial: Move baud rate calculation to ns16550.c
>       dm: serial: Collect common baud rate code in ns16550
>       dm: serial: Add driver model support for ns16550
>       tegra: dts: Add serial port details
>       dm: tegra: Enable driver model for serial
>
>  arch/arm/dts/tegra114-dalmore.dts                  |   4 +
>  arch/arm/dts/tegra114.dtsi                         |  53 +++++++++++++
>  arch/arm/dts/tegra124-jetson-tk1.dts               |   4 +
>  arch/arm/dts/tegra124-venice2.dts                  |   4 +
>  arch/arm/dts/tegra124.dtsi                         |  66 +++++++++++++++++
>  arch/arm/dts/tegra20-colibri_t20_iris.dts          |   4 +
>  arch/arm/dts/tegra20-harmony.dts                   |   4 +
>  arch/arm/dts/tegra20-medcom-wide.dts               |   4 +
>  arch/arm/dts/tegra20-paz00.dts                     |   4 +
>  arch/arm/dts/tegra20-plutux.dts                    |   4 +
>  arch/arm/dts/tegra20-seaboard.dts                  |   4 +
>  arch/arm/dts/tegra20-tec.dts                       |   4 +
>  arch/arm/dts/tegra20-trimslice.dts                 |   4 +
>  arch/arm/dts/tegra20-ventana.dts                   |   4 +
>  arch/arm/dts/tegra20-whistler.dts                  |   4 +
>  arch/arm/dts/tegra20.dtsi                          |  51 ++++++++++---
>  arch/arm/dts/tegra30-beaver.dts                    |   4 +
>  arch/arm/dts/tegra30-cardhu.dts                    |   4 +
>  arch/arm/dts/tegra30-tamonten.dtsi                 |   4 +
>  arch/arm/dts/tegra30.dtsi                          |  66 +++++++++++++++++
>  arch/arm/include/asm/arch-tegra/gpio.h             |  15 ++--
>  arch/sandbox/dts/sandbox.dts                       |  10 +++
>  board/nvidia/seaboard/seaboard.c                   |   2 +-
>  common/board_f.c                                   |   4 +-
>  common/board_r.c                                   |  19 +++--
>  common/stdio.c                                     |  18 ++++-
>  doc/device-tree-bindings/serial/ns16550.txt        |  10 +++
>  doc/device-tree-bindings/serial/sandbox-serial.txt |  13 ++++
>  drivers/core/lists.c                               |  10 ++-
>  drivers/core/root.c                                |   2 +-
>  drivers/gpio/tegra_gpio.c                          | 327
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
>  drivers/serial/Makefile                            |   7 +-
>  drivers/serial/ns16550.c                           | 203
> ++++++++++++++++++++++++++++++++++++++++++++------
>  drivers/serial/sandbox.c                           | 140
> +++++++++++++++++++++++++++-------
>  drivers/serial/serial-uclass.c                     | 213
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/serial/serial.c                            |   1 +
>  drivers/serial/serial_ns16550.c                    |  14 +---
>  drivers/serial/serial_tegra.c                      |  38 ++++++++++
>  include/configs/sandbox.h                          |   3 +
>  include/configs/tegra-common.h                     |  11 ++-
>  include/dm/lists.h                                 |   6 +-
>  include/dm/uclass-id.h                             |   1 +
>  include/dt-bindings/clock/tegra114-car.h           | 342
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/dt-bindings/clock/tegra124-car.h           | 342
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/dt-bindings/clock/tegra20-car.h            | 158
> +++++++++++++++++++++++++++++++++++++++
>  include/dt-bindings/clock/tegra30-car.h            | 273
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/fdtdec.h                                   |  12 +++
>  include/ns16550.h                                  |  66 +++++++++++++++++
>  include/serial.h                                   |  92
> +++++++++++++++++++++++
>  include/stdio_dev.h                                |  24 +++++-
>  lib/fdtdec.c                                       |  15 ++++
>  51 files changed, 2542 insertions(+), 149 deletions(-)
>  create mode 100644 doc/device-tree-bindings/serial/ns16550.txt
>  create mode 100644 doc/device-tree-bindings/serial/sandbox-serial.txt
>  create mode 100644 drivers/serial/serial-uclass.c
>  create mode 100644 drivers/serial/serial_tegra.c
>  create mode 100644 include/dt-bindings/clock/tegra114-car.h
>  create mode 100644 include/dt-bindings/clock/tegra124-car.h
>  create mode 100644 include/dt-bindings/clock/tegra20-car.h
>  create mode 100644 include/dt-bindings/clock/tegra30-car.h
>
> Regards,
> Simon


Regards,
Simon
Tom Rini Sept. 14, 2014, 3:43 p.m. UTC | #2
On Wed, Sep 10, 2014 at 01:04:26PM -0600, Simon Glass wrote:

> Hi Tom,
> 
> This pull includes driver model implementations for serial (uclass,
> sandbox and Tegra) as well as GPIO for Tegra, I've held off on exynos
> until we resolve some questions there. I'm not 100% sure it will make
> the release.
> 
> 
> 
> The following changes since commit b7a809957bcd72c2efa49ce733774b1e28878585:
> 
>   Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze
> (2014-09-10 06:59:49 -0400)
> 
> are available in the git repository at:
> 
>   git://git.denx.de/u-boot-dm.git
> 
> for you to fetch changes up to 858530a8c0a7ce7e573e513934804a00d6676813:
> 
>   dm: tegra: Enable driver model for serial (2014-09-10 13:00:02 -0600)
> 
> ----------------------------------------------------------------
> Simon Glass (17):
>       dm: Move pre-reloc init earlier to cope with board_early_init_f()
>       Set up stdio earlier when using driver model
>       dm: Make driver model available before board_init()
>       dm: tegra: Set up a pre-reloc malloc()
>       tegra: Convert tegra GPIO driver to use driver model
>       serial: Set up the 'priv' pointer when creating a serial device
>       dm: fdt: Add a function to look up a chosen node
>       dm: Adjust lists_bind_fdt() to return the bound device
>       dm: Add a uclass for serial devices
>       sandbox: Convert serial driver to use driver model
>       sandbox: serial: Support a coloured console
>       sandbox: dts: Add a serial console node
>       dm: serial: Move baud rate calculation to ns16550.c
>       dm: serial: Collect common baud rate code in ns16550
>       dm: serial: Add driver model support for ns16550
>       tegra: dts: Add serial port details
>       dm: tegra: Enable driver model for serial
> 
>  arch/arm/dts/tegra114-dalmore.dts                  |   4 +
>  arch/arm/dts/tegra114.dtsi                         |  53 +++++++++++++
>  arch/arm/dts/tegra124-jetson-tk1.dts               |   4 +
>  arch/arm/dts/tegra124-venice2.dts                  |   4 +
>  arch/arm/dts/tegra124.dtsi                         |  66 +++++++++++++++++
>  arch/arm/dts/tegra20-colibri_t20_iris.dts          |   4 +
>  arch/arm/dts/tegra20-harmony.dts                   |   4 +
>  arch/arm/dts/tegra20-medcom-wide.dts               |   4 +
>  arch/arm/dts/tegra20-paz00.dts                     |   4 +
>  arch/arm/dts/tegra20-plutux.dts                    |   4 +
>  arch/arm/dts/tegra20-seaboard.dts                  |   4 +
>  arch/arm/dts/tegra20-tec.dts                       |   4 +
>  arch/arm/dts/tegra20-trimslice.dts                 |   4 +
>  arch/arm/dts/tegra20-ventana.dts                   |   4 +
>  arch/arm/dts/tegra20-whistler.dts                  |   4 +
>  arch/arm/dts/tegra20.dtsi                          |  51 ++++++++++---
>  arch/arm/dts/tegra30-beaver.dts                    |   4 +
>  arch/arm/dts/tegra30-cardhu.dts                    |   4 +
>  arch/arm/dts/tegra30-tamonten.dtsi                 |   4 +
>  arch/arm/dts/tegra30.dtsi                          |  66 +++++++++++++++++
>  arch/arm/include/asm/arch-tegra/gpio.h             |  15 ++--
>  arch/sandbox/dts/sandbox.dts                       |  10 +++
>  board/nvidia/seaboard/seaboard.c                   |   2 +-
>  common/board_f.c                                   |   4 +-
>  common/board_r.c                                   |  19 +++--
>  common/stdio.c                                     |  18 ++++-
>  doc/device-tree-bindings/serial/ns16550.txt        |  10 +++
>  doc/device-tree-bindings/serial/sandbox-serial.txt |  13 ++++
>  drivers/core/lists.c                               |  10 ++-
>  drivers/core/root.c                                |   2 +-
>  drivers/gpio/tegra_gpio.c                          | 327
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------
>  drivers/serial/Makefile                            |   7 +-
>  drivers/serial/ns16550.c                           | 203
> ++++++++++++++++++++++++++++++++++++++++++++------
>  drivers/serial/sandbox.c                           | 140
> +++++++++++++++++++++++++++-------
>  drivers/serial/serial-uclass.c                     | 213
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/serial/serial.c                            |   1 +
>  drivers/serial/serial_ns16550.c                    |  14 +---
>  drivers/serial/serial_tegra.c                      |  38 ++++++++++
>  include/configs/sandbox.h                          |   3 +
>  include/configs/tegra-common.h                     |  11 ++-
>  include/dm/lists.h                                 |   6 +-
>  include/dm/uclass-id.h                             |   1 +
>  include/dt-bindings/clock/tegra114-car.h           | 342
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/dt-bindings/clock/tegra124-car.h           | 342
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/dt-bindings/clock/tegra20-car.h            | 158
> +++++++++++++++++++++++++++++++++++++++
>  include/dt-bindings/clock/tegra30-car.h            | 273
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  include/fdtdec.h                                   |  12 +++
>  include/ns16550.h                                  |  66 +++++++++++++++++
>  include/serial.h                                   |  92
> +++++++++++++++++++++++
>  include/stdio_dev.h                                |  24 +++++-
>  lib/fdtdec.c                                       |  15 ++++
>  51 files changed, 2542 insertions(+), 149 deletions(-)
>  create mode 100644 doc/device-tree-bindings/serial/ns16550.txt
>  create mode 100644 doc/device-tree-bindings/serial/sandbox-serial.txt
>  create mode 100644 drivers/serial/serial-uclass.c
>  create mode 100644 drivers/serial/serial_tegra.c
>  create mode 100644 include/dt-bindings/clock/tegra114-car.h
>  create mode 100644 include/dt-bindings/clock/tegra124-car.h
>  create mode 100644 include/dt-bindings/clock/tegra20-car.h
>  create mode 100644 include/dt-bindings/clock/tegra30-car.h

Applied to u-boot/master, thanks!