[PATCH 0/7] Add Gateworks System Controller driver

Tim Harvey tharvey at gateworks.com
Tue Mar 8 01:23:59 CET 2022


This series Adds a driver for the Gateworks System Controller (GSC)
present on boards from Gateworks Corporation.

Patches 1-4 are gw_ventana cleanups to prepare for using the DM_I2C
based driver.
Patch 5 is for the driver itself
Patch 6 moves gw_ventana over to using the GSC driver
Patch 7 moves venice over to using the GSC driver

Tim

Tim Harvey (7):
  board: gateworks: gw_ventana: convert to DM_I2C
  board: gateworks: gw_ventana: move SPL uart config out of common
  board: gateworks: gw_ventana: move GPIO config out of common
  board: gateworks: gw_ventana: move ft_early_fixups out of common
  drivers: misc: add Gateworks System Controller driver
  board: gateworks: gw_ventana: use comomn GSC driver
  board: gateworks: venice: use common GSC driver

 MAINTAINERS                                   |   6 +
 arch/arm/dts/imx8mm-venice-u-boot.dtsi        |   4 +
 arch/arm/dts/imx8mm-venice.dts                |   7 +
 arch/arm/dts/imx8mn-venice-u-boot.dtsi        |   4 +
 arch/arm/dts/imx8mn-venice.dts                |   7 +
 arch/arm/mach-imx/imx8m/Kconfig               |   4 +
 arch/arm/mach-imx/mx6/Kconfig                 |   2 +
 board/gateworks/gw_ventana/Kconfig            |   8 -
 board/gateworks/gw_ventana/Makefile           |   2 +-
 board/gateworks/gw_ventana/common.c           | 527 +------------
 board/gateworks/gw_ventana/common.h           |  14 +-
 board/gateworks/gw_ventana/eeprom.c           | 224 +++++-
 .../gw_ventana/{ventana_eeprom.h => eeprom.h} |  16 +-
 board/gateworks/gw_ventana/gsc.c              | 425 -----------
 board/gateworks/gw_ventana/gsc.h              |  71 --
 board/gateworks/gw_ventana/gw_ventana.c       | 290 ++++++--
 board/gateworks/gw_ventana/gw_ventana_spl.c   | 311 +++++++-
 board/gateworks/venice/Makefile               |   2 +-
 board/gateworks/venice/eeprom.c               | 353 +++++++++
 board/gateworks/venice/{gsc.h => eeprom.h}    |  26 +-
 board/gateworks/venice/gsc.c                  | 700 ------------------
 board/gateworks/venice/spl.c                  |  53 +-
 board/gateworks/venice/venice.c               |  27 +-
 configs/gwventana_emmc_defconfig              |   4 +-
 configs/gwventana_gw5904_defconfig            |   4 +-
 configs/gwventana_nand_defconfig              |   4 +-
 configs/imx8mm_venice_defconfig               |   1 +
 configs/imx8mn_venice_defconfig               |   3 +-
 drivers/misc/Kconfig                          |   8 +
 drivers/misc/Makefile                         |   1 +
 drivers/misc/gsc.c                            | 633 ++++++++++++++++
 include/configs/gw_ventana.h                  |   3 -
 include/gsc.h                                 |  21 +
 scripts/config_whitelist.txt                  |   1 -
 34 files changed, 1866 insertions(+), 1900 deletions(-)
 rename board/gateworks/gw_ventana/{ventana_eeprom.h => eeprom.h} (82%)
 delete mode 100644 board/gateworks/gw_ventana/gsc.c
 delete mode 100644 board/gateworks/gw_ventana/gsc.h
 create mode 100644 board/gateworks/venice/eeprom.c
 rename board/gateworks/venice/{gsc.h => eeprom.h} (55%)
 delete mode 100644 board/gateworks/venice/gsc.c
 create mode 100644 drivers/misc/gsc.c
 create mode 100644 include/gsc.h

-- 
2.17.1



More information about the U-Boot mailing list