All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/22] rockchip: Add support for Asus Chromebit
@ 2016-11-13 21:21 Simon Glass
  2016-11-13 21:21 ` [U-Boot] [PATCH v2 01/22] rockchip: video: Correct HDMI data source selection Simon Glass
                   ` (21 more replies)
  0 siblings, 22 replies; 47+ messages in thread
From: Simon Glass @ 2016-11-13 21:21 UTC (permalink / raw)
  To: u-boot

This series adds support for 'mickey', the Asus Chromebit based on Rockchip
RK3288.

Some refactoring is included to jerry also. The intent is that all
RK3288-based Chromebooks will use the 'veyron' board, with everything
common except the device tree. SPI is used to boot, and we move jerry to
use of-platdata to save space.

At present there are few boards in U-Boot with two displays. Jerry supports
both its internal EDP display and HDMI. The current driver can get confused
if both HDMI and EDP try to use the same video-out device (VOP). Some
adjustments are made to fix this.

Currently there is an option to increase the CPU speed in SPL. This does
not seem necessary with mickey, so instead, this is done in U-Boot proper.

Additionally some bugs have crept in as part of the clock API conversion
and other work, so this series fixes those.

Changes in v2:
- Fix CONFIG_IS_ENABLED condition
- Add new patch with note about the SDRAM voltage
- Add new patch to avoid using u8 in the HDMI driver
- Enable only the active eMMC port

Simon Glass (22):
  rockchip: video: Correct HDMI data source selection
  rockchip: video: Correct VOP clock selection
  rockchip: Allow jerry to use of-platdata
  dm: core: Handle global_data moving in SPL
  stdio: Correct code style nits
  stdio: Correct numbering logic in stdio_probe_device()
  spi: Add of-platdata support to SPI and SPI flash
  rockchip: spi: Add support for of-platdata
  rockchip: spi: Honour the deactivation delay
  spi: Add error checking for invalid bus widths
  spi: Add a debug() on bind failure
  video: Use cache-alignment in video_sync()
  video: Track whether a display is in use
  rockchip: video: Check for device in use
  rockchip: Move jerry to use of-platdata
  rockchip: Rename jerry files to veyron
  rockchip: veyron: Add a note about the SDRAM voltage
  rockchip: Move jerry SDRAM settings into its own .dts file
  rockchip: clk: Support setting ACLK
  rockchip: veyron: Adjust ARM clock after relocation
  rockchip: video: Avoid using u8 in the HDMI driver
  rockchip: Add support for veyron-mickey (Chromebit)

 arch/arm/dts/Makefile                              |   3 +-
 arch/arm/dts/rk3288-veyron-chromebook.dtsi         |   2 +
 .../{rk3288-jerry.dts => rk3288-veyron-jerry.dts}  |  16 +-
 arch/arm/dts/rk3288-veyron-mickey.dts              | 277 +++++++++++++++++++++
 arch/arm/dts/rk3288-veyron.dtsi                    |   8 -
 arch/arm/mach-rockchip/rk3288-board-spl.c          |   3 +
 arch/arm/mach-rockchip/rk3288-board.c              |  44 ++++
 arch/arm/mach-rockchip/rk3288/Kconfig              |  11 +-
 board/google/chromebook_jerry/Kconfig              |  15 --
 board/google/chromebook_jerry/MAINTAINERS          |   6 -
 board/google/chromebook_jerry/jerry.c              |   7 -
 board/google/veyron/Kconfig                        |  31 +++
 board/google/veyron/MAINTAINERS                    |  13 +
 board/google/{chromebook_jerry => veyron}/Makefile |   2 +-
 board/google/veyron/veyron.c                       |  13 +
 common/spl/spl.c                                   |   3 +
 common/stdio.c                                     |   9 +-
 configs/chromebit_mickey_defconfig                 |  84 +++++++
 configs/chromebook_jerry_defconfig                 |  10 +-
 drivers/clk/rockchip/clk_rk3288.c                  |   7 +
 drivers/core/root.c                                |   7 +
 drivers/mtd/spi/spi_flash.c                        |   2 +-
 drivers/spi/rk_spi.c                               |  44 +++-
 drivers/spi/spi-uclass.c                           |  26 +-
 drivers/video/display-uclass.c                     |  18 +-
 drivers/video/rockchip/rk_hdmi.c                   |  33 +--
 drivers/video/rockchip/rk_vop.c                    |  16 +-
 drivers/video/video-uclass.c                       |   3 +-
 include/configs/{chromebook_jerry.h => veyron.h}   |   0
 include/display.h                                  |  10 +
 include/dm/root.h                                  |  10 +
 31 files changed, 648 insertions(+), 85 deletions(-)
 rename arch/arm/dts/{rk3288-jerry.dts => rk3288-veyron-jerry.dts} (92%)
 create mode 100644 arch/arm/dts/rk3288-veyron-mickey.dts
 delete mode 100644 board/google/chromebook_jerry/Kconfig
 delete mode 100644 board/google/chromebook_jerry/MAINTAINERS
 delete mode 100644 board/google/chromebook_jerry/jerry.c
 create mode 100644 board/google/veyron/Kconfig
 create mode 100644 board/google/veyron/MAINTAINERS
 rename board/google/{chromebook_jerry => veyron}/Makefile (81%)
 create mode 100644 board/google/veyron/veyron.c
 create mode 100644 configs/chromebit_mickey_defconfig
 rename include/configs/{chromebook_jerry.h => veyron.h} (100%)

-- 
2.8.0.rc3.226.g39d4020

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

end of thread, other threads:[~2016-11-30  3:11 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-13 21:21 [U-Boot] [PATCH v2 00/22] rockchip: Add support for Asus Chromebit Simon Glass
2016-11-13 21:21 ` [U-Boot] [PATCH v2 01/22] rockchip: video: Correct HDMI data source selection Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:21 ` [U-Boot] [PATCH v2 02/22] rockchip: video: Correct VOP clock selection Simon Glass
2016-11-13 21:21 ` [U-Boot] [PATCH v2 03/22] rockchip: Allow jerry to use of-platdata Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:21 ` [U-Boot] [PATCH v2 04/22] dm: core: Handle global_data moving in SPL Simon Glass
2016-11-13 21:21 ` [U-Boot] [PATCH v2 05/22] stdio: Correct code style nits Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 06/22] stdio: Correct numbering logic in stdio_probe_device() Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 07/22] spi: Add of-platdata support to SPI and SPI flash Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 08/22] rockchip: spi: Add support for of-platdata Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 09/22] rockchip: spi: Honour the deactivation delay Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 10/22] spi: Add error checking for invalid bus widths Simon Glass
2016-11-17 16:32   ` Jagan Teki
2016-11-19 13:47     ` Simon Glass
2016-11-19 14:53   ` Fabio Estevam
2016-11-19 20:04     ` Simon Glass
2016-11-19 20:49       ` Fabio Estevam
2016-11-19 23:56         ` Simon Glass
2016-11-21 17:57         ` Jagan Teki
2016-11-24  2:21           ` Simon Glass
2016-11-25 16:57             ` Jagan Teki
2016-11-25 16:59               ` Fabio Estevam
2016-11-25 19:38                 ` Simon Glass
2016-11-25 20:16                   ` Fabio Estevam
2016-11-26  3:28                   ` Jagan Teki
2016-11-30  3:11                     ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 11/22] spi: Add a debug() on bind failure Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 12/22] video: Use cache-alignment in video_sync() Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 13/22] video: Track whether a display is in use Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 14/22] rockchip: video: Check for device " Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 15/22] rockchip: Move jerry to use of-platdata Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 16/22] rockchip: Rename jerry files to veyron Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 17/22] rockchip: veyron: Add a note about the SDRAM voltage Simon Glass
2016-11-25 19:38   ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 18/22] rockchip: Move jerry SDRAM settings into its own .dts file Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 19/22] rockchip: clk: Support setting ACLK Simon Glass
2016-11-25 19:39   ` Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 20/22] rockchip: veyron: Adjust ARM clock after relocation Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 21/22] rockchip: video: Avoid using u8 in the HDMI driver Simon Glass
2016-11-13 21:22 ` [U-Boot] [PATCH v2 22/22] rockchip: Add support for veyron-mickey (Chromebit) Simon Glass
2016-11-25 19:39   ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.