[U-Boot] [PATCH v3 00/10] mx7: add dt support for Colibri iMX7S/iMX7D

Stefan Agner stefan at agner.ch
Thu Oct 6 00:27:02 CEST 2016


From: Stefan Agner <stefan.agner at toradex.com>

This patchset adds device tree support for Colibri iMX7S/iMX7D.
It is the first device tree enabled board for any i.MX 7 SoC
hence the patchset adds some common infrastructure:
- Add device tree support for serial_mxc.
- imx7.dtsi - I descided to leave the s/d suffix since the SoCs
  are very similar and boards will likely use runtime detection
  to distinguish the two available SoCs.
- The pinmux file imx7d-pinfunc.h is taken from the Kernel and
  stored in the same place

Otherwise the conversion is quite straightforward and simplified
the board code somewhat. Two patches enhance the board support
with PMIC support, which has been the driver for this conversion.

Changes since v2:
- Drop CONFIG_CUSTOM_BOARDINFO again
- Add ifdef OF_CONTROL in serial-mxc driver to allow building the
  driver without OF support

Changes since v1:
- Add Linux kernel commit hash for imx7d-pinfunc.h
- Removed obsolete init declaration in PMIC header file
- Rebased and added Acks

--
Stefan


Stefan Agner (10):
  dm: imx: serial: support device tree
  pinctrl: imx: do not announce driver initialization
  arm: dts: imx7: add pinctrl defines
  arm: dts: imx7: add basic i.MX 7/Colibri iMX7 device tree
  colibri_imx7: remove legancy I2C support
  colibri_imx7: remove legancy UART platform data
  power: pmic: add Ricoh RN5T567 PMIC support
  arm: dts: imx7: add Ricoh RN5T567 PMIC node
  colibri_imx7: use Ricoh RN5T567 to reboot the board
  configs: enable device tree for Colibri iMX7

 arch/arm/dts/Makefile                          |    2 +
 arch/arm/dts/imx7-colibri.dts                  |   97 ++
 arch/arm/dts/imx7.dtsi                         |  194 ++++
 arch/arm/dts/imx7d-pinfunc.h                   | 1151 ++++++++++++++++++++++++
 board/toradex/colibri_imx7/colibri_imx7.c      |   92 +-
 configs/colibri_imx7_defconfig                 |   10 +-
 doc/device-tree-bindings/pmic/rn5t567.txt      |   17 +
 doc/device-tree-bindings/serial/mxc-serial.txt |    8 +
 drivers/pinctrl/nxp/pinctrl-imx.c              |    2 +-
 drivers/power/pmic/Kconfig                     |    8 +
 drivers/power/pmic/Makefile                    |    1 +
 drivers/power/pmic/rn5t567.c                   |   64 ++
 drivers/serial/serial_mxc.c                    |   32 +-
 include/configs/colibri_imx7.h                 |    2 -
 include/power/rn5t567_pmic.h                   |  113 +++
 15 files changed, 1737 insertions(+), 56 deletions(-)
 create mode 100644 arch/arm/dts/imx7-colibri.dts
 create mode 100644 arch/arm/dts/imx7.dtsi
 create mode 100644 arch/arm/dts/imx7d-pinfunc.h
 create mode 100644 doc/device-tree-bindings/pmic/rn5t567.txt
 create mode 100644 doc/device-tree-bindings/serial/mxc-serial.txt
 create mode 100644 drivers/power/pmic/rn5t567.c
 create mode 100644 include/power/rn5t567_pmic.h

-- 
2.10.0



More information about the U-Boot mailing list