[U-Boot] [PATCH v6 0/7] Add VID support for QDS and RDB platforms

Rajesh Bhagat rajesh.bhagat at nxp.com
Tue Nov 14 07:06:39 UTC 2017


Adds LTC3882 voltage regulator chip support in common VID driver.
And adds VID support for LS1088A QDS and RDB platforms.

Rajesh Bhagat (7):
  armv8: lsch3: Add serdes and DDR voltage setup
  board: common:vid: Add LS1088A VID Supported voltage values
  board: common: vid: Add board specific vdd adjust API
  board: common: vid: Move IR chip specific code in flag
  Kconfig: Add LTC3882 voltage regulator config
  board: common: vid: Add support for LTC3882 voltage regulator chip
  ls1088a: Add VID support for QDS and RDB platforms

 .../cpu/armv8/fsl-layerscape/fsl_lsch3_serdes.c    | 312 +++++++++++++++++++++
 arch/arm/cpu/armv8/fsl-layerscape/soc.c            |  34 +--
 .../include/asm/arch-fsl-layerscape/fsl_serdes.h   |   2 +-
 .../include/asm/arch-fsl-layerscape/immap_lsch3.h  |  43 ++-
 arch/arm/include/asm/arch-fsl-layerscape/soc.h     |   1 +
 board/freescale/common/Kconfig                     |  16 ++
 board/freescale/common/vid.c                       | 129 ++++++++-
 board/freescale/ls1088a/ls1088a.c                  | 120 ++++++++
 include/configs/ls1088aqds.h                       |  29 ++
 include/configs/ls1088ardb.h                       |  29 ++
 10 files changed, 694 insertions(+), 21 deletions(-)

-- 
Changes in v6:
  - Corrected indentation/alignment issues at various places
  - Changed NULL ENTRY in srds_prctl_info array to id as zero
  - Corrected the PLL Reset logic, moved code inside for loop
  - Used error code(-EINVAL) in setup_serdes_volt API

Changes in v5:
  - Moved local macros to static functions
  - Used array to handle PRCTL mask and shift operations
  - Tested on LS2080RDB, working fine

Changes in v4:
  - Added local macros instead of magical numbers
  - Created macros to remove duplicate code

Changes in v3:
 Restructured LS1088A VID support to use common VID driver
 Cosmetic review comments fixed
 Added __iomem for accessing registers
 Added the coding for voltage in comments i.e. 1/4096V
 Removed APIs getLSB/MSB and used bit operations. 

Changes in v2:
 Checkpatch errors fixed

Depends on below patches:
http://patchwork.ozlabs.org/patch/831893/ 
http://patchwork.ozlabs.org/patch/833198/ 
http://patchwork.ozlabs.org/patch/833199/ 
http://patchwork.ozlabs.org/patch/834501/ 
http://patchwork.ozlabs.org/patch/834502/ 
http://patchwork.ozlabs.org/patch/834503/ 

2.7.4



More information about the U-Boot mailing list