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

Simon Glass sjg at chromium.org
Fri May 15 16:07:00 CEST 2015


Hi Tom,

This includes Przemyslaw's PMIC framework for driver model and the
rest of Han's OHCI work which was requested to come through the driver
model tree instead of USB,

The MXC GPIO_PORTx patch (and its friend) were sent only yesterday,
but the v5 version just includes a change requested after I had
already applied it. I dropped the v4 patches when I rebased against
mainline, and added the v5.


The following changes since commit 4588d61a284aa2306d4b83954a650c066f1f569c:

  arch/arm/lib/bootm-fdt.c: Guard the include of <asm/armv7.h>
(2015-05-14 11:07:03 -0400)

are available in the git repository at:

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

for you to fetch changes up to 19f74d885f4bfa714010efbe2eea496045002c72:

  sandbox: defconfig: enable support of sandbox PMIC drivers
(2015-05-14 20:00:00 -0600)

----------------------------------------------------------------
Hans de Goede (19):
      usb: Fix handover of full-speed devices from ehci to companion
      usb: usb_control_msg() propagate controller error code
      usb: legacy_hub_port_reset() check and propagate
usb_set_port_feature() errors
      usb: Stop reset procedure when a dev is handed over to a companion hcd
      dm: usb: Prefix ehci interrupt-queue functions with _ehci_
      dm: usb: Add support for interrupt queues to the dm usb code
      dm: usb: Move printing of usb scan status to usb_scan_bus()
      dm: usb: Add support for companion controllers
      dm: usb: Do not scan companion buses if no devices where handed over
      usb: ohci: Do not resubmit and leak urbs for interrupt packets
      usb: ohci: Remove unnecessary delays from hc_start and power
power-on paths
      usb: ohci: Skip unnecessary mdelay(1) calls in various places
      usb: ohci: Add dm support
      sunxi: ehci: Convert to the driver-model
      sunxi: ohci: Add ohci usb host controller support
      usb: ohci: Do not reuse ed for interrupt endpoints of different devices
      usb: ohci: Add an ohci_alloc_urb() function
      usb: ohci: Add support for interrupt queues
      sunxi: Change usb-kbd interrupt polling to use an usb interrupt queue

Peng Fan (2):
      imx: mx27 move GPIO_PORTx to gpio.h
      i2c: mxc: refactor i2c driver and support dm

Przemyslaw Marczak (26):
      exynos5: fix build break by adding CONFIG_POWER
      exynos4-common: remove the unsued CONFIG_CMD_PMIC
      lib: Kconfig: add entry for errno_str() function
      dm: pmic: add implementation of driver model pmic uclass
      dm: regulator: add implementation of driver model regulator uclass
      dm: pmic: add pmic command
      dm: regulator: add regulator command
      pmic: max77686 set the same compatible as in the kernel
      dm: pmic: add max77686 pmic driver
      dm: regulator: add max77686 regulator driver
      dm: regulator: add fixed voltage regulator driver
      doc: driver-model: pmic and regulator uclass documentation
      dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC
      odroid: dts: add 'voltage-regulators' description to max77686 node
      odroid: enable driver model pmic/regulator API and MAX77686 drivers
      dm: pmic: code cleanup of PMIC uclass driver
      dm: regulator: uclass driver code cleanup
      common: cmd pmic: command cleanup
      common: cmd regulator: command cleanup
      doc: driver-model: pmic-framework.txt - cleanup
      sandbox: i2c: search child emul dev and check its uclass id
      sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator
      test: dm: add sandbox PMIC framework tests
      test: dm: test.dts - move to sandbox dts directory
      sandbox: dts: add sandbox_pmic.dtsi and include it to
sandbox.dts and test.dts
      sandbox: defconfig: enable support of sandbox PMIC drivers

Simon Glass (14):
      bootstage: Add IDs for SPI flash reading and decompression
      dm: i2c: Implement 'i2c bus' command for driver model
      dm: i2c: Add a function to find out the chip offset length
      tpm: Support using driver model with I2C
      tpm: Rename Infineon TPM to slb9645tt
      dm: gpio: Fix comment typo in GPIOD_IS_IN
      arm: Include the .got section in the binary
      arm: Add a prototype for save_boot_params_ret()
      sandbox: Correct error handling in state_read_file()
      sandbox: Add missing errno.h includes in a few files
      sandbox: cros_ec: Support EC_CMD_ENTERING_MODE emulation
      sandbox: spi: Add newline to printf() in sandbox_sf_probe
      sandbox: Fix warning in display_options
      sandbox: Support wide-screen LCD emulation

Vincent Palatin (1):
      usb: add device connection/disconnection detection

 Makefile                                         |   3 +-
 arch/arm/config.mk                               |   3 +-
 arch/arm/dts/exynos4412-odroid.dts               | 255 ++++++++++++++++++++-
 arch/arm/dts/exynos4412-trats2.dts               |   2 +-
 arch/arm/dts/exynos5250-smdk5250.dts             |   2 +-
 arch/arm/dts/exynos5250-snow.dts                 |   2 +-
 arch/arm/dts/exynos5420-peach-pit.dts            |   2 +-
 arch/arm/dts/exynos5800-peach-pi.dts             |   2 +-
 arch/arm/imx-common/i2c-mxv7.c                   |   7 +-
 arch/arm/include/asm/arch-mx27/gpio.h            |  20 ++
 arch/arm/include/asm/arch-mx27/imx-regs.h        |  22 --
 arch/arm/include/asm/arch-sunxi/clock_sun4i.h    |   2 +
 arch/arm/include/asm/arch-sunxi/clock_sun6i.h    |   2 +
 arch/arm/include/asm/imx-common/mxc_i2c.h        |  38 +++-
 arch/arm/include/asm/system.h                    |  16 ++
 arch/sandbox/cpu/start.c                         |   1 +
 arch/sandbox/cpu/state.c                         |   2 +-
 arch/sandbox/dts/Makefile                        |   1 +
 arch/sandbox/dts/sandbox.dts                     |   8 +-
 arch/sandbox/dts/sandbox_pmic.dtsi               |  78 +++++++
 {test/dm => arch/sandbox/dts}/test.dts           |  28 +--
 board/samsung/common/board.c                     |   4 +-
 board/samsung/common/misc.c                      |   1 +
 board/samsung/odroid/odroid.c                    |  76 ++++---
 board/sunxi/Kconfig                              |   3 +
 common/Kconfig                                   |  36 +++
 common/Makefile                                  |   4 +
 common/cmd_i2c.c                                 |  63 +++++-
 common/cmd_pmic.c                                | 210 +++++++++++++++++
 common/cmd_regulator.c                           | 408
+++++++++++++++++++++++++++++++++
 common/usb.c                                     |  32 ++-
 common/usb_hub.c                                 |  11 +-
 configs/odroid_defconfig                         |   7 +
 configs/sandbox_defconfig                        |   7 +
 doc/device-tree-bindings/pmic/max77686.txt       |  35 +++
 doc/device-tree-bindings/pmic/sandbox.txt        |  35 +++
 doc/device-tree-bindings/regulator/fixed.txt     |  38 ++++
 doc/device-tree-bindings/regulator/max77686.txt  |  70 ++++++
 doc/device-tree-bindings/regulator/regulator.txt |  54 +++++
 doc/device-tree-bindings/regulator/sandbox.txt   |  45 ++++
 doc/driver-model/pmic-framework.txt              | 140 ++++++++++++
 drivers/i2c/i2c-uclass.c                         |   7 +
 drivers/i2c/mxc_i2c.c                            | 581
++++++++++++++++++++++++++++++++---------------
 drivers/i2c/sandbox_i2c.c                        |  20 +-
 drivers/misc/cros_ec_sandbox.c                   |   2 +
 drivers/misc/i2c_eeprom_emul.c                   |   1 +
 drivers/misc/swap_case.c                         |   1 +
 drivers/mtd/spi/sandbox.c                        |   2 +-
 drivers/power/Kconfig                            |   8 +
 drivers/power/Makefile                           |   1 -
 drivers/power/pmic/Kconfig                       |  43 ++++
 drivers/power/pmic/Makefile                      |   3 +
 drivers/power/pmic/i2c_pmic_emul.c               | 142 ++++++++++++
 drivers/power/pmic/max77686.c                    |  92 ++++++++
 drivers/power/pmic/pmic-uclass.c                 | 145 ++++++++++++
 drivers/power/pmic/pmic_max77686.c               |   2 +-
 drivers/power/pmic/sandbox.c                     |  79 +++++++
 drivers/power/regulator/Kconfig                  |  63 ++++++
 drivers/power/regulator/Makefile                 |  11 +
 drivers/power/regulator/fixed.c                  | 126 +++++++++++
 drivers/power/regulator/max77686.c               | 825
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/power/regulator/regulator-uclass.c       | 332
+++++++++++++++++++++++++++
 drivers/power/regulator/sandbox.c                | 355
+++++++++++++++++++++++++++++
 drivers/tpm/tpm.c                                |  89 +++++++-
 drivers/tpm/tpm_private.h                        |   3 +
 drivers/tpm/tpm_tis_i2c.c                        | 134 +++++++----
 drivers/usb/host/Makefile                        |   1 +
 drivers/usb/host/ehci-hcd.c                      |  82 +++++--
 drivers/usb/host/ehci-sunxi.c                    |  93 +++++---
 drivers/usb/host/ohci-hcd.c                      | 354
++++++++++++++++++++++++-----
 drivers/usb/host/ohci-sunxi.c                    | 104 +++++++++
 drivers/usb/host/ohci.h                          |  11 +
 drivers/usb/host/usb-uclass.c                    | 117 ++++++++--
 include/asm-generic/gpio.h                       |   2 +-
 include/bootstage.h                              |   2 +
 include/configs/exynos4-common.h                 |   1 -
 include/configs/exynos5-common.h                 |   4 +
 include/configs/odroid.h                         |   5 -
 include/configs/sunxi-common.h                   |   3 +
 include/dm/uclass-id.h                           |   4 +
 include/dt-bindings/pmic/sandbox_pmic.h          |  35 +++
 include/ec_commands.h                            |  15 ++
 include/i2c.h                                    |   9 +-
 include/power/max77686_pmic.h                    |  29 ++-
 include/power/pmic.h                             | 192 +++++++++++++++-
 include/power/regulator.h                        | 386
+++++++++++++++++++++++++++++++
 include/power/sandbox_pmic.h                     | 138 ++++++++++++
 include/usb.h                                    |  53 ++++-
 lib/Kconfig                                      |   8 +
 lib/display_options.c                            |   2 +-
 lib/fdtdec.c                                     |   4 +-
 test/dm/.gitignore                               |   1 -
 test/dm/Makefile                                 |   2 +
 test/dm/pmic.c                                   |  69 ++++++
 test/dm/regulator.c                              | 325
+++++++++++++++++++++++++++
 test/dm/test-dm.sh                               |   3 +-
 test/dm/test-main.c                              |   3 +-
 97 files changed, 6401 insertions(+), 498 deletions(-)
 create mode 100644 arch/sandbox/dts/sandbox_pmic.dtsi
 rename {test/dm => arch/sandbox/dts}/test.dts (93%)
 create mode 100644 common/cmd_pmic.c
 create mode 100644 common/cmd_regulator.c
 create mode 100644 doc/device-tree-bindings/pmic/max77686.txt
 create mode 100644 doc/device-tree-bindings/pmic/sandbox.txt
 create mode 100644 doc/device-tree-bindings/regulator/fixed.txt
 create mode 100644 doc/device-tree-bindings/regulator/max77686.txt
 create mode 100644 doc/device-tree-bindings/regulator/regulator.txt
 create mode 100644 doc/device-tree-bindings/regulator/sandbox.txt
 create mode 100644 doc/driver-model/pmic-framework.txt
 create mode 100644 drivers/power/pmic/Kconfig
 create mode 100644 drivers/power/pmic/i2c_pmic_emul.c
 create mode 100644 drivers/power/pmic/max77686.c
 create mode 100644 drivers/power/pmic/pmic-uclass.c
 create mode 100644 drivers/power/pmic/sandbox.c
 create mode 100644 drivers/power/regulator/Kconfig
 create mode 100644 drivers/power/regulator/Makefile
 create mode 100644 drivers/power/regulator/fixed.c
 create mode 100644 drivers/power/regulator/max77686.c
 create mode 100644 drivers/power/regulator/regulator-uclass.c
 create mode 100644 drivers/power/regulator/sandbox.c
 create mode 100644 drivers/usb/host/ohci-sunxi.c
 create mode 100644 include/dt-bindings/pmic/sandbox_pmic.h
 create mode 100644 include/power/regulator.h
 create mode 100644 include/power/sandbox_pmic.h
 delete mode 100644 test/dm/.gitignore
 create mode 100644 test/dm/pmic.c
 create mode 100644 test/dm/regulator.c

Regards,
Simon


More information about the U-Boot mailing list