Hi,
the main purpose of this short series is to add the support of the
second SDHCI controller on the Armada 3720 DB board (and on the Armada
37xx SoC).
This series also adds some improvement to the device tree of the the
Armada 3720 DB board and the last patch allow using higher speed on
the SD card by adding the vqmmc regulator.
In the v3, I use the angle bracket for each set of register. And I
added the reviewed by flag from Andreas F?rber.
In the v2, I added a patch aligning the compatible string and fix the
patch " arm64: dts: marvell: Enable second SDHCI controller in Armada
37xx" too.
Gregory
Gregory CLEMENT (5):
arm64: dts: marvell: armada-3720-db: Sort the dts node alphabetically
arm64: dts: marvell: armada-3720-db: Add information about the V2
board
arm64: dts: marvell: armada-37xx: Align the compatible string
arm64: dts: marvell: armada-37xx: Use angle bracket for each register
set
arm64: dts: marvell: armada-3720-db: Add vqmmc regulator for SD slot
Konstantin Porotchkin (1):
arm64: dts: marvell: Enable second SDHCI controller in Armada 37xx
arch/arm64/boot/dts/marvell/armada-3720-db.dts | 120 ++++++++++++++++---------
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 25 ++++--
2 files changed, 94 insertions(+), 51 deletions(-)
--
2.11.0
Sort the reference nodes in alphabetical order to ease the merge of
future nodes.
Reviewed-by: Andreas F?rber <afaerber@suse.de>
Signed-off-by: Gregory CLEMENT <redacted>
---
arch/arm64/boot/dts/marvell/armada-3720-db.dts | 83 +++++++++++++-------------
1 file changed, 41 insertions(+), 42 deletions(-)
The initial device tree file was for the board V1.4. Now the V2.0 board
is also available. The same dtb will work for both, but the CON number
have changed, so update the comment in the dts to reflect this.
Signed-off-by: Gregory CLEMENT <redacted>
---
arch/arm64/boot/dts/marvell/armada-3720-db.dts | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
@@ -184,19 +190,22 @@};};-/* Exported on the micro USB connector CON32 through an FTDI */+/*+*ExportedonthemicroUSBconnectorCON30(V2.0)/CON32(V1.4)through+*anFTDI+*/&uart0{pinctrl-names="default";pinctrl-0=<&uart1_pins>;status="okay";};-/* CON27 */+/* CON27(V2.0)/CON29(V1.4) */&usb2{status="okay";};-/* CON31 */+/* CON29(V2.0)/CON31(V1.4) */&usb3{status="okay";usb-phy=<&usb3_phy>;
This cosmetic patch aligns the compatible string when there are on
several lines.
Signed-off-by: Gregory CLEMENT <redacted>
---
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
When several groups of register address and size are used with reg, then
surround each one by angle bracket.
Signed-off-by: Gregory CLEMENT <redacted>
---
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
From: Konstantin Porotchkin <redacted>
The Armada 37xx SoCs has 2 SDHCI interfaces. This patch adds the second
one.
Moreover, the Armada 37xx DB v2 board populates the 2 SDHCI interfaces.
The second interface is using pluggable module that can either
have an SD connector or eMMC on it.
This patch adds support for SD module in the device DT.
[ gregory.clement at free-electrons.com:
- Add more detail in commit log
- Sort the dt node in address order
- Document the SD slot in the dts ]
Signed-off-by: Konstantin Porotchkin <redacted>
Signed-off-by: Gregory CLEMENT <redacted>
---
arch/arm64/boot/dts/marvell/armada-3720-db.dts | 9 +++++++++
arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 11 +++++++++++
2 files changed, 20 insertions(+)
By adding this regulator, the SD cards are usable at higher speed
protocols such as SDR104.
This patch was tested with an SD HC card compatible with UHS-I.
Signed-off-by: Gregory CLEMENT <redacted>
---
arch/arm64/boot/dts/marvell/armada-3720-db.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)