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

Simon Glass sjg at chromium.org
Wed Oct 22 19:48:32 CEST 2014


Hi Tom,

This is the first lot of DM patches for this merge window.



The following changes since commit a84c8107d9b050fe8a31220d28588abfc2d99aee:

  Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq
(2014-10-20 18:17:26 -0400)

are available in the git repository at:

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

for you to fetch changes up to 8a9cd5ad6f89ab721a352cbb9264bea5ede68789:

  dm: serial: Support driver model in pl01x driver (2014-10-22 10:36:57 -0600)

----------------------------------------------------------------
Masahiro Yamada (7):
      dm: fix comments
      dm: do not check the existence of uclass operation
      dm: simplify the loop in lists_driver_lookup_name()
      linker_lists: include <linux/compiler.h>
      dm: include <linker_lists.h> from platdata.h and uclass.h
      dm: fix include guard
      dm: add of_match_ptr() macro

Nikita Kiryanov (1):
      arm: mx6: cm_fx6: use gpio request

Robert Baldyga (1):
      arm: goni: add i2c_init_board()

Simon Glass (56):
      dm: exynos: dts: Convert /include/ to #include
      dm: exynos: Bring in pinctrl dts files from Linux kernel
      dm: exynos: dts: Remove unused pinctrl information to save space
      dm: exynos: dts: Adjust device tree files for U-Boot
      dm: exynos: Add pinctrl settings for smdkc100
      dm: exynos: Add pinctrl settings for s5p_goni
      dm: exynos: Move smdkc100 to generic board
      dm: exynos: Move s5p_goni to generic board
      dm: exynos: Tidy up GPIO headers
      dm: exynos: Tidy up GPIO defines
      dm: exynos: Make sure that GPIOs are requested
      dm: exynos: gpio: Convert to driver model
      dm: exynos: Mark exynos5 console as pre-reloc
      dm: exynos: Move serial to driver model
      sandbox: dts: Add a SPI device and cros_ec device
      dm: core: Add functions for iterating through device children
      dm: core: Allow parents to pass data to children during probe
      dm: core: Add a clarifying comment on struct udevice's seq member
      dm: spi: Add a uclass for SPI
      dm: sandbox: Add a SPI emulation uclass
      dm: Remove spi_init() from board_r.c when using driver model
      dm: Add spi.h header to a few files
      dm: spi: Adjust cmd_spi to work with driver model
      dm: sandbox: spi: Move to driver model
      dm: spi: Rename soft_spi.c to soft_spi_legacy.c
      dm: spi: Remove SPI_INIT feature
      dm: spi: Add soft_spi implementation
      dm: exynos: Convert SPI to driver model
      dm: spi: Add documentation on how to convert over SPI drivers
      exynos: universal_c210: Move to driver model soft_spi
      sf: Tidy up public and private header files
      spi: Use error return value in sf_ops
      dm: sf: Add a uclass for SPI flash
      dm: Convert spi_flash_probe() and 'sf probe' to use driver model
      dm: sf: sandbox: Convert SPI flash driver to driver model
      dm: exynos: config: Use driver model for SPI flash
      dm: spi: Add tests
      dm: sf: Add tests for SPI flash
      dm: tegra: dts: Add aliases for spi on tegra30 boards
      dm: tegra: spi: Convert to driver model
      dm: cros_ec: Add support for driver model
      dm: sandbox: cros_ec: Move sandbox cros_ec to driver module
      dm: exynos: cros_ec: Move cros_ec_spi to driver model
      dm: linker_lists: Add a way to declare multiple objects
      dm: core: Allow a list of devices to be declared in one step
      initcall: Display error number when an error occurs
      dm: serial: Put common code into separate functions
      imx: Add error checking to setup_i2c()
      dm: imx: i2c: Use gpio_request() to request GPIOs
      dm: imx: gpio: Support driver model in MXC gpio driver
      dm: imx: serial: Support driver model in the MXC serial driver
      dm: imx: Move cm_fx6 to use driver model for serial and GPIO
      dm: core: Add support for simple-bus
      dm: rpi: Convert GPIO driver to driver model
      dm: serial: Tidy up the pl01x driver
      dm: serial: Support driver model in pl01x driver

 arch/arm/cpu/armv7/exynos/pinmux.c                         |   5 +-
 arch/arm/dts/exynos4.dtsi                                  |   9 +-
 arch/arm/dts/exynos4210-origen.dts                         |   4 +-
 arch/arm/dts/exynos4210-pinctrl-uboot.dtsi                 |  27 ++
 arch/arm/dts/exynos4210-pinctrl.dtsi                       | 304
++++++++++++++++++++++
 arch/arm/dts/exynos4210-smdkv310.dts                       |   2 +-
 arch/arm/dts/exynos4210-trats.dts                          |   2 +-
 arch/arm/dts/exynos4210-universal_c210.dts                 |  15 +-
 arch/arm/dts/exynos4210.dtsi                               | 156 ++++++++++++
 arch/arm/dts/exynos4412-odroid.dts                         |   2 +-
 arch/arm/dts/exynos4412-trats2.dts                         |   2 +-
 arch/arm/dts/exynos4412.dtsi                               |  38 +++
 arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi                 |  46 ++++
 arch/arm/dts/exynos4x12-pinctrl.dtsi                       | 344
+++++++++++++++++++++++++
 arch/arm/dts/exynos4x12.dtsi                               | 115 +++++++++
 arch/arm/dts/exynos5.dtsi                                  |  57 ++++-
 arch/arm/dts/exynos5250-pinctrl-uboot.dtsi                 |  40 +++
 arch/arm/dts/exynos5250-pinctrl.dtsi                       | 331
++++++++++++++++++++++++
 arch/arm/dts/exynos5250-smdk5250.dts                       |   2 +-
 arch/arm/dts/exynos5250-snow.dts                           |  10 +-
 arch/arm/dts/exynos5250.dtsi                               |  41 ++-
 arch/arm/dts/exynos5420-peach-pit.dts                      |   3 +-
 arch/arm/dts/exynos5420-smdk5420.dts                       |   2 +-
 arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi                 |  40 +++
 arch/arm/dts/exynos54xx-pinctrl.dtsi                       | 305
++++++++++++++++++++++
 arch/arm/dts/exynos54xx.dtsi                               |  44 +++-
 arch/arm/dts/s5pc100-pinctrl.dtsi                          | 180 +++++++++++++
 arch/arm/dts/s5pc110-pinctrl.dtsi                          | 273
++++++++++++++++++++
 arch/arm/dts/s5pc1xx-goni.dts                              |   7 +
 arch/arm/dts/s5pc1xx-smdkc100.dts                          |   7 +
 arch/arm/dts/tegra20-trimslice.dts                         |   1 +
 arch/arm/dts/tegra30-beaver.dts                            |   1 +
 arch/arm/dts/tegra30-cardhu.dts                            |   1 +
 arch/arm/dts/tegra30-colibri.dts                           |   1 +
 arch/arm/imx-common/i2c-mxv7.c                             |  49 +++-
 arch/arm/include/asm/arch-bcm2835/gpio.h                   |   9 +
 arch/arm/include/asm/arch-exynos/gpio.h                    |  87 +++----
 arch/arm/include/asm/arch-s5pc1xx/gpio.h                   |   7 +-
 arch/arm/include/asm/arch-tegra114/tegra114_spi.h          |  41 ---
 arch/arm/include/asm/arch-tegra20/tegra20_sflash.h         |  41 ---
 arch/arm/include/asm/arch-tegra20/tegra20_slink.h          |  41 ---
 arch/arm/include/asm/imx-common/mxc_i2c.h                  |   4 +-
 arch/sandbox/dts/sandbox.dts                               |  26 ++
 arch/sandbox/include/asm/spi.h                             |  13 -
 arch/sandbox/include/asm/state.h                           |   2 +-
 board/buffalo/lsxl/lsxl.c                                  |   3 +-
 board/compulab/cm_fx6/cm_fx6.c                             | 183 +++++++++----
 board/nvidia/common/board.c                                |   3 +-
 board/raspberrypi/rpi_b/rpi_b.c                            |  11 +
 board/renesas/sh7752evb/sh7752evb.c                        |   1 +
 board/renesas/sh7753evb/sh7753evb.c                        |   1 +
 board/renesas/sh7757lcr/sh7757lcr.c                        |   1 +
 board/samsung/arndale/arndale.c                            |   4 +-
 board/samsung/common/board.c                               |   5 +-
 board/samsung/common/misc.c                                |   3 +-
 board/samsung/goni/goni.c                                  |  14 +-
 board/samsung/origen/origen.c                              |   2 +-
 board/samsung/smdk5250/exynos5-dt.c                        |   7 +
 board/samsung/smdk5420/smdk5420.c                          |   6 +-
 board/samsung/smdkc100/smdkc100.c                          |   2 +-
 board/samsung/smdkv310/smdkv310.c                          |   2 +-
 board/samsung/trats/trats.c                                |  17 +-
 board/samsung/trats2/trats2.c                              |  27 +-
 board/samsung/universal_c210/universal.c                   |  56 +---
 common/board_r.c                                           |   2 +-
 common/cmd_sf.c                                            |  26 ++
 common/cmd_spi.c                                           |  39 ++-
 common/cros_ec.c                                           |  30 +++
 common/env_sf.c                                            |   1 +
 common/exports.c                                           |   4 +-
 doc/device-tree-bindings/mtd/spi/spi-flash.txt             |  25 ++
 doc/device-tree-bindings/spi/soft-spi.txt                  |  34 +++
 doc/driver-model/README.txt                                |   7 +-
 doc/driver-model/spi-howto.txt                             | 594
+++++++++++++++++++++++++++++++++++++++++++
 drivers/core/Makefile                                      |   1 +
 drivers/core/device.c                                      |  36 ++-
 drivers/core/lists.c                                       |   9 +-
 drivers/core/simple-bus.c                                  |  33 +++
 drivers/core/uclass.c                                      |   4 -
 drivers/dfu/dfu_sf.c                                       |   1 +
 drivers/gpio/bcm2835_gpio.c                                | 180 +++++++++++--
 drivers/gpio/mxc_gpio.c                                    | 304
+++++++++++++++++++++-
 drivers/gpio/s5p_gpio.c                                    | 446
+++++++++++++++++++++-----------
 drivers/misc/cros_ec.c                                     | 122 ++++++++-
 drivers/misc/cros_ec_sandbox.c                             |  99 +++++++-
 drivers/misc/cros_ec_spi.c                                 |  87 ++++++-
 drivers/mmc/s5p_sdhci.c                                    |   7 +-
 drivers/mtd/spi/Makefile                                   |   7 +-
 drivers/mtd/spi/ramtron.c                                  |   1 +
 drivers/mtd/spi/sandbox.c                                  | 338
++++++++++++++++++++----
 drivers/mtd/spi/sf-uclass.c                                |  63 +++++
 drivers/mtd/spi/sf_internal.h                              |  67 ++++-
 drivers/mtd/spi/sf_params.c                                |   1 +
 drivers/mtd/spi/sf_probe.c                                 | 154 ++++++++---
 drivers/mtd/spi/spi_spl_load.c                             |   1 +
 drivers/serial/Makefile                                    |   5 +-
 drivers/serial/serial-uclass.c                             |  32 +--
 drivers/serial/serial_mxc.c                                | 170 +++++++++++--
 drivers/serial/serial_pl01x.c                              | 373
+++++++++++++++++----------
 drivers/serial/{serial_pl01x.h => serial_pl01x_internal.h} |   0
 drivers/serial/serial_s5p.c                                | 255
++++++-------------
 drivers/spi/Makefile                                       |   9 +-
 drivers/spi/exynos_spi.c                                   | 513
+++++++++++++------------------------
 drivers/spi/fdt_spi.c                                      | 186 --------------
 drivers/spi/sandbox_spi.c                                  | 200
++++++---------
 drivers/spi/soft_spi.c                                     | 227
+++++++++++------
 drivers/spi/soft_spi_legacy.c                              | 176 +++++++++++++
 drivers/spi/spi-emul-uclass.c                              |  15 ++
 drivers/spi/spi-uclass.c                                   | 390
++++++++++++++++++++++++++++
 drivers/spi/tegra114_spi.c                                 | 254
+++++++++---------
 drivers/spi/tegra20_sflash.c                               | 238
+++++++++--------
 drivers/spi/tegra20_slink.c                                | 235
++++++++---------
 drivers/spi/tegra_spi.h                                    |  12 +
 include/configs/cm_fx6.h                                   |  11 +
 include/configs/exynos-common.h                            |   7 +
 include/configs/peach-pit.h                                |   1 +
 include/configs/rpi_b.h                                    |   5 +
 include/configs/s5p_goni.h                                 |   8 +
 include/configs/s5pc210_universal.h                        |  12 +-
 include/configs/sacsng.h                                   |   1 -
 include/configs/sandbox.h                                  |   5 +-
 include/configs/smdkc100.h                                 |   6 +
 include/configs/tegra-common-post.h                        |   2 +-
 include/configs/tegra-common.h                             |   2 +
 include/configs/zipitz2.h                                  |   1 -
 include/cros_ec.h                                          |  27 +-
 include/dm/device-internal.h                               |  13 +
 include/dm/device.h                                        |  31 ++-
 include/dm/lists.h                                         |   4 +-
 include/dm/platdata.h                                      |   8 +-
 include/dm/uclass-id.h                                     |   6 +
 include/dm/uclass.h                                        |   1 +
 include/dm/util.h                                          |   1 +
 include/linker_lists.h                                     |  23 ++
 include/serial_mxc.h                                       |  14 +
 include/serial_pl01x.h                                     |  27 ++
 include/spi.h                                              | 299
+++++++++++++++++++++-
 include/spi_flash.h                                        | 127 +++++----
 lib/initcall.c                                             |   8 +-
 test/dm/Makefile                                           |   2 +
 test/dm/bus.c                                              |  31 +++
 test/dm/sf.c                                               |  43 ++++
 test/dm/spi.c                                              | 127 +++++++++
 test/dm/test-dm.sh                                         |   2 +
 test/dm/test.dts                                           |  17 +-
 145 files changed, 7808 insertions(+), 2162 deletions(-)
 create mode 100644 arch/arm/dts/exynos4210-pinctrl-uboot.dtsi
 create mode 100644 arch/arm/dts/exynos4210-pinctrl.dtsi
 create mode 100644 arch/arm/dts/exynos4210.dtsi
 create mode 100644 arch/arm/dts/exynos4412.dtsi
 create mode 100644 arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi
 create mode 100644 arch/arm/dts/exynos4x12-pinctrl.dtsi
 create mode 100644 arch/arm/dts/exynos4x12.dtsi
 create mode 100644 arch/arm/dts/exynos5250-pinctrl-uboot.dtsi
 create mode 100644 arch/arm/dts/exynos5250-pinctrl.dtsi
 create mode 100644 arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi
 create mode 100644 arch/arm/dts/exynos54xx-pinctrl.dtsi
 create mode 100644 arch/arm/dts/s5pc100-pinctrl.dtsi
 create mode 100644 arch/arm/dts/s5pc110-pinctrl.dtsi
 delete mode 100644 arch/arm/include/asm/arch-tegra114/tegra114_spi.h
 delete mode 100644 arch/arm/include/asm/arch-tegra20/tegra20_sflash.h
 delete mode 100644 arch/arm/include/asm/arch-tegra20/tegra20_slink.h
 create mode 100644 doc/device-tree-bindings/mtd/spi/spi-flash.txt
 create mode 100644 doc/device-tree-bindings/spi/soft-spi.txt
 create mode 100644 doc/driver-model/spi-howto.txt
 create mode 100644 drivers/core/simple-bus.c
 create mode 100644 drivers/mtd/spi/sf-uclass.c
 rename drivers/serial/{serial_pl01x.h => serial_pl01x_internal.h} (100%)
 delete mode 100644 drivers/spi/fdt_spi.c
 create mode 100644 drivers/spi/soft_spi_legacy.c
 create mode 100644 drivers/spi/spi-emul-uclass.c
 create mode 100644 drivers/spi/spi-uclass.c
 create mode 100644 drivers/spi/tegra_spi.h
 create mode 100644 include/serial_mxc.h
 create mode 100644 include/serial_pl01x.h
 create mode 100644 test/dm/sf.c
 create mode 100644 test/dm/spi.c


Regards,
Simon


More information about the U-Boot mailing list