RFC wandboard: add imx6dl rev d1 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | wandboard: Import the dts files for the other revd1 variantsarch/ arch/ arch/ | +44 | 0 replies | |
| 2/7 | wandboard: Handle the imx6dl and imx6q revd1 boardsboard/ configs/ | +14 | 0 replies | |
| 3/7 | wandboard: reorder board_fit_config_name_matchboard/ | +16 | 0 replies | |
| 4/7 | wandboard: enable CONFIG_DTB_RESELECTboard/ configs/ | +22 | 0 replies | |
| 5/7 | wandboard: use imx6dl-wandboard-revd1 as default DTBconfigs/ | +1 | 0 replies | |
| 6/7 | wandboard: add u-boot specific *wandboard-revd1-u-boot.dtsiarch/ arch/ | +22 | 1 reply | |
| 6/7 | wandboard: add u-boot specific *wandboard-revd1-u-boot.dtsi | +0 | 1 reply | |
| 7/7 | wandboard: in SPL use only D1 DTBboard/ | +5 | 1 reply | |
| 7/7 | wandboard: in SPL use only D1 DTB | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC WIP PATCH v1 0/7] wandboard: add imx6dl rev d1 support
This series is a RFC for adding support for the wandboard revision d1 imx6dl boards. The first patch add the Device tree from linux, the second add the detection for the wandboard d1 imx6dl and imx6q versions. Both patches are from Fabio.
Unfortunately this does not work out of the box, as for the detection of D1 revisions in SPL only the PMIC can be used. But we have no DM support in SPL on wandboard and adding it would explod the size of SPL.
Solution:
- reorder board_fit_config_name_match to work correctly may can be merged with Fabios 2. patch
- enable CONFIG_DTB_RESELECT so we can detect revision in U-Boot before relocation and can reselect the correct devicetree.
- set imx6dl-wandboard-revd1 as default devicetree, so we have a devicetree which contains the PMIC.
- add u-boot specific devicetree, so i2c and pmic can be detected before relocation.
- use in SPL only revision D1 DTB
With this patchset, U-Boot boots on imx6dl revision D1 board after a soft reset. On hardreset, the PMIC does not respond on i2c bus ... and rev d1 gets not detected ... this needs more investigation.
@Fabio (or others): please test, if this patchset does not
break other board revisions!
Hack: If you need working current U-Boot on imx6dl rev d1
board, you can use the first 2 patches from this patchset and change configuration to:
CONFIG_DEFAULT_DEVICE_TREE="imx6dl-wandboard-revd1" CONFIG_OF_LIST="imx6dl-wandboard-revd1"
But this works only on imx6dl revision d1 boards.
Fabio Estevam (2):
wandboard: Import the dts files for the other revd1 variants
wandboard: Handle the imx6dl and imx6q revd1 boards
Heiko Schocher (5):
wandboard: reorder board_fit_config_name_match
wandboard: enable CONFIG_DTB_RESELECT
wandboard: use imx6dl-wandboard-revd1 as default DTB
wandboard: add u-boot specific *wandboard-revd1-u-boot.dtsi
wandboard: in SPL use only D1 DTB
arch/arm/dts/Makefile | 2 + .../dts/imx6dl-wandboard-revd1-u-boot.dtsi | 11 ++++ arch/arm/dts/imx6dl-wandboard-revd1.dts | 19 +++++++ .../arm/dts/imx6q-wandboard-revd1-u-boot.dtsi | 11 ++++ arch/arm/dts/imx6q-wandboard-revd1.dts | 23 ++++++++ board/wandboard/wandboard.c | 53 ++++++++++++++++--- configs/wandboard_defconfig | 5 +- 7 files changed, 115 insertions(+), 9 deletions(-) create mode 100644 arch/arm/dts/imx6dl-wandboard-revd1-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-wandboard-revd1.dts create mode 100644 arch/arm/dts/imx6q-wandboard-revd1-u-boot.dtsi create mode 100644 arch/arm/dts/imx6q-wandboard-revd1.dts
Signature · 1 line
2.24.1