Skip to contentSkip to conversation

ARM: imx6sx-sdb: add revb board

PATCH New Peter Chen 2 participants 4 messages Feb 26, 2015

Subsystems (3)
lore
Share & tools
lore

Peter Chen

author
#0 lore raw

v3 cover ARM: imx6sx-sdb: add revb board

Changes for v3:
- Rebased on v4.0-rc1

Changes for v2:

- Add missing Makefile entries for both dts files. [Patch 1/2] and [Patch 2/2]
- Delete OOP setting changed at imx6sx-sdb-reva, it is SoC feature,
it doesn't need to be change unless board limitations. [Patch 1/2]
- Add explanation why OOP setting need to changed at imx6sx-sdb revb board. [Patch 2/2]
- Make imx6sx-sdb revb board as default imx6sx-sdb board. [Patch 2/2]

Hi Shawn,

The imx6sx-sdb board has two revisions, the current mainline is the reva which is experimental and will not be released, the revb board is used widely for internal and external users.

The main changes between reva and revb board:
- OOP setting
- pfuse
- qspi
- can transceiver (not mainlined)

Peter Chen (2):
ARM: imx6sx-sdb: change default board as reva board
ARM: imx6sx-sdb: add revb board and make it default

 arch/arm/boot/dts/Makefile            |   1 +
 arch/arm/boot/dts/imx6sx-sdb-reva.dts | 143 ++++++++
 arch/arm/boot/dts/imx6sx-sdb.dts      | 603 ++--------------------------------
 arch/arm/boot/dts/imx6sx-sdb.dtsi     | 562 +++++++++++++++++++++++++++++++
 4 files changed, 734 insertions(+), 575 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx6sx-sdb-reva.dts
 create mode 100644 arch/arm/boot/dts/imx6sx-sdb.dtsi
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH v3 1/2 ARM: imx6sx-sdb: change default board as reva board

The imx6sx sdb board has two revisions, the current mainline one is reva which is experimental and mainly for internal use. In this commit, we rename imx6sx-sdb.dts to imx6sx-sdb.dtsi, and move the reva dedicated contents to imx6sx-sdb-reva.dts.

---
 arch/arm/boot/dts/Makefile                         |   2 +-
 arch/arm/boot/dts/imx6sx-sdb-reva.dts              | 143 +++++++++++++++++++++
 .../boot/dts/{imx6sx-sdb.dts => imx6sx-sdb.dtsi}   | 130 -------------------
 3 files changed, 144 insertions(+), 131 deletions(-)
 create mode 100644 arch/arm/boot/dts/imx6sx-sdb-reva.dts
 rename arch/arm/boot/dts/{imx6sx-sdb.dts => imx6sx-sdb.dtsi} (84%)
arch/arm/boot/dts/Makefile +1 -1
index a1c776b..92d0389 100644
@@ -302,7 +302,7 @@ dtb-$(CONFIG_SOC_IMX6SL) += \
 	imx6sl-evk.dtb
 dtb-$(CONFIG_SOC_IMX6SX) += \
 	imx6sx-sabreauto.dtb \
-	imx6sx-sdb.dtb
+	imx6sx-sdb-reva.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
 	ls1021a-qds.dtb \
 	ls1021a-twr.dtb
arch/arm/boot/dts/imx6sx-sdb-reva.dts new file +143 -0

143 lines not on this page · raw message

arch/arm/boot/dts/imx6sx-sdb.dtsi renamed from arch/arm/boot/dts/imx6sx-sdb.dts +0 -130

142 lines not on this page · raw message

Signature · 1 line
1.9.1
author
#2 lore raw

PATCH v3 2/2 ARM: imx6sx-sdb: add revb board and make it default

In reply to Peter Chen

Since imx6sx-sdb reva board is experimental and will not be used formally (eg, no software release based on it), we set revb board as the formal imx6sx-sdb board.

The imx6sx-sdb uses pfuse200 as pmic which has only one power supply for both VDDARM_IN and VDDSOC_IN, so VDDARM_IN and VDDSOC_IN have to use the same (higher one in the same frequency) one as its power supply, that's the reason we override the OPP setting in board dts file.

---
 arch/arm/boot/dts/Makefile       |   3 +-
 arch/arm/boot/dts/imx6sx-sdb.dts | 145 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 147 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/imx6sx-sdb.dts
arch/arm/boot/dts/Makefile +2 -1
index 92d0389..4a4ae42 100644
@@ -302,7 +302,8 @@ dtb-$(CONFIG_SOC_IMX6SL) += \
 	imx6sl-evk.dtb
 dtb-$(CONFIG_SOC_IMX6SX) += \
 	imx6sx-sabreauto.dtb \
-	imx6sx-sdb-reva.dtb
+	imx6sx-sdb-reva.dtb \
+	imx6sx-sdb.dtb
 dtb-$(CONFIG_SOC_LS1021A) += \
 	ls1021a-qds.dtb \
 	ls1021a-twr.dtb
arch/arm/boot/dts/imx6sx-sdb.dts new file +145 -0

145 lines not on this page · raw message

Signature · 1 line
1.9.1
Applied
#3 lore raw

v3 cover ARM: imx6sx-sdb: add revb board

In reply to Peter Chen
Quoted 23 lines · Peter Chen

Changes for v3:
- Rebased on v4.0-rc1

Changes for v2:

- Add missing Makefile entries for both dts files. [Patch 1/2] and [Patch 2/2]
- Delete OOP setting changed at imx6sx-sdb-reva, it is SoC feature,
it doesn't need to be change unless board limitations. [Patch 1/2]
- Add explanation why OOP setting need to changed at imx6sx-sdb revb board. [Patch 2/2]
- Make imx6sx-sdb revb board as default imx6sx-sdb board. [Patch 2/2]

Hi Shawn,

The imx6sx-sdb board has two revisions, the current mainline is the reva which is experimental and will not be released, the revb board is used widely for internal and external users.

The main changes between reva and revb board:
- OOP setting
- pfuse
- qspi
- can transceiver (not mainlined)

Quoted 3 lines

Peter Chen (2):
ARM: imx6sx-sdb: change default board as reva board
ARM: imx6sx-sdb: add revb board and make it default

Applied both, thanks.