[U-Boot] [PATCH V4 00/12] Exynos4: add support for device tree

Piotr Wilczek p.wilczek at samsung.com
Tue Mar 4 14:55:04 CET 2014


This patch set enables support for device tree on all Exynos4 based boards.

DT support is enabled on Exynos mipi dsim and sdhci drives.
Common board.c file is reused for all functions common for
Exynos4 boards. Board specific files are implemented in the board files.
Origen, Universal, Trats and Trats2 boards are modifed to support device tree.

This patch series depends on:
[U-Boot] sizes.h - consolidate for all architectures
http://patchwork.ozlabs.org/patch/324427/

Changes for v4:
 - define CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET, CONFIG_CMD_I2C at each board
 - use "-" hypen in DT bindings
 - remove duplicated DT properties at exynos_fb.c file

Changes for v3:
 - moved max77686 init function to smdk5250 board file
 - board DTS files moved to arch/arm/dts
 - rebased on the latest tree

Changes for v2:
 - removed incorrectly implemented check for invalid peripheral id
 - removed unnecesary white space
 - removed panel specific init function 's6e8ax0_init' to the board file
 - removed duplicate DTB node parsing for panel_info.logo_on
 - added (weak) exynos_lcd_panel_init function for panel specific
	initialisation from board file
 - fixed checking for SDMMC boundary
 - fiex debug message
 - fixed comment to 'pwr_gpio' struct filed
 - new patch to move checkboard to common file
 - reuse existing common board.c file
 - new patch that removes unused max77686_init function
 - fixed mmc2 addres in DT on Trats2

Piotr Wilczek (12):
  exynos4:pinmux:fdt: decode peripheral id
  video:mipidsim:fdt: Add DT support for mipi dsim driver
  video:exynos_fb:fdt: add additional fdt data
  drivers:mmc:sdhci: enable support for DT
  board:samsung: move checkboard to common file
  arm:exynos: add common DTS file for exynos 4
  board:samsung:common: move max77686 init function
  arm:exynos: enable sdhci and misc_init to common board
  board:origen: Enable device tree on Origen
  board:universal: Enable device tree on Universal
  board:trats: Enable device tree on Trats
  board:trats2: Enable device tree on Trats2

 arch/arm/cpu/armv7/exynos/pinmux.c           |  17 ++
 arch/arm/dts/Makefile                        |   5 +
 arch/arm/dts/exynos4.dtsi                    | 138 +++++++++
 arch/arm/dts/exynos4210-origen.dts           |  45 +++
 arch/arm/dts/exynos4210-trats.dts            | 120 ++++++++
 arch/arm/dts/exynos4210-universal_c210.dts   |  83 +++++
 arch/arm/dts/exynos4412-trats2.dts           | 434 +++++++++++++++++++++++++++
 arch/arm/include/asm/arch-exynos/board.h     |  12 +
 arch/arm/include/asm/arch-exynos/mipi_dsim.h |   5 +
 arch/arm/include/asm/arch-exynos/mmc.h       |   7 +
 board/samsung/common/board.c                 | 180 ++++-------
 board/samsung/origen/origen.c                | 112 +------
 board/samsung/smdk5250/exynos5-dt.c          |  15 -
 board/samsung/smdk5250/smdk5250.c            | 125 ++++++++
 board/samsung/smdk5420/smdk5420.c            |  15 -
 board/samsung/trats/trats.c                  | 213 +------------
 board/samsung/trats2/trats2.c                | 233 +-------------
 board/samsung/universal_c210/universal.c     | 204 ++++---------
 drivers/mmc/s5p_sdhci.c                      | 129 ++++++++
 drivers/video/exynos_fb.c                    |  15 +
 drivers/video/exynos_mipi_dsi.c              |  96 ++++++
 include/configs/exynos4-dt.h                 | 138 +++++++++
 include/configs/origen.h                     | 110 ++-----
 include/configs/s5pc210_universal.h          | 152 +++-------
 include/configs/trats.h                      | 206 ++++---------
 include/configs/trats2.h                     | 204 +++----------
 include/fdtdec.h                             |   2 +
 include/sdhci.h                              |   5 +
 lib/fdtdec.c                                 |   2 +
 29 files changed, 1686 insertions(+), 1336 deletions(-)
 create mode 100644 arch/arm/dts/exynos4.dtsi
 create mode 100644 arch/arm/dts/exynos4210-origen.dts
 create mode 100644 arch/arm/dts/exynos4210-trats.dts
 create mode 100644 arch/arm/dts/exynos4210-universal_c210.dts
 create mode 100644 arch/arm/dts/exynos4412-trats2.dts
 create mode 100644 include/configs/exynos4-dt.h

-- 
1.8.3.2



More information about the U-Boot mailing list