Skip to content

Add Gateworks System Controller driver

Tim Harvey u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7board: gateworks: gw_ventana: convert to DM_I2Cboard/gateworks/gw_ventana/common.c board/gateworks/gw_ventana/common.h board/gateworks/gw_ventana/eeprom.c +7 more+334 -2951 reply
2/7board: gateworks: gw_ventana: move SPL uart config out of commonboard/gateworks/gw_ventana/common.c board/gateworks/gw_ventana/common.h board/gateworks/gw_ventana/gw_ventana_spl.c+11 -130 replies
3/7board: gateworks: gw_ventana: move GPIO config out of commonboard/gateworks/gw_ventana/common.c board/gateworks/gw_ventana/common.h board/gateworks/gw_ventana/gw_ventana.c+85 -880 replies
4/7board: gateworks: gw_ventana: move ft_early_fixups out of commonboard/gateworks/gw_ventana/common.c board/gateworks/gw_ventana/common.h board/gateworks/gw_ventana/gw_ventana.c +1 more+146 -1550 replies
5/7drivers: misc: add Gateworks System Controller driverMAINTAINERS drivers/misc/Kconfig drivers/misc/Makefile +2 more+669 -01 reply
6/7board: gateworks: gw_ventana: use comomn GSC driverarch/arm/mach-imx/mx6/Kconfig board/gateworks/gw_ventana/Kconfig board/gateworks/gw_ventana/Makefile +13 more+266 -6550 replies
7/7board: gateworks: venice: use common GSC driverarch/arm/dts/imx8mm-venice-u-boot.dtsi arch/arm/dts/imx8mm-venice.dts arch/arm/dts/imx8mn-venice-u-boot.dtsi +10 more+426 -7650 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Add Gateworks System Controller driver

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
Signature · 1 line
2.17.1