[U-Boot] Please pull u-boot-rockchip

Hi Tom,
This includes some kylin improvements for Android booting, support for a new Rockchip board (Rock 2), Rockchip display support using eDP and HDMI with the new driver-model video uclass, and Chrome OS EC support for Jerry.
The following changes since commit 6905f4d3c7be46fed4859f51f0a8f9a1107c22e7:
Merge git://git.denx.de/u-boot-dm (2016-01-21 11:49:49 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-rockchip.git
for you to fetch changes up to f138713073b5587b195cb73e12394e57c15cbb01:
rockchip: Update the README (2016-01-21 20:42:37 -0700)
---------------------------------------------------------------- Jeffy Chen (5): ARM: bootm: Try to use relocated ramdisk rockchip: rk3036: Bind GPIO banks rockchip: kylin: Add default gpt partition table rockchip: kylin: Check fastboot request rockchip: kylin: Store env in emmc
Masahiro Yamada (1): clk: add fixed rate clock driver
Simon Glass (87): dm: clk: Add support for decoding clocks from the device tree dm: core: Don't set pinctrl for pinctrl devices dm: pinctrl: Add a function to parse PIN_CONFIG flags dm: pmic: Add 'reg status' to show all regulators dts: Bring in pinctrl device tree binding power: Add base support for the RK808 PMIC power: Add support for RK808 regulators dm: Add a power sequencing uclass rockchip: Avoid using MMC code when not booting from MMC rockchip: Convert the PMU IOMUX registers into an array rockchip: mmc: Use a pwrseq device if available rockchip: Correct the defconfig order rockchip: Use pwrseq for MMC start-up on jerry rockchip: jerry: Disable pmic-int-1 setup to avoid a hang rockchip: Use a separate clock ID for clocks rockchip: clock: Rename the general clock variable to gclk_rate rockchip: clk: Add a function to get a peripheral clock rate rockchip: clock: Add a function to find a clock by ID rockchip: i2c: Update the driver to use the new clock ID rockchip: spi: Update the driver to use the new clock ID rockchip: spi: Avoid setting the pinctrl twice rockchip: mmc: Update the driver to use the new clock ID rockchip: pinctrl: Add a full pinctrl driver rockchip: Move firefly and jerry to use the full pinctrl rockchip: jerry: Enable the RK808 PMIC and regulator rockchip: Disable simple-bus in SPL for firefly-rk3288, jerry rockchip: jerry: Drop unused options gpio: Allow 's' as an abbreviation for 'status' cros_ec: Disable the Chrome OS EC in SPL dm: i2c: Allow muxes to be enabled for SPL separately spi: Correct device tree usage in spi_flash_decode_fdt() dm: power: Allow regulators to be omitted from SPL dm: pinctrl: Add a way for a GPIO driver to obtain a pin function dm: core: Export uclass_find_device_by_of_offset() dm: power: Tidy up debugging output and return values dm: power: Allow regulators to not implement all operations dm: clk: Add a simple version of clk_get_by_index() rockchip: sdram: Use the rk_clr/setreg() interface rockchip: reset: Use the rk_clr/setreg() interface rockchip: spi: Remember the last speed to avoid re-setting it rockchip: spi: Correct the bus init code rockchip: clk: Make rkclk_get_clk() SoC-specific rockchip: pinctrl: Reduce the size for SPL rockchip: pinctrl: Implement the get_gpio_mux() method rockchip: gpio: Read the GPIO value correctly rockchip: gpio: Implement the get_function() method rockchip: spi: Implement the delays rockchip: spi: Correct chip-enable code rockchip: spi: Remove the explicit pinctrl setting rockchip: jerry: Enable the Chrome OS EC stdio: Correct a build error with driver model gpio: Warn about invalid GPIOs used with the 'gpio' command video: Name consoles by their number video: Add a function to control cache flushing video: bridge: Allow GPIOs to be optional dm: pwm: Add a PWM uclass pwm: rockchip: Add a PWM driver for Rockchip SoCs dm: backlight: Add a backlight uclass dm: backlight: Add a driver for a PWM backlight dm: panel: Add a panel uclass video: panel: Add a simple panel driver dm: video: Repurpose the 'displayport' uclass to 'display' rockchip: Rename the CRU_MODE_CON fields rockchip: clk: Add support for clocks needed by the displays rockchip: video: Add a display driver for rockchip HDMI rockchip: video: Add a display driver for rockchip eDP rockchip: video: Add a video-output driver rockchip: Don't skip low-level init rockchip: Add a simple 'clock' command rockchip: Add a script to parse datasheets rockchip: config: Enable the 'gpio' command rockchip: sdram: Tidy up a few comments rockchip: sdram: Use syscon_get_first_range() where possible rockchip: Tidy up the register-access macros rockchip: spl: Drop MMC support code when not needed rockchip: jerry: Fix the SDRAM timing rockchip: rk3288: clock: Fix various minor errors rockchip: rk3288: pinctrl: Fix HDMI pinctrl rockchip: spl: Support full-speed CPU in SPL rockchip: jerry: Add support for timing SPI flash speed rockchip: jerry: Enable EDP and HDMI video output rockchip: firefly-rk3288: Enable HDMI output rockchip: dts: Sync up SPDIF node with Linux rockchip: rock2: Bring in device tree files from Linux rockchip: rock2: dts: Make changes for U-Boot rockchip: Add support for Raxda Rock 2 rockchip: Update the README
arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3288-jerry.dts | 5 + arch/arm/dts/rk3288-rock2-som.dtsi | 278 +++++++++++++++ arch/arm/dts/rk3288-rock2-square.dts | 201 +++++++++++ arch/arm/dts/rk3288-veyron-chromebook.dtsi | 4 + arch/arm/dts/rk3288-veyron.dtsi | 24 +- arch/arm/dts/rk3288.dtsi | 22 ++ arch/arm/include/asm/arch-rockchip/clock.h | 17 + arch/arm/include/asm/arch-rockchip/cru_rk3288.h | 70 ++-- arch/arm/include/asm/arch-rockchip/edp_rk3288.h | 636 ++++++++++++++++++++++++++++++++++ arch/arm/include/asm/arch-rockchip/hardware.h | 7 +- arch/arm/include/asm/arch-rockchip/hdmi_rk3288.h | 456 ++++++++++++++++++++++++ arch/arm/include/asm/arch-rockchip/pmu_rk3288.h | 12 +- arch/arm/include/asm/arch-rockchip/pwm.h | 41 +++ arch/arm/include/asm/arch-rockchip/vop_rk3288.h | 349 +++++++++++++++++++ arch/arm/lib/bootm.c | 12 +- arch/arm/mach-rockchip/Makefile | 1 - arch/arm/mach-rockchip/board.c | 28 ++ arch/arm/mach-rockchip/common.c | 28 -- arch/arm/mach-rockchip/rk3288-board-spl.c | 10 + arch/arm/mach-rockchip/rk3288/Kconfig | 19 + arch/arm/mach-rockchip/rk3288/reset_rk3288.c | 4 +- arch/arm/mach-rockchip/rk3288/sdram_rk3288.c | 64 ++-- board/kylin/kylin_rk3036/kylin_rk3036.c | 32 ++ board/radxa/rock2/Kconfig | 15 + board/radxa/rock2/MAINTAINERS | 6 + board/radxa/rock2/Makefile | 7 + board/radxa/rock2/rock2.c | 7 + common/cmd_gpio.c | 6 +- common/cmd_regulator.c | 66 +++- common/stdio.c | 3 + configs/chromebook_jerry_defconfig | 32 +- configs/firefly-rk3288_defconfig | 14 +- configs/nyan-big_defconfig | 2 +- configs/rock2_defconfig | 53 +++ doc/README.rockchip | 53 +-- doc/device-tree-bindings/pinctrl/pinctrl-bindings.txt | 236 +++++++++++++ drivers/Kconfig | 2 + drivers/clk/Makefile | 2 +- drivers/clk/clk-uclass.c | 44 +++ drivers/clk/clk_fixed_rate.c | 57 +++ drivers/clk/clk_rk3036.c | 33 +- drivers/clk/clk_rk3288.c | 439 +++++++++++++++++++----- drivers/core/device.c | 6 +- drivers/core/uclass.c | 4 +- drivers/gpio/rk_gpio.c | 42 ++- drivers/i2c/Makefile | 4 +- drivers/i2c/muxes/Kconfig | 9 + drivers/i2c/muxes/Makefile | 2 +- drivers/i2c/rk_i2c.c | 38 +- drivers/misc/Kconfig | 18 + drivers/misc/Makefile | 3 + drivers/misc/pwrseq-uclass.c | 24 ++ drivers/mmc/rockchip_dw_mmc.c | 60 +++- drivers/mtd/spi/spi_flash.c | 9 +- drivers/pinctrl/pinctrl-uclass.c | 22 ++ drivers/pinctrl/rockchip/pinctrl_rk3036.c | 8 + drivers/pinctrl/rockchip/pinctrl_rk3288.c | 292 +++++++++++++++- drivers/power/pmic/Kconfig | 30 ++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pmic-uclass.c | 13 +- drivers/power/pmic/rk808.c | 102 ++++++ drivers/power/regulator/Kconfig | 18 + drivers/power/regulator/Makefile | 5 +- drivers/power/regulator/regulator-uclass.c | 4 +- drivers/power/regulator/rk808.c | 301 ++++++++++++++++ drivers/pwm/Kconfig | 19 + drivers/pwm/Makefile | 2 + drivers/pwm/pwm-uclass.c | 36 ++ drivers/pwm/rk_pwm.c | 103 ++++++ drivers/spi/rk_spi.c | 84 +++-- drivers/video/Kconfig | 23 +- drivers/video/Makefile | 8 +- drivers/video/backlight-uclass.c | 25 ++ drivers/video/bridge/video-bridge-uclass.c | 11 +- drivers/video/display-uclass.c | 52 +++ drivers/video/dp-uclass.c | 34 -- drivers/video/panel-uclass.c | 25 ++ drivers/video/pwm_backlight.c | 134 ++++++++ drivers/video/rockchip/Makefile | 8 + drivers/video/rockchip/rk_edp.c | 1085 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/video/rockchip/rk_hdmi.c | 933 ++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/video/rockchip/rk_vop.c | 346 +++++++++++++++++++ drivers/video/simple_panel.c | 99 ++++++ drivers/video/tegra124/display.c | 18 +- drivers/video/tegra124/dp.c | 9 +- drivers/video/vidconsole-uclass.c | 7 +- drivers/video/video-uclass.c | 7 + include/backlight.h | 31 ++ include/clk.h | 24 ++ include/configs/chromebook_jerry.h | 19 + include/configs/firefly-rk3288.h | 9 + include/configs/kylin_rk3036.h | 44 +++ include/configs/rk3288_common.h | 10 +- include/configs/rock2.h | 31 ++ include/configs/sandbox.h | 8 +- include/{displayport.h => display.h} | 33 +- include/dm/pinctrl.h | 45 +++ include/dm/uclass-id.h | 6 +- include/dm/uclass-internal.h | 16 + include/edid.h | 1 + include/panel.h | 31 ++ include/power/rk808_pmic.h | 77 +++++ include/pwm.h | 53 +++ include/pwrseq.h | 18 + include/video.h | 8 + tools/rkmux.py | 218 ++++++++++++ 107 files changed, 7759 insertions(+), 404 deletions(-) create mode 100644 arch/arm/dts/rk3288-rock2-som.dtsi create mode 100644 arch/arm/dts/rk3288-rock2-square.dts create mode 100644 arch/arm/include/asm/arch-rockchip/edp_rk3288.h create mode 100644 arch/arm/include/asm/arch-rockchip/hdmi_rk3288.h create mode 100644 arch/arm/include/asm/arch-rockchip/pwm.h create mode 100644 arch/arm/include/asm/arch-rockchip/vop_rk3288.h delete mode 100644 arch/arm/mach-rockchip/common.c create mode 100644 board/radxa/rock2/Kconfig create mode 100644 board/radxa/rock2/MAINTAINERS create mode 100644 board/radxa/rock2/Makefile create mode 100644 board/radxa/rock2/rock2.c create mode 100644 configs/rock2_defconfig create mode 100644 doc/device-tree-bindings/pinctrl/pinctrl-bindings.txt create mode 100644 drivers/clk/clk_fixed_rate.c create mode 100644 drivers/misc/pwrseq-uclass.c create mode 100644 drivers/power/pmic/rk808.c create mode 100644 drivers/power/regulator/rk808.c create mode 100644 drivers/pwm/Kconfig create mode 100644 drivers/pwm/pwm-uclass.c create mode 100644 drivers/pwm/rk_pwm.c create mode 100644 drivers/video/backlight-uclass.c create mode 100644 drivers/video/display-uclass.c delete mode 100644 drivers/video/dp-uclass.c create mode 100644 drivers/video/panel-uclass.c create mode 100644 drivers/video/pwm_backlight.c create mode 100644 drivers/video/rockchip/Makefile create mode 100644 drivers/video/rockchip/rk_edp.c create mode 100644 drivers/video/rockchip/rk_hdmi.c create mode 100644 drivers/video/rockchip/rk_vop.c create mode 100644 drivers/video/simple_panel.c create mode 100644 include/backlight.h create mode 100644 include/configs/rock2.h rename include/{displayport.h => display.h} (59%) create mode 100644 include/panel.h create mode 100644 include/power/rk808_pmic.h create mode 100644 include/pwrseq.h create mode 100755 tools/rkmux.py
Regards, Simon

On Fri, Jan 22, 2016 at 01:37:10PM -0700, Simon Glass wrote:
Hi Tom,
This includes some kylin improvements for Android booting, support for a new Rockchip board (Rock 2), Rockchip display support using eDP and HDMI with the new driver-model video uclass, and Chrome OS EC support for Jerry.
The following changes since commit 6905f4d3c7be46fed4859f51f0a8f9a1107c22e7:
Merge git://git.denx.de/u-boot-dm (2016-01-21 11:49:49 -0500)
are available in the git repository at:
git://git.denx.de/u-boot-rockchip.git
for you to fetch changes up to f138713073b5587b195cb73e12394e57c15cbb01:
rockchip: Update the README (2016-01-21 20:42:37 -0700)
Applied to u-boot/master, thanks!
participants (2)
-
Simon Glass
-
Tom Rini