[U-Boot] [PATCH V2 00/20] imx: add i.MX7ULP support

Peng Fan peng.fan at nxp.com
Tue Dec 27 11:04:06 CET 2016


This patchset is to add i.MX7 ULP support default enabling OF_CONTROL.
Also there are some new IPs, such lpi2c/lpuart/rapid gpio2p and etc.

V2:
  Restructure the lpuart driver and add i.MX7ULP support.
  Reuse code in imx-common
  Add HAB support
  Add plugin support
  Add wdog file license
  Add maintainer file
  Addressed some issues in board code.

Peng Fan (17):
  imx: mx7ulp: Add mx7ulp to Kconfig
  imx: mx7ulp: add registers header file
  imx: mx7ulp: add iomux driver to support IOMUXC0 and IOMUXC1
  imx: mx7ulp: Add clock framework and functions
  imx: mx7ulp: Add soc level initialization codes and functions
  imx: mx7ulp: handle all the lpuarts in get_lpuart_clk
  gpio: Add Rapid GPIO2P driver for i.MX7ULP
  mxc_ocotp: Update driver to support OCOTP controller on i.MX7ULP
  pinctrl: Add i.MX7ULP pinctrl driver
  i2c: lpi2c: add lpi2c driver for i.MX7ULP
  serial: lpuart: restructure lpuart driver
  serial: lpuart: add i.MX7ULP support
  mx7ulp: Add HAB boot support
  arm: dts: add i.MX7ULP dtsi file
  mmc: fsl_esdhc: support i.MX7ULP
  imx: imx7ulp: add EVK board support
  imx: mx7ulp_evk: enable mmc/regulator support

Ye Li (3):
  imx: mx7ulp: Implement the clock functions for i2c driver
  mx7ulp: Add iomux pins header file
  wdog: Add the watchdog driver for MX7ULP.

 arch/arm/Kconfig                                   |    7 +
 arch/arm/Makefile                                  |    2 +-
 arch/arm/cpu/armv7/Makefile                        |    3 +-
 arch/arm/cpu/armv7/mx7ulp/Kconfig                  |   17 +
 arch/arm/cpu/armv7/mx7ulp/Makefile                 |    8 +
 arch/arm/cpu/armv7/mx7ulp/clock.c                  |  364 +++++++
 arch/arm/cpu/armv7/mx7ulp/iomux.c                  |   70 ++
 arch/arm/cpu/armv7/mx7ulp/pcc.c                    |  286 +++++
 arch/arm/cpu/armv7/mx7ulp/scg.c                    | 1086 +++++++++++++++++++
 arch/arm/cpu/armv7/mx7ulp/soc.c                    |  282 +++++
 arch/arm/cpu/armv7/vf610/generic.c                 |    5 +
 arch/arm/dts/Makefile                              |    2 +
 arch/arm/dts/imx7ulp-evk.dts                       |  426 ++++++++
 arch/arm/dts/imx7ulp-pinfunc.h                     |  882 +++++++++++++++
 arch/arm/dts/imx7ulp-uboot.dtsi                    |   43 +
 arch/arm/dts/imx7ulp.dtsi                          |  598 +++++++++++
 arch/arm/imx-common/Makefile                       |    4 +
 arch/arm/imx-common/hab.c                          |    3 +-
 .../arm/include/asm/arch-fsl-layerscape/imx-regs.h |   42 -
 arch/arm/include/asm/arch-imx/cpu.h                |    2 +
 arch/arm/include/asm/arch-ls102xa/imx-regs.h       |   40 -
 arch/arm/include/asm/arch-mx7ulp/clock.h           |   43 +
 arch/arm/include/asm/arch-mx7ulp/gpio.h            |   22 +
 arch/arm/include/asm/arch-mx7ulp/imx-regs.h        | 1130 ++++++++++++++++++++
 arch/arm/include/asm/arch-mx7ulp/imx_lpi2c.h       |  520 +++++++++
 arch/arm/include/asm/arch-mx7ulp/iomux.h           |   95 ++
 arch/arm/include/asm/arch-mx7ulp/mx7ulp-pins.h     |  910 ++++++++++++++++
 arch/arm/include/asm/arch-mx7ulp/pcc.h             |  377 +++++++
 arch/arm/include/asm/arch-mx7ulp/scg.h             |  342 ++++++
 arch/arm/include/asm/arch-mx7ulp/sys_proto.h       |   21 +
 arch/arm/include/asm/arch-vf610/clock.h            |    1 +
 arch/arm/include/asm/arch-vf610/imx-regs.h         |   28 -
 arch/arm/include/asm/imx-common/sys_proto.h        |    2 +
 board/freescale/mx7ulp_evk/Kconfig                 |   12 +
 board/freescale/mx7ulp_evk/MAINTAINERS             |    7 +
 board/freescale/mx7ulp_evk/Makefile                |   10 +
 board/freescale/mx7ulp_evk/imximage.cfg            |  137 +++
 board/freescale/mx7ulp_evk/mx7ulp_evk.c            |   48 +
 board/freescale/mx7ulp_evk/plugin.S                |  224 ++++
 configs/mx7ulp_evk_defconfig                       |   25 +
 configs/mx7ulp_evk_plugin_defconfig                |   26 +
 drivers/gpio/Kconfig                               |    7 +
 drivers/gpio/Makefile                              |    1 +
 drivers/gpio/imx_rgpio2p.c                         |  224 ++++
 drivers/i2c/Kconfig                                |    6 +
 drivers/i2c/Makefile                               |    1 +
 drivers/i2c/imx_lpi2c.c                            |  462 ++++++++
 drivers/misc/mxc_ocotp.c                           |   52 +-
 drivers/mmc/fsl_esdhc.c                            |    8 +
 drivers/pinctrl/nxp/Kconfig                        |   14 +
 drivers/pinctrl/nxp/Makefile                       |    1 +
 drivers/pinctrl/nxp/pinctrl-imx.c                  |   10 +-
 drivers/pinctrl/nxp/pinctrl-imx.h                  |    3 +
 drivers/pinctrl/nxp/pinctrl-imx7ulp.c              |   41 +
 drivers/serial/serial_lpuart.c                     |  336 ++++--
 drivers/watchdog/Kconfig                           |    8 +
 drivers/watchdog/Makefile                          |    1 +
 drivers/watchdog/ulp_wdog.c                        |   98 ++
 include/configs/mx7ulp_evk.h                       |  203 ++++
 include/dt-bindings/clock/imx7ulp-clock.h          |  161 +++
 include/fsl_lpuart.h                               |   72 ++
 61 files changed, 9631 insertions(+), 230 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/mx7ulp/Kconfig
 create mode 100644 arch/arm/cpu/armv7/mx7ulp/Makefile
 create mode 100644 arch/arm/cpu/armv7/mx7ulp/clock.c
 create mode 100644 arch/arm/cpu/armv7/mx7ulp/iomux.c
 create mode 100644 arch/arm/cpu/armv7/mx7ulp/pcc.c
 create mode 100644 arch/arm/cpu/armv7/mx7ulp/scg.c
 create mode 100644 arch/arm/cpu/armv7/mx7ulp/soc.c
 create mode 100644 arch/arm/dts/imx7ulp-evk.dts
 create mode 100644 arch/arm/dts/imx7ulp-pinfunc.h
 create mode 100644 arch/arm/dts/imx7ulp-uboot.dtsi
 create mode 100644 arch/arm/dts/imx7ulp.dtsi
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/clock.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/gpio.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/imx-regs.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/imx_lpi2c.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/iomux.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/mx7ulp-pins.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/pcc.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/scg.h
 create mode 100644 arch/arm/include/asm/arch-mx7ulp/sys_proto.h
 create mode 100644 board/freescale/mx7ulp_evk/Kconfig
 create mode 100644 board/freescale/mx7ulp_evk/MAINTAINERS
 create mode 100644 board/freescale/mx7ulp_evk/Makefile
 create mode 100644 board/freescale/mx7ulp_evk/imximage.cfg
 create mode 100644 board/freescale/mx7ulp_evk/mx7ulp_evk.c
 create mode 100644 board/freescale/mx7ulp_evk/plugin.S
 create mode 100644 configs/mx7ulp_evk_defconfig
 create mode 100644 configs/mx7ulp_evk_plugin_defconfig
 create mode 100644 drivers/gpio/imx_rgpio2p.c
 create mode 100644 drivers/i2c/imx_lpi2c.c
 create mode 100644 drivers/pinctrl/nxp/pinctrl-imx7ulp.c
 create mode 100644 drivers/watchdog/ulp_wdog.c
 create mode 100644 include/configs/mx7ulp_evk.h
 create mode 100644 include/dt-bindings/clock/imx7ulp-clock.h
 create mode 100644 include/fsl_lpuart.h

-- 
2.6.2



More information about the U-Boot mailing list