[U-Boot] [PATCH v4 0/2] IMX6: Add Gateworks Ventana support

Tim Harvey tharvey at gateworks.com
Thu Feb 13 08:48:11 CET 2014


Changes in v4:
  - fixed FP calculation
  - fixed invalid return type for read_eeprom()
  - use enum and defines for GSC HWMON registers/bits
  - removed unused CONFIG_SPI_FLASH_WINBOND_ERASESIZE
  - use defines for I2C bus numbers
  - added PCIE support
  - moved board-specific gpio iomux to board_init as imx6_pcie_toggle_reset
    needs it

Changes in v3:
  - update README fixing typo and removing Freescale document link
  - use debug() instead of printf()
  - be more explicit with hwmon error output and use macro for min/max percent
  - use #defines for GSC slave address and registers
  - remove extern from function prototype
  - moved gpio config into structure for better readability
  - use enum for eeprom bit configs and array to map to fdt property alias
  - add SATA regardless of cpu type
  - add FIT support regardless of flash type
  - display PMIC and device id in misc_init_r() instead of pmic driver

Changes in v2:
  - rebase on top of u-boot-imx
  - use switch..case for model specific init instead of strcmps
  - move checkboard to late init allowing i2c_setup to be moved to board_init()
    eeprom reading to be done after relocation, and move eeprom struct from
    data segment
  - move SPI/I2C init to board_init()
  - update README
  - remove unnecessary console overwrite function
  - fix multiline comment style and eliminate >80 char lines
  - eliminate unnecessary loop in board_mmc_init()
  - add missing copyright to clocks.cfg
  - avoid duplicating cfg files where no changes exist
  - added missing SPDX header to ventana_eeprom.h
  - use puts() instead of printf() for constant strings
  - remove messages regarding /dev/i2c-<n>
  - use get_ram_size() for determing ram_size
  - cleanup gpio configuration using tables for baseboard pinmux combinations
  - remove phy init errata as it doesn't pertain to use case
    (it is for 802.3az which IMX6 MAC does not support)
  - added pfuze100_pmic driver using PMIC API
  - moved GSC code (gsc command and i2c_read/i2c_write wrappers into own file)
  - allow user to quiet down some of the data displayed
  - remove display support for now - will revisit later
  - remove display of boot mode info - may revisit later
  - replace bitwise fields in eeprom structure with bit definitions

Tim Harvey (2):
  power: add PFUZE100 PMIC driver
  ventana: Add Gateworks Ventana family support

 board/gateworks/gw_ventana/Makefile         |   10 +
 board/gateworks/gw_ventana/README           |   55 ++
 board/gateworks/gw_ventana/clocks.cfg       |   42 +
 board/gateworks/gw_ventana/gsc.c            |  129 +++
 board/gateworks/gw_ventana/gsc.h            |   64 ++
 board/gateworks/gw_ventana/gw_ventana.c     | 1262 +++++++++++++++++++++++++++
 board/gateworks/gw_ventana/gw_ventana.cfg   |   42 +
 board/gateworks/gw_ventana/ventana_eeprom.h |  106 +++
 boards.cfg                                  |    5 +
 drivers/power/pmic/Makefile                 |    1 +
 drivers/power/pmic/pmic_pfuze100.c          |   32 +
 include/configs/gw_ventana.h                |  425 +++++++++
 include/power/pfuze100_pmic.h               |   96 ++
 13 files changed, 2269 insertions(+)
 create mode 100644 board/gateworks/gw_ventana/Makefile
 create mode 100644 board/gateworks/gw_ventana/README
 create mode 100644 board/gateworks/gw_ventana/clocks.cfg
 create mode 100644 board/gateworks/gw_ventana/gsc.c
 create mode 100644 board/gateworks/gw_ventana/gsc.h
 create mode 100644 board/gateworks/gw_ventana/gw_ventana.c
 create mode 100644 board/gateworks/gw_ventana/gw_ventana.cfg
 create mode 100644 board/gateworks/gw_ventana/ventana_eeprom.h
 create mode 100644 drivers/power/pmic/pmic_pfuze100.c
 create mode 100644 include/configs/gw_ventana.h
 create mode 100644 include/power/pfuze100_pmic.h

-- 
1.8.3.2



More information about the U-Boot mailing list