Skip to content

imx: ventana: misc updates

Tim Harvey u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19imx: ventana: set dtype env var to boot mediainclude/configs/gw_ventana.h+4 -40 replies
2/19imx: ventana: display SPL boot deviceboard/gateworks/gw_ventana/gw_ventana_spl.c include/configs/gw_ventana.h+23 -00 replies
3/19imx: ventana: config: enable gpio commandinclude/configs/gw_ventana.h+1 -00 replies
4/19imx: ventana: config: enable driver modelinclude/configs/gw_ventana.h+7 -00 replies
5/19imx: ventana: register gpio's with gpio_requestboard/gateworks/gw_ventana/gw_ventana.c+57 -200 replies
6/19imx: ventana: enable DM_SERIALboard/gateworks/gw_ventana/gw_ventana.c include/configs/gw_ventana.h+10 -00 replies
7/19imx: ventana: config: enable Thermal supportinclude/configs/gw_ventana.h+4 -00 replies
8/19imx: ventana: config: use MMC SPL RAW supportinclude/configs/gw_ventana.h+2 -41 reply
8/19imx: ventana: config: use MMC SPL RAW support+0 -01 reply
9/19imx: ventana: (cosmetic) clean up size defines for improved readabilityinclude/configs/gw_ventana.h+12 -100 replies
10/19imx: ventana: fix pcie reset for GW522xboard/gateworks/gw_ventana/gw_ventana.c+4 -41 reply
10/19imx: ventana: fix pcie reset for GW522x+0 -00 replies
11/19imx: ventana: default msata/pci mux to pci before PCI enumerationboard/gateworks/gw_ventana/gw_ventana.c+4 -30 replies
12/19imx: ventana: split out common functions between SPL and ubootboard/gateworks/gw_ventana/Makefile board/gateworks/gw_ventana/common.c board/gateworks/gw_ventana/common.h +1 more+933 -8640 replies
13/19imx: ventana: move GSC boot watchdog disable function to gsc.cboard/gateworks/gw_ventana/gsc.c board/gateworks/gw_ventana/gsc.h board/gateworks/gw_ventana/gw_ventana.c+30 -220 replies
14/19imx: ventana: detect pmic using i2c probe instead of board modelboard/gateworks/gw_ventana/common.c board/gateworks/gw_ventana/common.h board/gateworks/gw_ventana/gw_ventana.c+9 -50 replies
15/19imx: ventana: use common uart and i2c setup functions in SPLboard/gateworks/gw_ventana/gw_ventana_spl.c+5 -470 replies
16/19imx: ventana: add gpio setup to SPLboard/gateworks/gw_ventana/gw_ventana_spl.c+3 -00 replies
17/19imx: ventana: add pmic_setup to SPLboard/gateworks/gw_ventana/gw_ventana_spl.c include/configs/gw_ventana.h+4 -00 replies
18/19imx: ventana: add GSC boot watchdog disable to SPLboard/gateworks/gw_ventana/gw_ventana_spl.c+3 -00 replies
19/19imx: ventana: config: enable Falcon modeboard/gateworks/gw_ventana/gw_ventana_spl.c include/configs/gw_ventana.h+36 -01 reply
19/19imx: ventana: config: enable Falcon mode+0 -04 replies
19/19imx: ventana: config: enable Falcon mode+0 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [PATCH 00/19] imx: ventana: misc updates

This collection of patches comprises a set of various updates I've been on for Ventana.

In summary:
- enable driver model
- enable gpio command
- enable dm-serial
- enable thermal support
- fixup for GW522x PCI enumeration
- split out common code shared between SPL an U-Boot
- pull down various init code to the SPL for use in Falcon mode
- enable Falcon mode (based on env var)

The enabling of Falcon mode is dependent on a patch I submitted earlier allowing nand env in spl [1].

Currently Falcon mode is configured for NAND boot. I plan on re-working a pending patchset I have that allows dynamic env support (use mmc or nand env depending on boot device) but I still need to re-work that using driver-model so it will come later.

I will send a followup patch with README updates explaining our use of Falcon mode if everything here looks good.

Tim

[1] https://patchwork.ozlabs.org/patch/470191/

Tim Harvey (19):
imx: ventana: set dtype env var to boot media
imx: ventana: display SPL boot device
imx: ventana: config: enable gpio command
imx: ventana: config: enable driver model
imx: ventana: register gpio's with gpio_request
imx: ventana: enable DM_SERIAL
imx: ventana: config: enable Thermal support
imx: ventana: config: use MMC SPL RAW support
imx: ventana: (cosmetic) clean up size defines for improved
readability
imx: ventana: fix pcie reset for GW522x
imx: ventana: default msata/pci mux to pci before PCI enumeration
imx: ventana: split out common functions between SPL and uboot
imx: ventana: move GSC boot watchdog disable function to gsc.c
imx: ventana: detect pmic using i2c probe instead of board model
imx: ventana: use common uart and i2c setup functions in SPL
imx: ventana: add gpio setup to SPL
imx: ventana: add pmic_setup to SPL
imx: ventana: add GSC boot watchdog disable to SPL
imx: ventana: config: enable Falcon mode

 board/gateworks/gw_ventana/Makefile         |   2 +-
 board/gateworks/gw_ventana/common.c         | 827 +++++++++++++++++++++++++
 board/gateworks/gw_ventana/common.h         |  98 +++
 board/gateworks/gw_ventana/gsc.c            |  27 +
 board/gateworks/gw_ventana/gsc.h            |   1 +
 board/gateworks/gw_ventana/gw_ventana.c     | 911 ++--------------------------
 board/gateworks/gw_ventana/gw_ventana_spl.c | 103 ++--
 include/configs/gw_ventana.h                |  67 +-
 8 files changed, 1102 insertions(+), 934 deletions(-)
 create mode 100644 board/gateworks/gw_ventana/common.c
 create mode 100644 board/gateworks/gw_ventana/common.h
Signature · 1 line
1.9.1