Skip to contentSkip to conversation

Add support for Amlogic Meson8b and couple of boards

PATCH Superseded Carlo Caione 5 participants 11 messages Oct 7, 2015 – Nov 3, 2015

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

v2 cover Add support for Amlogic Meson8b and couple of boards

From: Carlo Caione <[email protected]>

A patchset sitting in my personal repo since forever. It adds the basic support for Amlogic Meson8B SoCs and two common boards: Hardkernel Odroid-C1 and Tronfy MXQ.

Changelog:
** v2:
- Specified which board compatibles apply to which SOC
- Added commit message specifying who is Tronfy

Carlo Caione (4):
of: documentation: Add vendor prefix for Tronfy
of: documentation: add bindings documentation for Meson8b
ARM: meson: Add DTS for Odroid-C1 and Tronfy MXQ boards
ARM: meson: Enable Meson8b SoCs

 Documentation/devicetree/bindings/arm/amlogic.txt  |  10 +-
 .../devicetree/bindings/vendor-prefixes.txt        |   1 +
 arch/arm/boot/dts/Makefile                         |   3 +
 arch/arm/boot/dts/meson8b-mxq.dts                  |  67 ++++++++
 arch/arm/boot/dts/meson8b-odroidc1.dts             |  67 ++++++++
 arch/arm/boot/dts/meson8b.dtsi                     | 186 +++++++++++++++++++++
 arch/arm/mach-meson/Kconfig                        |   5 +
 arch/arm/mach-meson/meson.c                        |   1 +
 8 files changed, 338 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/boot/dts/meson8b-mxq.dts
 create mode 100644 arch/arm/boot/dts/meson8b-odroidc1.dts
 create mode 100644 arch/arm/boot/dts/meson8b.dtsi
Signature · 1 line
1.9.1
#1 lore raw

PATCH v2 1/4 of: documentation: Add vendor prefix for Tronfy

From: Carlo Caione <[email protected]>

Tronfy is an emerging brand in China specializing in Home Theater solutions for the normal consumers.

---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -0
index 82d2ac9..54c91ef 100644
@@ -222,6 +222,7 @@ toradex	Toradex AG
 toshiba	Toshiba Corporation
 toumaz	Toumaz
 tplink	TP-LINK Technologies Co., Ltd.
+tronfy	Tronfy
 truly	Truly Semiconductors Limited
 usi	Universal Scientific Industrial Co., Ltd.
 v3	V3 Semiconductor
Signature · 1 line
1.9.1
maintainer
#2 lore raw

PATCH v2 1/4 of: documentation: Add vendor prefix for Tronfy

+dt list

Quoted 6 lines · Carlo Caione

From: Carlo Caione <[email protected]>

Tronfy is an emerging brand in China specializing in Home Theater solutions for the normal consumers.

Please use scripts/get_maintainers.pl in the future to send to the right people and lists.

Quoted 19 lines
---
 Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/vendor-prefixes.txt +1 -1
index 82d2ac9..54c91ef 100644
@@ -222,6 +222,7 @@ toradex     Toradex AG
 toshiba        Toshiba Corporation
 toumaz Toumaz
 tplink TP-LINK Technologies Co., Ltd.
+tronfy Tronfy
 truly  Truly Semiconductors Limited
 usi    Universal Scientific Industrial Co., Ltd.
 v3     V3 Semiconductor
--

1.9.1

#3 lore raw

PATCH v2 2/4 of: documentation: add bindings documentation for Meson8b

In reply to Carlo Caione

From: Carlo Caione <[email protected]>

---
 Documentation/devicetree/bindings/arm/amlogic.txt | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +8 -2
index 973884a..1dfee20 100644
@@ -9,6 +9,12 @@ Boards with the Amlogic Meson8 SoC shall have the following properties:
   Required root node property:
     compatible: "amlogic,meson8";
 
+Boards with the Amlogic Meson8b SoC shall have the following properties:
+  Required root node property:
+    compatible: "amlogic,meson8b";
+
 Board compatible values:
-  - "geniatech,atv1200"
-  - "minix,neo-x8"
+  - "geniatech,atv1200" (Meson6)
+  - "minix,neo-x8" (Meson8)
+  - "tronfy,mxq" (Meson8b)
+  - "hardkernel,odroid-c1" (Meson8b)
Signature · 1 line
1.9.1
maintainer
#4 lore raw

PATCH v2 2/4 of: documentation: add bindings documentation for Meson8b

+dt list

Quoted 3 lines · Carlo Caione

From: Carlo Caione <[email protected]>

Quoted 26 lines
---
 Documentation/devicetree/bindings/arm/amlogic.txt | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/arm/amlogic.txt +8 -3
index 973884a..1dfee20 100644
@@ -9,6 +9,12 @@ Boards with the Amlogic Meson8 SoC shall have the following properties:
   Required root node property:
     compatible: "amlogic,meson8";
 
+Boards with the Amlogic Meson8b SoC shall have the following properties:
+  Required root node property:
+    compatible: "amlogic,meson8b";
+
 Board compatible values:
-  - "geniatech,atv1200"
-  - "minix,neo-x8"
+  - "geniatech,atv1200" (Meson6)
+  - "minix,neo-x8" (Meson8)
+  - "tronfy,mxq" (Meson8b)
+  - "hardkernel,odroid-c1" (Meson8b)
--

1.9.1

#5 lore raw

PATCH v2 3/4 ARM: meson: Add DTS for Odroid-C1 and Tronfy MXQ boards

In reply to Carlo Caione

From: Carlo Caione <[email protected]>

---
 arch/arm/boot/dts/Makefile             |   3 +
 arch/arm/boot/dts/meson8b-mxq.dts      |  67 ++++++++++++
 arch/arm/boot/dts/meson8b-odroidc1.dts |  67 ++++++++++++
 arch/arm/boot/dts/meson8b.dtsi         | 186 +++++++++++++++++++++++++++++++++
 4 files changed, 323 insertions(+)
 create mode 100644 arch/arm/boot/dts/meson8b-mxq.dts
 create mode 100644 arch/arm/boot/dts/meson8b-odroidc1.dts
 create mode 100644 arch/arm/boot/dts/meson8b.dtsi
arch/arm/boot/dts/Makefile +3 -0
index 233159d..8f0372f 100644
@@ -227,6 +227,9 @@ dtb-$(CONFIG_ARCH_MMP) += \
 	pxa168-aspenite.dtb \
 	pxa910-dkb.dtb \
 	mmp2-brownstone.dtb
+dtb-$(CONFIG_MACH_MESON8B) += \
+	meson8b-mxq.dtb \
+	meson8b-odroidc1.dtb
 dtb-$(CONFIG_ARCH_MOXART) += \
 	moxart-uc7112lx.dtb
 dtb-$(CONFIG_SOC_IMX1) += \
arch/arm/boot/dts/meson8b-mxq.dts new file +67 -0

67 lines not on this page · raw message

arch/arm/boot/dts/meson8b-odroidc1.dts new file +67 -0

67 lines not on this page · raw message

arch/arm/boot/dts/meson8b.dtsi new file +186 -0

186 lines not on this page · raw message

Signature · 1 line
1.9.1
#6 lore raw

PATCH v2 3/4 ARM: meson: Add DTS for Odroid-C1 and Tronfy MXQ boards

Quoted 3 lines · Carlo Caione

From: Carlo Caione <[email protected]>

Quoted 10 lines
---
 arch/arm/boot/dts/Makefile             |   3 +
 arch/arm/boot/dts/meson8b-mxq.dts      |  67 ++++++++++++
 arch/arm/boot/dts/meson8b-odroidc1.dts |  67 ++++++++++++
 arch/arm/boot/dts/meson8b.dtsi         | 186 +++++++++++++++++++++++++++++++++
 4 files changed, 323 insertions(+)
 create mode 100644 arch/arm/boot/dts/meson8b-mxq.dts
 create mode 100644 arch/arm/boot/dts/meson8b-odroidc1.dts
 create mode 100644 arch/arm/boot/dts/meson8b.dtsi
#7 lore raw

PATCH v2 4/4 ARM: meson: Enable Meson8b SoCs

In reply to Carlo Caione

From: Carlo Caione <[email protected]>

---
 arch/arm/mach-meson/Kconfig | 5 +++++
 arch/arm/mach-meson/meson.c | 1 +
 2 files changed, 6 insertions(+)
arch/arm/mach-meson/Kconfig +5 -0
index 0743e20..5d56f86 100644
@@ -19,4 +19,9 @@ config MACH_MESON8
 	default ARCH_MESON
 	select MESON6_TIMER
 
+config MACH_MESON8B
+	bool "Amlogic Meson8b SoCs support"
+	default ARCH_MESON
+	select MESON6_TIMER
+
 endif
arch/arm/mach-meson/meson.c +1 -0
index 5d6affe..4e23571 100644
@@ -19,6 +19,7 @@
 static const char * const meson_common_board_compat[] = {
 	"amlogic,meson6",
 	"amlogic,meson8",
+	"amlogic,meson8b",
 	NULL,
 };
 
Signature · 1 line
1.9.1
#8 lore raw

PATCH v2 4/4 ARM: meson: Enable Meson8b SoCs

Quoted 13 lines · Carlo Caione

From: Carlo Caione <[email protected]>

---
 arch/arm/mach-meson/Kconfig | 5 +++++
 arch/arm/mach-meson/meson.c | 1 +
 2 files changed, 6 insertions(+)
arch/arm/mach-meson/Kconfig +0 -0
index 0743e20..5d56f86 100644

arch/arm/mach-meson/Kconfig config MACH_MESON8 · line 25

Quoted 7 lines
arch/arm/mach-meson/Kconfig +4 -0
@@ -19,4 +19,9 @@ config MACH_MESON8
        default ARCH_MESON
        select MESON6_TIMER
 
+config MACH_MESON8B
+       bool "Amlogic Meson8b SoCs support"
+       default ARCH_MESON
+       select MESON6_TIMER

I don't see the need for a new config option. Just add the dtbs to MACH_MESON8.

Quoted 17 lines
arch/arm/mach-meson/Kconfig +1 -0
+
 endif
arch/arm/mach-meson/meson.c +1 -1
index 5d6affe..4e23571 100644
@@ -19,6 +19,7 @@
 static const char * const meson_common_board_compat[] = {
        "amlogic,meson6",
        "amlogic,meson8",
+       "amlogic,meson8b",
        NULL,
 };
 
--

1.9.1

maintainer Applied
#9 lore raw

v2 cover Add support for Amlogic Meson8b and couple of boards

In reply to Carlo Caione
Quoted 11 lines · On Wednesday 07 October 2015 22:31:01 Carlo Caione wrote:

From: Carlo Caione <[email protected]>

A patchset sitting in my personal repo since forever. It adds the basic support for Amlogic Meson8B SoCs and two common boards: Hardkernel Odroid-C1 and Tronfy MXQ.

Changelog:
** v2:
- Specified which board compatibles apply to which SOC
- Added commit message specifying who is Tronfy

Quoted 6 lines

Carlo Caione (4):
of: documentation: Add vendor prefix for Tronfy
of: documentation: add bindings documentation for Meson8b
ARM: meson: Add DTS for Odroid-C1 and Tronfy MXQ boards
ARM: meson: Enable Meson8b SoCs

Applied to next/dt and next/soc, respectively, thanks!

Arnd

#10 lore raw

v2 cover Add support for Amlogic Meson8b and couple of boards

Quoted 12 lines · Arnd Bergmann
Quoted 11 lines · On Wednesday 07 October 2015 22:31:01 Carlo Caione wrote:

From: Carlo Caione <[email protected]>

A patchset sitting in my personal repo since forever. It adds the basic support for Amlogic Meson8B SoCs and two common boards: Hardkernel Odroid-C1 and Tronfy MXQ.

Changelog:
** v2:
- Specified which board compatibles apply to which SOC
- Added commit message specifying who is Tronfy

Quoted 8 lines
Quoted 6 lines

Carlo Caione (4):
of: documentation: Add vendor prefix for Tronfy
of: documentation: add bindings documentation for Meson8b
ARM: meson: Add DTS for Odroid-C1 and Tronfy MXQ boards
ARM: meson: Enable Meson8b SoCs

Applied to next/dt and next/soc, respectively, thanks!

Arnd,
Any idea why I don't see these in 4.3?

Thanks,

Signature · 1 line
Carlo Caione