U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Please pull u-boot-dm.git
@ 2014-10-28  1:30 Simon Glass
  2014-10-28 22:54 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-10-28  1:30 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Here are the DM fixes for exynos boards. I am bring these through the
DM tree since they directly relate to the GPIO conversion recently
done through that tree.

There are three more patches to come, but I have requested changes.
Przemyslaw please can you base the v2 of those patches on dm/master?


The following changes since commit 3664816ffda6e619e0ad44fc02930a2b8929e0bf:

  git-mailrc: add pmic custodian (2014-10-27 17:54:14 -0400)

are available in the git repository at:

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

for you to fetch changes up to 6bc98f50e5700a8df126e21b14903579a8c781cf:

  odroid: dts: fix name of included dtsi (2014-10-27 19:21:08 -0600)

----------------------------------------------------------------
Przemyslaw Marczak (11):
      mmc: s5p: set SD detection pin as input
      exynos: common: enable generic fs operations
      exynos4412: dts: fix bad gpio order in pinctrl
      exynos4412: dts: adjust pinctrl-uboot to changed gpio order
      exynos4210: dts: fix gpio offset in pinctrl-uboot
      universal: request soft i2c gpio
      universal: dts: adjust gpio numbers to new api
      trats: dts: adjust gpio numbers to new api
      trats2: dts: adjust gpio numbers after gpio rework
      odroid: dts: adjust sd cd-gpios for SD Card
      odroid: dts: fix name of included dtsi

 arch/arm/dts/exynos4210-pinctrl-uboot.dtsi |  2 +-
 arch/arm/dts/exynos4210-trats.dts          |  4 +--
 arch/arm/dts/exynos4210-universal_c210.dts |  4 +--
 arch/arm/dts/exynos4412-odroid.dts         |  4 +--
 arch/arm/dts/exynos4412-trats2.dts         |  6 ++--
 arch/arm/dts/exynos4x12-pinctrl-uboot.dtsi |  5 +--
 arch/arm/dts/exynos4x12-pinctrl.dtsi       | 54 +++++++++++++++---------------
 board/samsung/universal_c210/universal.c   |  9 +++++
 drivers/mmc/s5p_sdhci.c                    |  2 +-
 include/configs/exynos-common.h            |  1 +
 10 files changed, 49 insertions(+), 42 deletions(-)

Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2015-05-15 14:07 Simon Glass
  2015-05-16 11:36 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2015-05-15 14:07 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-10-24  3:56 Simon Glass
  2014-10-27  0:35 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-10-24  3:56 UTC (permalink / raw)
  To: u-boot

Hi Tom,

This is the second lot of driver model changes, including OMAP which I
believe is ready. Remaining is SPL, Atmel AT91 and sunxi, all of which
need either a respin or more review time so I will revisit those next
week.


The following changes since commit 5b3ee386fde82a1ba42ff09b95247842c9a1585e:

  kbuild: clear VENDOR variable to fix build error on tcsh (2014-10-23
16:35:12 -0400)

are available in the git repository at:

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

for you to fetch changes up to c2ded962d4703a3f9522553004db4a6fe540f7e6:

  serial: remove uniphier_serial_initialize() call (2014-10-23 21:43:09 -0600)

----------------------------------------------------------------
Masahiro Yamada (9):
      dm: move platform data headers to include/dm/platform_data
      serial: add static directive to local functions
      dm: serial: fix console putc
      dm: serial: remove unnecessary casting
      dm: serial: consolidate common code more
      dm: add entries to Kconfig
      dm: serial: use Driver Model for UniPhier serial driver
      serial: uniphier: move CONFIG_UNIPHIER_SERIAL to Kconfig
      serial: remove uniphier_serial_initialize() call

Simon Glass (40):
      dm: gpio: Support numbered GPIOs
      dm: serial: Reset the watchdog while waiting in getc()
      dm: serial: ns16550: Correct logic for checking for character
      dm: ns16550: Use an address instead of a pointer for the uart base
      dm: ns16550: Correct the probe logic for platform data
      dm: serial: Support CONFIG_CONS_INDEX if available
      dm: dts: omap: Select correct console for beaglebone
      dm: omap: gpio: Put _get_gpio_value() logic into its own function
      dm: omap: gpio: Support driver model
      dm: am33xx: Provide platform data for GPIOs
      dm: am33xx: Provide platform data for serial
      dm: omap: serial: Add driver model support
      dm: am335x: Remove serial options from CONFIG_SYS_EXTRA_OPTIONS
      dm: am33xx: Move to driver model for GPIO and serial
      dm: omap3: Move to driver model for GPIO and serial
      dm: gpio: Implement GPIO reservation in the uclass
      dm: gpio: Add gpio_get_function() and friends
      dm: Move the function for getting GPIO status into the uclass
      dm: gpio: sandbox: Implement the get_function() method
      dm: gpio: sandbox: Implement the remove() method
      dm: gpio: sandbox: Drop request()/free() in the driver
      test: dm: Update GPIO tests for new gpio_request() method
      dm: gpio: Add gpio_requestf() helper for printf() strings
      test: dm: Support memory leak checking as a core feature
      test: dm: Add additional GPIO tests
      dm: gpio: tegra: Drop request()/free() in the driver
      dm: gpio: omap3: Drop request()/free() in the driver
      dm: gpio: rpi_b: Drop request()/free() in the driver
      dm: gpio: exynos: Drop request()/free() in the driver
      dm: gpio: imx: Drop request()/free() in the driver
      dm: dts: Move omap device tree includes to correct place
      dm: gpio: Remove unused get_state() uclass method
      dm: serial: ns16550: Add a cast to the I/O operations
      dm: x86: Remove ebp assembler warning in zimage.c
      dm: x86: Zero global data before board_init_f()
      dm: x86: Support pre-reloc malloc()
      dm: x86: Add a gpio header for coreboot
      dm: x86: Convert Intel ICH6 GPIO driver to use driver model
      dm: x86: dts: Add additional info to the serial port node
      dm: x86: Convert coreboot serial to use driver model

 arch/arm/cpu/armv7/am33xx/board.c                      |  61 ++++++++++++
 arch/arm/cpu/armv7/omap3/board.c                       |  26 ++++-
 arch/arm/cpu/armv7/uniphier/ph1-ld4/Makefile           |   1 +
 arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c       |  15 +++
 arch/arm/cpu/armv7/uniphier/ph1-pro4/Makefile          |   1 +
 arch/arm/cpu/armv7/uniphier/ph1-pro4/platdevice.c      |  15 +++
 arch/arm/cpu/armv7/uniphier/ph1-sld8/Makefile          |   1 +
 arch/arm/cpu/armv7/uniphier/ph1-sld8/platdevice.c      |  15 +++
 arch/arm/dts/am335x-bone-common.dtsi                   |   4 +
 arch/arm/dts/dt-bindings/gpio/gpio.h                   |  15 ---
 arch/arm/include/asm/arch-uniphier/platdevice.h        |  24 +++++
 arch/arm/include/asm/omap_gpio.h                       |  19 +++-
 arch/x86/cpu/start.S                                   |  13 +++
 arch/x86/dts/coreboot.dtsi                             |   9 +-
 arch/x86/dts/link.dts                                  |  18 +++-
 arch/x86/include/asm/arch-coreboot/gpio.h              |  15 +++
 arch/x86/include/asm/gpio.h                            |   1 +
 arch/x86/include/asm/ibmpc.h                           |  10 --
 arch/x86/lib/zimage.c                                  |   1 -
 board/compulab/cm_fx6/cm_fx6.c                         |   2 +-
 board/isee/igep00x0/igep00x0.c                         |  13 +++
 board/logicpd/zoom1/zoom1.c                            |  13 +++
 board/overo/overo.c                                    |  13 +++
 board/ti/beagle/beagle.c                               |  47 +++++----
 board/ti/beagle/led.c                                  |  61 ++++++------
 common/cmd_gpio.c                                      |  57 ++++-------
 configs/am335x_boneblack_defconfig                     |   2 +-
 configs/am335x_boneblack_vboot_defconfig               |   2 +-
 configs/ph1_ld4_defconfig                              |   3 +
 configs/ph1_pro4_defconfig                             |   3 +
 configs/ph1_sld8_defconfig                             |   3 +
 doc/driver-model/README.txt                            |  29 +++++-
 drivers/core/Kconfig                                   |   6 ++
 drivers/gpio/Kconfig                                   |   6 ++
 drivers/gpio/bcm2835_gpio.c                            |  89 -----------------
 drivers/gpio/gpio-uclass.c                             | 236
++++++++++++++++++++++++++++++++++++++++-----
 drivers/gpio/intel_ich6_gpio.c                         | 250
+++++++++++++++++++++++-------------------------
 drivers/gpio/mxc_gpio.c                                | 116
----------------------
 drivers/gpio/omap_gpio.c                               | 183
++++++++++++++++++++++++++++-------
 drivers/gpio/s5p_gpio.c                                | 101
-------------------
 drivers/gpio/sandbox.c                                 |  93 +++---------------
 drivers/gpio/tegra_gpio.c                              | 113
----------------------
 drivers/mmc/omap_hsmmc.c                               |  15 ++-
 drivers/serial/Kconfig                                 |  12 +++
 drivers/serial/Makefile                                |   2 +
 drivers/serial/ns16550.c                               |  17 ++--
 drivers/serial/serial-uclass.c                         |  99
++++++++++---------
 drivers/serial/serial.c                                |   2 -
 drivers/serial/serial_coreboot.c                       |  38 ++++++++
 drivers/serial/serial_mxc.c                            |   2 +-
 drivers/serial/serial_ns16550.c                        |  21 ++--
 drivers/serial/serial_omap.c                           |  47 +++++++++
 drivers/serial/serial_pl01x.c                          |   2 +-
 drivers/serial/serial_s3c24x0.c                        |  10 +-
 drivers/serial/serial_uniphier.c                       | 199
++++++++++++++------------------------
 drivers/spi/Kconfig                                    |   6 ++
 include/asm-generic/gpio.h                             |  70 +++++++++++++-
 include/common.h                                       |   7 --
 include/configs/coreboot.h                             |  22 ++---
 include/configs/ph1_ld4.h                              |   6 +-
 include/configs/ph1_pro4.h                             |   6 +-
 include/configs/ph1_sld8.h                             |   6 +-
 include/configs/ti_am335x_common.h                     |  11 +++
 include/configs/ti_omap3_common.h                      |  19 +++-
 include/configs/uniphier-common.h                      |   7 +-
 include/dm/platform_data/serial-uniphier.h             |  18 ++++
 include/{ => dm/platform_data}/serial_mxc.h            |   0
 include/{ => dm/platform_data}/serial_pl01x.h          |   0
 include/dm/test.h                                      |  23 +++++
 {arch/arm/dts => include}/dt-bindings/pinctrl/am33xx.h |   0
 {arch/arm/dts => include}/dt-bindings/pinctrl/omap.h   |   0
 include/ns16550.h                                      |   2 +-
 test/dm/core.c                                         |  46 +++++----
 test/dm/gpio.c                                         | 111
++++++++++++++++-----
 test/dm/test-main.c                                    |   2 +
 75 files changed, 1433 insertions(+), 1100 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/uniphier/ph1-ld4/platdevice.c
 create mode 100644 arch/arm/cpu/armv7/uniphier/ph1-pro4/platdevice.c
 create mode 100644 arch/arm/cpu/armv7/uniphier/ph1-sld8/platdevice.c
 delete mode 100644 arch/arm/dts/dt-bindings/gpio/gpio.h
 create mode 100644 arch/arm/include/asm/arch-uniphier/platdevice.h
 create mode 100644 arch/x86/include/asm/arch-coreboot/gpio.h
 create mode 100644 drivers/serial/serial_coreboot.c
 create mode 100644 drivers/serial/serial_omap.c
 create mode 100644 include/dm/platform_data/serial-uniphier.h
 rename include/{ => dm/platform_data}/serial_mxc.h (100%)
 rename include/{ => dm/platform_data}/serial_pl01x.h (100%)
 rename {arch/arm/dts => include}/dt-bindings/pinctrl/am33xx.h (100%)
 rename {arch/arm/dts => include}/dt-bindings/pinctrl/omap.h (100%)

Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-10-22 17:48 Simon Glass
  2014-10-23  0:09 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-10-22 17:48 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-09-23 18:47 Simon Glass
  2014-09-23 19:58 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-09-23 18:47 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Here are some bug fixes for dm.


The following changes since commit 2a8c9c86b92a9ccee3c27286de317e19bb0530b3:

  Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' (2014-09-21
16:56:44 +0200)

are available in the git repository at:

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

for you to fetch changes up to cae025aab3e8ea8ad455cce8b0e4647401cdd091:

  dm: avoid dev->req_seq overflow (2014-09-23 12:44:31 -0600)

----------------------------------------------------------------
Robert Baldyga (1):
      dm: avoid dev->req_seq overflow

Simon Glass (4):
      dm: Fix repeated comment in README
      sf: Add an empty entry to the parameter list
      dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL
      dm: serial: Don't require device tree to configure a console

 README                         | 5 +----
 drivers/core/device.c          | 9 +++++++--
 drivers/mtd/spi/sf_params.c    | 1 +
 drivers/serial/serial-uclass.c | 3 ++-
 4 files changed, 11 insertions(+), 7 deletions(-)


Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-09-10 19:04 Simon Glass
  2014-09-12 20:09 ` Simon Glass
  2014-09-14 15:43 ` Tom Rini
  0 siblings, 2 replies; 24+ messages in thread
From: Simon Glass @ 2014-09-10 19:04 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-09-02  0:15 Simon Glass
  2014-09-02 12:22 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-09-02  0:15 UTC (permalink / raw)
  To: u-boot

Hi Tom,

I have to leave off the exynos and tegra patches while I wait for
feedback. But here are some GPIO enhancements that might as well go
in.

Next will be serial, but it needs a rev first. Should be in the next few days.


The following changes since commit a1263632bb05f0a21620bad0661235fcbbe79dca:

  mx6: tqma6: get board support back to Kconfig build system
(2014-08-31 12:01:04 -0400)

are available in the git repository at:

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

for you to fetch changes up to 4bc9a19324ba27eb867316d2ea0d55bba95e8724:

  dm: sandbox: dts: Add a GPIO bank (2014-08-31 23:21:42 -0600)

----------------------------------------------------------------
Simon Glass (3):
      dm: gpio: Enhance gpio command to show only active GPIOs
      dm: gpio: Allow gpio command to adjust GPIOs that are busy
      dm: sandbox: dts: Add a GPIO bank

 arch/sandbox/dts/sandbox.dts |   8 +++++
 common/cmd_gpio.c            | 110
++++++++++++++++++++++++++++++++++++++++++++++----------------------
 include/asm-generic/gpio.h   |  15 ++++++++--
 3 files changed, 96 insertions(+), 37 deletions(-)

Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-08-04 11:28 Simon Glass
  2014-08-06 14:37 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-08-04 11:28 UTC (permalink / raw)
  To: u-boot

Hi Tom,

These are the two remaining malloc() changes for arm. If Albert would
prefer to pull these that is fine with me too.


The following changes since commit 25b4adbba018633b943a99322bfb2fb819c0bafb:

  include: remove CONFIG_SPL/CONFIG_TPL definition in config headers
(2014-07-30 14:42:03 -0400)

are available in the git repository at:

  ssh://gu-dm at git.denx.de/u-boot-dm

for you to fetch changes up to 76a1e584e10d14f1981f65376636ecff80bdc19b:

  arm: Support pre-relocation malloc() (2014-08-04 05:24:35 -0600)

----------------------------------------------------------------
Simon Glass (2):
      arm: Set up global data before board_init_f()
      arm: Support pre-relocation malloc()

 README                        |  3 +++
 arch/arm/include/asm/config.h |  2 ++
 arch/arm/lib/crt0.S           | 12 ++++++++++++
 3 files changed, 17 insertions(+)

Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-07-25 15:02 Simon Glass
  2014-07-25 18:27 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-07-25 15:02 UTC (permalink / raw)
  To: u-boot

Hi Tom,

This is the first of the driver model changes. I will progressively
work through the series that follow (gpio, serial, SPI/SPI flash) but
probably need more testing/feedback from maintainers in some cases.


The following changes since commit fbe79a17fddb7f0b11aa15b9c93e9a4a26165ed8:

  m68k: define __kernel_size_t as unsinged int again (2014-07-22 09:46:50 -0400)

are available in the git repository at:

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

for you to fetch changes up to 21fe8ec355ca34ec5a7b5f2f8dd816fa13911687:

  buildman: Avoid retrying a build if it definitely failed (2014-07-23
09:52:36 -0600)

----------------------------------------------------------------
Simon Glass (37):
      Remove form-feeds from dlmalloc.c
      sandbox: Set up global data before board_init_f()
      Add a simple malloc() implementation for pre-relocation
      sandbox: Support pre-relocation malloc()
      sandbox: config: Enable pre-relocation malloc()
      sandbox: Always enable malloc debug
      dm: gpio: Don't use the driver model uclass for SPL
      dm: Use an explicit expect value in core tests
      stdio: Remove redundant code around stdio_register() calls
      stdio: Pass device pointer to stdio methods
      dm: Make sure that the root device is probed
      dm: Provide a way to shut down driver model
      sandbox: Remove all drivers before exit
      dm: Allow drivers to be marked 'before relocation'
      dm: Support driver model prior to relocation
      stdio: Provide functions to add/remove devices using stdio_dev
      console: Remove vprintf() optimisation for sandbox
      Add a flag indicating when the serial console is ready
      dm: Move uclass error checking/probing into a function
      fdt: Add a function to get the alias sequence of a node
      dm: Move device display into its own function
      dm: Avoid activating devices in 'dm uclass' command
      dm: Introduce device sequence numbering
      dm: Display the sequence number for each device
      dm: Allow a device to be found by its FDT offset
      dm: Avoid accessing uclasses before they are ready
      fdt: Add a function to get the node offset of an alias
      dm: Tidy up some header file comments
      dm: Provide a function to scan child FDT nodes
      dm: Add functions to access a device's children
      dm: Introduce per-child data for devices
      dm: Add child_pre_probe() and child_post_remove() methods
      dm: Improve errors and warnings in lists_bind_fdt()
      dm: Add dm_scan_other() to locate board-specific devices
      dm: Give the demo uclass a name
      buildman: Add -F flag to retry failed builds
      buildman: Avoid retrying a build if it definitely failed

 README                            |  16 ++++++
 arch/blackfin/cpu/jtag-console.c  |  10 ++--
 arch/powerpc/cpu/mpc512x/serial.c |  10 ++--
 arch/powerpc/cpu/mpc8xx/video.c   |   6 +--
 arch/sandbox/cpu/cpu.c            |   4 ++
 arch/sandbox/cpu/start.c          |   8 +++
 arch/sandbox/include/asm/config.h |   1 -
 arch/x86/lib/video.c              |   8 +--
 board/bf527-ezkit/video.c         |  10 ----
 board/bf548-ezkit/video.c         |  10 ----
 board/cm-bf548/video.c            |  10 ----
 board/mpl/common/kbd.c            |   6 +--
 board/mpl/common/kbd.h            |   6 ++-
 board/mpl/pati/pati.c             |   8 +--
 board/nokia/rx51/rx51.c           |   6 +--
 common/board_f.c                  |  28 ++++++++++
 common/board_r.c                  |  29 +++-------
 common/cmd_log.c                  |  11 ++--
 common/console.c                  |  24 ++++-----
 common/dlmalloc.c                 |  85 +++++++++++++++++++++--------
 common/lcd.c                      |  14 ++++-
 common/stdio.c                    |  66 +++++++++++++++++------
 common/usb_kbd.c                  |   6 +--
 doc/driver-model/README.txt       | 216
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------
 drivers/core/device.c             | 169
++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 drivers/core/lists.c              |  22 +++++---
 drivers/core/root.c               |  78 ++++++++++++++++++++++-----
 drivers/core/uclass.c             | 135
+++++++++++++++++++++++++++++++++++++++++++++-
 drivers/demo/demo-uclass.c        |   1 +
 drivers/gpio/Makefile             |   2 +
 drivers/input/cros_ec_keyb.c      |   6 +--
 drivers/input/i8042.c             |   4 +-
 drivers/input/keyboard.c          |   6 +--
 drivers/input/tegra-kbc.c         |   6 +--
 drivers/misc/cbmem_console.c      |   6 +--
 drivers/net/netconsole.c          |  10 ++--
 drivers/serial/serial.c           |  55 ++++++++++++++++---
 drivers/serial/usbtty.c           |   8 +--
 drivers/video/cfb_console.c       |   8 ++-
 include/asm-generic/global_data.h |   9 +++-
 include/common.h                  |   5 ++
 include/configs/ELPPC.h           |   4 +-
 include/configs/MHPC.h            |   4 +-
 include/configs/jadecpu.h         |   4 +-
 include/configs/nokia_rx51.h      |   5 +-
 include/configs/sandbox.h         |   4 +-
 include/dm/device-internal.h      |   6 ++-
 include/dm/device.h               | 120
++++++++++++++++++++++++++++++++++++++++-
 include/dm/lists.h                |   2 +-
 include/dm/platdata.h             |  10 +++-
 include/dm/root.h                 |  61 +++++++++++++++++++--
 include/dm/test.h                 |  22 ++++++++
 include/dm/uclass-id.h            |   3 +-
 include/dm/uclass-internal.h      |  23 ++++++++
 include/dm/uclass.h               |  49 ++++++++++++++++-
 include/fdtdec.h                  |  29 ++++++++++
 include/i8042.h                   |   6 ++-
 include/stdio_dev.h               |  17 +++---
 include/video.h                   |   8 +--
 lib/asm-offsets.c                 |   3 ++
 lib/fdtdec.c                      |  61 +++++++++++++++++++++
 test/dm/Makefile                  |   1 +
 test/dm/bus.c                     | 242
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 test/dm/cmd_dm.c                  |  35 ++++++++----
 test/dm/core.c                    |  64 ++++++++++++++++++----
 test/dm/test-driver.c             |  11 ++++
 test/dm/test-fdt.c                | 164
+++++++++++++++++++++++++++++++++++++++++++++++---------
 test/dm/test-main.c               |   4 +-
 test/dm/test.dts                  |  42 +++++++++++++--
 tools/buildman/builder.py         |  27 +++++++---
 tools/buildman/buildman.py        |   3 ++
 tools/buildman/control.py         |   1 +
 72 files changed, 1850 insertions(+), 313 deletions(-)
 create mode 100644 test/dm/bus.c

Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-06-21 21:04 Simon Glass
  0 siblings, 0 replies; 24+ messages in thread
From: Simon Glass @ 2014-06-21 21:04 UTC (permalink / raw)
  To: u-boot

Hi Tom,

Here are two that were left behind.


The following changes since commit 39b6d07fd7e692736cdb05a000b1c84ab43de4fb:

  Merge branch 'master' of git://git.denx.de/u-boot-dm (2014-06-20
20:03:51 -0400)

are available in the git repository at:

  master

for you to fetch changes up to 4af5b1445c2c17b72f515134d510d37e05a344f1:

  dm: Use '*' to indicate a device is activated (2014-06-21 10:12:43 -0600)

----------------------------------------------------------------
Jeroen Hofstee (1):
      include/dm.h: fix inclusion guard

Simon Glass (1):
      dm: Use '*' to indicate a device is activated

 include/dm.h     |  2 +-
 test/dm/cmd_dm.c | 11 ++++++-----
 2 files changed, 7 insertions(+), 6 deletions(-)

Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread
* [U-Boot] Please pull u-boot-dm.git
@ 2014-06-20 20:25 Simon Glass
  2014-06-21  0:05 ` Tom Rini
  0 siblings, 1 reply; 24+ messages in thread
From: Simon Glass @ 2014-06-20 20:25 UTC (permalink / raw)
  To: u-boot

Hi Tom,

The following changes since commit 9e546ee9c90fc0a888423fa3269020fe736df7a3:

  cosmetic: autoboot: update old style GNU struct init (2014-06-19
11:19:07 -0400)

are available in the git repository at:

  ssh://gu-dm at git.denx.de/u-boot-dm.git

for you to fetch changes up to 22ec136325fdfc805b1e48e5ac8e17f23b4e9fc6:

  dm: Expand and improve the device lifecycle docs (2014-06-20 11:56:53 -0600)

----------------------------------------------------------------
Simon Glass (15):
      Add an I/O tracing feature
      arm: Support iotrace feature
      sandbox: Support iotrace feature
      Makefile: Support include files for .dts files
      dm: Rename struct device_id to udevice_id
      dm: Update README to encourage conversion to driver model
      dm: Use case-insensitive comparison for GPIO banks
      dm: Add missing header files in lists and root
      dm: Cast away the const-ness of the global_data pointer
      dm: Allow driver model tests only for sandbox
      dm: Fix printf() strings in the 'dm' command
      tegra: dts: Bring in GPIO bindings from linux
      tegra: Enable driver model
      dm: Tidy up four minor code nits
      dm: Expand and improve the device lifecycle docs

 README                                             |  28 +++++++++++
 arch/arm/dts/include/dt-bindings                   |   1 +
 arch/arm/dts/tegra114.dtsi                         |  21 +++++----
 arch/arm/dts/tegra124.dtsi                         |  19 ++++----
 arch/arm/dts/tegra20.dtsi                          |  15 +++++-
 arch/arm/dts/tegra30.dtsi                          |  21 +++++----
 arch/arm/include/asm/io.h                          |   3 ++
 arch/microblaze/dts/include/dt-bindings            |   1 +
 arch/sandbox/dts/include/dt-bindings               |   1 +
 arch/sandbox/include/asm/io.h                      |  10 ++++
 arch/x86/dts/include/dt-bindings                   |   1 +
 common/Makefile                                    |   2 +
 common/cmd_iotrace.c                               |  73
+++++++++++++++++++++++++++++
 common/iotrace.c                                   | 169
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/driver-model/README.txt                        | 222
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 drivers/core/lists.c                               |   3 +-
 drivers/core/root.c                                |   7 +--
 drivers/core/uclass.c                              |   2 +-
 drivers/demo/demo-shape.c                          |   2 +-
 drivers/demo/demo-simple.c                         |   2 +-
 drivers/gpio/gpio-uclass.c                         |   2 +-
 drivers/gpio/sandbox.c                             |   2 +-
 include/configs/sandbox.h                          |   3 ++
 include/configs/tegra-common.h                     |   3 ++
 include/dm/device-internal.h                       |   4 ++
 include/dm/device.h                                |   8 ++--
 include/dm/lists.h                                 |  20 ++++++++
 include/dm/root.h                                  |   2 +-
 include/dm/uclass.h                                |  10 ++--
 include/dt-bindings/gpio/gpio.h                    |  15 ++++++
 include/dt-bindings/gpio/tegra-gpio.h              |  51 ++++++++++++++++++++
 include/dt-bindings/interrupt-controller/arm-gic.h |  22 +++++++++
 include/dt-bindings/interrupt-controller/irq.h     |  19 ++++++++
 include/iotrace.h                                  | 104
+++++++++++++++++++++++++++++++++++++++++
 scripts/Makefile.lib                               |   1 +
 test/dm/Makefile                                   |   2 +
 test/dm/cmd_dm.c                                   |  19 +++++---
 test/dm/test-fdt.c                                 |   2 +-
 38 files changed, 831 insertions(+), 61 deletions(-)
 create mode 120000 arch/arm/dts/include/dt-bindings
 create mode 120000 arch/microblaze/dts/include/dt-bindings
 create mode 120000 arch/sandbox/dts/include/dt-bindings
 create mode 120000 arch/x86/dts/include/dt-bindings
 create mode 100644 common/cmd_iotrace.c
 create mode 100644 common/iotrace.c
 create mode 100644 include/dt-bindings/gpio/gpio.h
 create mode 100644 include/dt-bindings/gpio/tegra-gpio.h
 create mode 100644 include/dt-bindings/interrupt-controller/arm-gic.h
 create mode 100644 include/dt-bindings/interrupt-controller/irq.h
 create mode 100644 include/iotrace.h

Regards,
Simon

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-05-16 11:36 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28  1:30 [U-Boot] Please pull u-boot-dm.git Simon Glass
2014-10-28 22:54 ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2015-05-15 14:07 Simon Glass
2015-05-16 11:36 ` Tom Rini
2014-10-24  3:56 Simon Glass
2014-10-27  0:35 ` Tom Rini
2014-10-22 17:48 Simon Glass
2014-10-23  0:09 ` Tom Rini
2014-09-23 18:47 Simon Glass
2014-09-23 19:58 ` Tom Rini
2014-09-10 19:04 Simon Glass
2014-09-12 20:09 ` Simon Glass
2014-09-14 15:43 ` Tom Rini
2014-09-02  0:15 Simon Glass
2014-09-02 12:22 ` Tom Rini
2014-08-04 11:28 Simon Glass
2014-08-06 14:37 ` Tom Rini
2014-07-25 15:02 Simon Glass
2014-07-25 18:27 ` Tom Rini
2014-07-26 14:45   ` Simon Glass
2014-06-21 21:04 Simon Glass
2014-06-20 20:25 Simon Glass
2014-06-21  0:05 ` Tom Rini
2014-06-21 21:04   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox