mx7: add dt support for Colibri iMX7S/iMX7D
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 0 repliesNew
- v210 patches 0 repliesSuperseded
- v110 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- Drop CONFIG_CUSTOM_BOARDINFO again
- Add ifdef OF_CONTROL in serial-mxc driver to allow building the driver without OF support
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | dm: imx: serial: support device treedoc/ drivers/ | +38 | 0 replies | |
| 2/10 | pinctrl: imx: do not announce driver initializationdrivers/ | +1 | 0 replies | |
| 3/10 | arm: dts: imx7: add pinctrl definesarch/ | +1151 | 0 replies | |
| 4/10 | arm: dts: imx7: add basic i.MX 7/Colibri iMX7 device treearch/ arch/ arch/ | +288 | 0 replies | |
| 5/10 | colibri_imx7: remove legancy I2C supportboard/ include/ | +0 | 0 replies | |
| 6/10 | colibri_imx7: remove legancy UART platform databoard/ | +0 | 0 replies | |
| 7/10 | power: pmic: add Ricoh RN5T567 PMIC supportdoc/ drivers/ drivers/ +2 more | +203 | 0 replies | |
| 8/10 | arm: dts: imx7: add Ricoh RN5T567 PMIC nodearch/ | +5 | 0 replies | |
| 9/10 | colibri_imx7: use Ricoh RN5T567 to reboot the boardboard/ | +42 | 0 replies | |
| 10/10 | configs: enable device tree for Colibri iMX7configs/ | +9 | 0 replies |
Reviews trailers per patch
4 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | |
| 4/10 | R-b |
| 5/10 | |
| 6/10 | |
| 7/10 | R-b |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v3 00/10] mx7: add dt support for Colibri iMX7S/iMX7D
From: Stefan Agner <[email protected]>
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
Signature · 1 line
2.10.0