Skip to contentSkip to conversation

Add Unisoc's UMS512 support

PATCH Applied Chunyan Zhang 4 participants 6 messages Oct 8, 2021 – Oct 11, 2021

Subsystems (2)
lore
Share & tools
lore

Chunyan Zhang

author reviewer
#0 lore raw

v2 cover Add Unisoc's UMS512 support

From: Chunyan Zhang <[email protected]>

Unisoc's UMS512 has Octa-core ARM Cortex A55 application processor.

Changes since v1:
* Renamed regulator node name and add required 'reg' property for it;
* Removed sprd-uart.yaml which got merged already;
* Added Rob's Acked-by for bindings changes.

Chunyan Zhang (2):
dt-bindings: arm: Add bindings for Unisoc's UMS512
arm64: dts: Add support for Unisoc's UMS512

 .../devicetree/bindings/arm/sprd/sprd.yaml    |   5 +
 arch/arm64/boot/dts/sprd/Makefile             |   3 +-
 arch/arm64/boot/dts/sprd/sc2730.dtsi          | 263 +++++
 arch/arm64/boot/dts/sprd/ums512-1h10.dts      |  69 ++
 arch/arm64/boot/dts/sprd/ums512.dtsi          | 919 ++++++++++++++++++
 5 files changed, 1258 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/sprd/sc2730.dtsi
 create mode 100644 arch/arm64/boot/dts/sprd/ums512-1h10.dts
 create mode 100644 arch/arm64/boot/dts/sprd/ums512.dtsi
Signature · 1 line
2.25.1
author reviewer
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: Add bindings for Unisoc's UMS512

From: Chunyan Zhang <[email protected]>

Added bindings for Unisoc's ums512-1h10 board and ums512 SoC.

---
 Documentation/devicetree/bindings/arm/sprd/sprd.yaml | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/arm/sprd/sprd.yaml +5 -0
index 7b6ae3070396..2c12e571394b 100644
@@ -30,6 +30,11 @@ properties:
               - sprd,sp9863a-1h10
           - const: sprd,sc9863a
 
+      - items:
+          - enum:
+              - sprd,ums512-1h10
+          - const: sprd,ums512
+
 additionalProperties: true
 
 ...
Signature · 1 line
2.25.1
author reviewer
#2 lore raw

PATCH v2 2/2 arm64: dts: Add support for Unisoc's UMS512

In reply to Chunyan Zhang

From: Chunyan Zhang <[email protected]>

Add basic DT to support Unisoc's UMS512, with this patch, the board ums512-1h10 can run into console.

---
 arch/arm64/boot/dts/sprd/Makefile        |   3 +-
 arch/arm64/boot/dts/sprd/sc2730.dtsi     | 263 +++++++
 arch/arm64/boot/dts/sprd/ums512-1h10.dts |  69 ++
 arch/arm64/boot/dts/sprd/ums512.dtsi     | 919 +++++++++++++++++++++++
 4 files changed, 1253 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/sprd/sc2730.dtsi
 create mode 100644 arch/arm64/boot/dts/sprd/ums512-1h10.dts
 create mode 100644 arch/arm64/boot/dts/sprd/ums512.dtsi
arch/arm64/boot/dts/sprd/Makefile +2 -1
index f4f1f5148cc2..97522fb0bf66 100644
@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
 dtb-$(CONFIG_ARCH_SPRD) += sc9836-openphone.dtb \
 			sp9860g-1h10.dtb	\
-			sp9863a-1h10.dtb
+			sp9863a-1h10.dtb	\
+			ums512-1h10.dtb
arch/arm64/boot/dts/sprd/sc2730.dtsi new file +263 -0

263 lines not on this page · raw message

arch/arm64/boot/dts/sprd/ums512-1h10.dts new file +69 -0

69 lines not on this page · raw message

arch/arm64/boot/dts/sprd/ums512.dtsi new file +919 -0

919 lines not on this page · raw message

Signature · 1 line
2.25.1
#3 lore raw

Re: [PATCH v2 2/2] arm64: dts: Add support for Unisoc's UMS512

I love your patch! Yet something to improve:

Hi Chunyan,

I love your patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on soc/for-next v5.15-rc5 next-20211011] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Chunyan-Zhang/Add-Unisoc-s-UMS512-support/20211008-114644
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0

reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/da58d90de8b5af702986dcdcc154cdc76403a911
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chunyan-Zhang/Add-Unisoc-s-UMS512-support/20211008-114644 git checkout da58d90de8b5af702986dcdcc154cdc76403a911
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate

All errors (new ones prefixed by >>):

In file included from arch/arm64/boot/dts/sprd/ums512-1h10.dts:11:

>> arch/arm64/boot/dts/sprd/ums512.dtsi:8:10: fatal error: dt-bindings/clock/sprd,ums512-clk.h: No such file or directory
       8 | #include <dt-bindings/clock/sprd,ums512-clk.h>
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated.

vim +8 arch/arm64/boot/dts/sprd/ums512.dtsi

   > 8	#include <dt-bindings/clock/sprd,ums512-clk.h>

9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

#4 lore raw

Re: [PATCH v2 2/2] arm64: dts: Add support for Unisoc's UMS512

Quoted 10 lines · kernel test robot

If you fix the issue, kindly add following tag as appropriate

All errors (new ones prefixed by >>):

   In file included from arch/arm64/boot/dts/sprd/ums512-1h10.dts:11:
Quoted 1 line
Quoted 1 line

arch/arm64/boot/dts/sprd/ums512.dtsi:8:10: fatal error: dt-bindings/clock/sprd,ums512-clk.h: No such file or directory

       8 | #include <dt-bindings/clock/sprd,ums512-clk.h>
         |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 7 lines

compilation terminated.

vim +8 arch/arm64/boot/dts/sprd/ums512.dtsi

Quoted 1 line

8 #include <dt-bindings/clock/sprd,ums512-clk.h>

9 #include <dt-bindings/interrupt-controller/arm-gic.h>

Thanks for the report.

Unfortunately I just pulled this, and then a bunch of other things on top.

Looking at linux-next, the binding is not merged yet, which means I should not take this one anyway.

I'll keep the first patch and revert this one.

Arnd

#5 lore raw
In reply to Chunyan Zhang
This series was applied to soc/soc.git (for-next) by Arnd Bergmann <[email protected]>:

Hello:

This series was applied to soc/soc.git (for-next)
by Arnd Bergmann <[email protected]>:

Quoted 10 lines · On Fri, 8 Oct 2021 11:45:31 +0800 you wrote:

From: Chunyan Zhang <[email protected]>

Unisoc's UMS512 has Octa-core ARM Cortex A55 application processor.

Changes since v1:
* Renamed regulator node name and add required 'reg' property for it;
* Removed sprd-uart.yaml which got merged already;
* Added Rob's Acked-by for bindings changes.

[...]

Here is the summary with links:
- [v2,1/2] dt-bindings: arm: Add bindings for Unisoc's UMS512

    https://git.kernel.org/soc/soc/c/77d7e51ebee9
  - [v2,2/2] arm64: dts: Add support for Unisoc's UMS512
    https://git.kernel.org/soc/soc/c/23410de5796c

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html