Skip to contentSkip to conversation

Add Spreadtrum Sharkl64 Platform support

PATCH Applied Chunyan Zhang (张春艳) 3 participants 5 messages Mar 11, 2015 – Mar 12, 2015

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

v8 cover Add Spreadtrum Sharkl64 Platform support

This patchset adds Spreadtrum's Sharkl64 support in arm64 device tree.

Changes from v7:
- Added Mark Rutland's Acked-by
- Rebased v4.0-rc1

Changes from v6:
- Setted stdout-path with "serial1:115200n8"

Changes from v5:
- Added maintenance interrupt for gic
- Removed reg property from 'soc' and 'apb' nodes

Zhizhou Zhang (2):
arm64: dts: Add support for Spreadtrum SC9836 SoC in dts and Makefile
arm64: Add support for Spreadtrum's Sharkl64 Platform in Kconfig and
defconfig

 arch/arm64/Kconfig                            |  5 ++
 arch/arm64/boot/dts/Makefile                  |  1 +
 arch/arm64/boot/dts/sprd/Makefile             |  5 ++
 arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 49 ++++++++++++++++++
 arch/arm64/boot/dts/sprd/sc9836.dtsi          | 74 +++++++++++++++++++++++++++
 arch/arm64/boot/dts/sprd/sharkl64.dtsi        | 65 +++++++++++++++++++++++
 arch/arm64/configs/defconfig                  |  1 +
 7 files changed, 200 insertions(+)
 create mode 100644 arch/arm64/boot/dts/sprd/Makefile
 create mode 100644 arch/arm64/boot/dts/sprd/sc9836-openphone.dts
 create mode 100644 arch/arm64/boot/dts/sprd/sc9836.dtsi
 create mode 100644 arch/arm64/boot/dts/sprd/sharkl64.dtsi
Signature · 1 line
1.9.1
#1 lore raw

PATCH v8 1/2 arm64: dts: Add support for Spreadtrum SC9836 SoC in dts and Makefile

From: Zhizhou Zhang <[email protected]>

Adds the device tree support for Spreadtrum SC9836 SoC which is based on Sharkl64 platform.

Sharkl64 platform contains the common nodes of Spreadtrum's arm64-based SoCs.

---
 arch/arm64/boot/dts/Makefile                  |  1 +
 arch/arm64/boot/dts/sprd/Makefile             |  5 ++
 arch/arm64/boot/dts/sprd/sc9836-openphone.dts | 49 ++++++++++++++++++
 arch/arm64/boot/dts/sprd/sc9836.dtsi          | 74 +++++++++++++++++++++++++++
 arch/arm64/boot/dts/sprd/sharkl64.dtsi        | 65 +++++++++++++++++++++++
 5 files changed, 194 insertions(+)
 create mode 100644 arch/arm64/boot/dts/sprd/Makefile
 create mode 100644 arch/arm64/boot/dts/sprd/sc9836-openphone.dts
 create mode 100644 arch/arm64/boot/dts/sprd/sc9836.dtsi
 create mode 100644 arch/arm64/boot/dts/sprd/sharkl64.dtsi
arch/arm64/boot/dts/Makefile +1 -0
index e0350ca..930f7f8 100644
@@ -5,5 +5,6 @@ dts-dirs += cavium
 dts-dirs += exynos
 dts-dirs += freescale
 dts-dirs += mediatek
+dts-dirs += sprd
 
 subdir-y	:= $(dts-dirs)
arch/arm64/boot/dts/sprd/Makefile new file +5 -0
new file mode 100644
index 0000000..b658c5e
@@ -0,0 +1,5 @@
+dtb-$(CONFIG_ARCH_SPRD) += sc9836-openphone.dtb
+
+always		:= $(dtb-y)
+subdir-y	:= $(dts-dirs)
+clean-files	:= *.dtb
arch/arm64/boot/dts/sprd/sc9836-openphone.dts new file +49 -0

49 lines not on this page · raw message

arch/arm64/boot/dts/sprd/sc9836.dtsi new file +74 -0

74 lines not on this page · raw message

arch/arm64/boot/dts/sprd/sharkl64.dtsi new file +65 -0

65 lines not on this page · raw message

Signature · 1 line
1.9.1
#2 lore raw

PATCH v8 2/2 arm64: Add support for Spreadtrum's Sharkl64 Platform in Kconfig and defconfig

In reply to Chunyan Zhang (张春艳)

From: Zhizhou Zhang <[email protected]>

Adds support for Spreadtrum's SoC Platform in the arm64 Kconfig and defconfig files.

---
 arch/arm64/Kconfig           | 5 +++++
 arch/arm64/configs/defconfig | 1 +
 2 files changed, 6 insertions(+)
arch/arm64/Kconfig +5 -0
index 1b8e973..e582fe2 100644
@@ -208,6 +208,11 @@ config ARCH_TEGRA_132_SOC
 	  but contains an NVIDIA Denver CPU complex in place of
 	  Tegra124's "4+1" Cortex-A15 CPU complex.
 
+config ARCH_SPRD
+	bool "Spreadtrum SoC platform"
+	help
+	  Support for Spreadtrum ARM based SoCs
+
 config ARCH_THUNDER
 	bool "Cavium Inc. Thunder SoC Family"
 	help
arch/arm64/configs/defconfig +1 -0
index be1f12a..535307c 100644
@@ -33,6 +33,7 @@ CONFIG_MODULE_UNLOAD=y
 # CONFIG_IOSCHED_DEADLINE is not set
 CONFIG_ARCH_FSL_LS2085A=y
 CONFIG_ARCH_MEDIATEK=y
+CONFIG_ARCH_SPRD=y
 CONFIG_ARCH_THUNDER=y
 CONFIG_ARCH_VEXPRESS=y
 CONFIG_ARCH_XGENE=y
Signature · 1 line
1.9.1
maintainer Applied
#3 lore raw
In reply to Chunyan Zhang (张春艳)
Quoted 6 lines · On Wednesday 11 March 2015 02:27:08 Chunyan Zhang wrote:

This patchset adds Spreadtrum's Sharkl64 support in arm64 device tree.

Changes from v7:
- Added Mark Rutland's Acked-by
- Rebased v4.0-rc1

Applied both to next/arm64.

I had some trouble applying the patches because of broken end-of-line markers and had to edit the patch manually. Please check what went wrong there so you can avoid the problem in the future. Thanks!

Arnd

reviewer
#4 lore raw
Quoted 9 lines · Arnd Bergmann
Quoted 6 lines · On Wednesday 11 March 2015 02:27:08 Chunyan Zhang wrote:

This patchset adds Spreadtrum's Sharkl64 support in arm64 device tree.

Changes from v7:
- Added Mark Rutland's Acked-by
- Rebased v4.0-rc1

Applied both to next/arm64.

Thanks Arnd.

Quoted 5 lines

I had some trouble applying the patches because of broken end-of-line markers and had to edit the patch manually. Please check what went wrong there so you can avoid the problem in the future. Thanks!

Sorry for that, I have found the reason about smpt server, I'll avoid the same problem in the future.

Best regards,
Chunyan

Quoted 1 line

Arnd