From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 26 Oct 2014 20:35:53 -0400 Subject: [U-Boot] Please pull u-boot-dm.git In-Reply-To: References: Message-ID: <20141027003553.GQ25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, Oct 23, 2014 at 09:56:11PM -0600, Simon Glass wrote: > 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%) Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: