[U-Boot] [PATCH V2 0/3] imx6ul: convert to enable pinctrl/DM POWER

Peng Fan van.freenix at gmail.com
Wed Mar 9 10:12:19 CET 2016


V2: Only a small change:
    Use CONFIG_SPL_BUILD to comment out I2C to SPL, but not CONFIG_SPL
    for PATCH V2 3/3

This patch set is to covert to enable pinctrl driver and
DM_PMIC and DM_REGULATOR for imx6ul 14x14/9x9 evk board.

This patch set is only to add device tree for i.MX6UL and
is just initial step to convert to support device tree for
i.MX6/7, I just have an idea to discard the pinmux settings
in board file and let pinctrl driver to handle these for
different drivers.

I am not very sure whether we need a full device tree here,
since we do not support so many devices as linux kernel.

Any comments on this? There maybe some work need to be done
to support this.

To the i2c part, the pinmux settings are still needed in
board file, because there are some dependency in
arch/arm/imx-common/i2c-mxv7.c. In future, we may need
to refine this to totally let i2c driver handle this.

Peng Fan (3):
  imx: imx6ul: Introduce device tree files
  imx: mx6ul_evk: default enable device tree support
  imx: mx6ul_evk: convert to use Driver model for power and i2c

 arch/arm/dts/Makefile                             |    4 +
 arch/arm/dts/imx6ul-14x14-evk.dts                 |  693 ++++++++++++
 arch/arm/dts/imx6ul-9x9-evk.dts                   |  790 ++++++++++++++
 arch/arm/dts/imx6ul-pinfunc.h                     |  938 +++++++++++++++++
 arch/arm/dts/imx6ul.dtsi                          | 1158 +++++++++++++++++++++
 board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c |   38 +-
 configs/mx6ul_14x14_evk_defconfig                 |   16 +-
 configs/mx6ul_9x9_evk_defconfig                   |   23 +-
 include/configs/mx6ul_14x14_evk.h                 |   11 +-
 include/dt-bindings/clock/imx6ul-clock.h          |  240 +++++
 10 files changed, 3868 insertions(+), 43 deletions(-)
 create mode 100644 arch/arm/dts/imx6ul-14x14-evk.dts
 create mode 100644 arch/arm/dts/imx6ul-9x9-evk.dts
 create mode 100644 arch/arm/dts/imx6ul-pinfunc.h
 create mode 100644 arch/arm/dts/imx6ul.dtsi
 create mode 100644 include/dt-bindings/clock/imx6ul-clock.h

-- 
2.6.2



More information about the U-Boot mailing list