Skip to contentSkip to conversation

Add basic node support for MediaTek MT8186 SoC

PATCH Superseded Allen-KH Cheng 2 participants 7 messages May 10, 2022 – May 11, 2022

Subsystems (3)

v10 of 15 Superseded Latest is v15 →

lore
Share & tools
lore
#0 lore raw

v10 cover Add basic node support for MediaTek MT8186 SoC

MT8186 is a SoC based on 64bit ARMv8 architecture. It contains 6 CA55 and 2 CA76 cores. MT8186 share many HW IP with MT65xx series.

This patchset was tested on MT8186 evaluation board to shell.

Based on linux-next, tag: next-20220509

changes since v9:
- add one space before equal sign of drive-strength-adv
- corect compatible name for big cores (ca76)
- use upper case of address in pinctrl
- add pwrap node
- add pwm node

changes since v8:
- change name from pins_bus to pins-sda-scl
- correct email address
- add capacity-dmips-mhz for each CPU
- add ppi-partitions in gic node
- change name to power-domain
- remove status "okay" in scp node
- update timer and pericfg compatible in series

changes since v7:
- add scp&auxadc node

changes since v6:
- remove unnecessary blank line

changes since v5:
- replace Mediatek a to MediaTek
- use GPL-2.0-only OR BSD-2-Clause

changes since v4:
- correct driver clock of mt8186
- add power domains controller and clock controllers
- add pinctrl, usb host, spi and i2c nodes
- add node status in mt8186-evb.dts
- correct some dtbs_check warnings

changes since v3:
- remove serial, mmc and phy patch from series. (already merged)
- remove mcusysoff node
- move oscillator nodes at the head of dts
- change name from usb-phy to t-phy

changes since v2:
- add soc {} in mt8186.dtsi

changes since v1:
- add dt-bindings: arm: Add compatible for MediaTek MT8186

Allen-KH Cheng (4):
dt-bindings: timer: Add compatible for Mediatek MT8186
dt-bindings: arm: mediatek: Add mt8186 pericfg compatible
dt-bindings: arm: Add compatible for MediaTek MT8186
arm64: dts: Add MediaTek SoC MT8186 dts and evaluation board and
Makefile

 .../devicetree/bindings/arm/mediatek.yaml     |   4 +
 .../arm/mediatek/mediatek,pericfg.yaml        |   1 +
 .../bindings/timer/mediatek,mtk-timer.txt     |   1 +
 arch/arm64/boot/dts/mediatek/Makefile         |   1 +
 arch/arm64/boot/dts/mediatek/mt8186-evb.dts   | 232 ++++
 arch/arm64/boot/dts/mediatek/mt8186.dtsi      | 996 ++++++++++++++++++
 6 files changed, 1235 insertions(+)
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-evb.dts
 create mode 100644 arch/arm64/boot/dts/mediatek/mt8186.dtsi
Signature · 1 line
2.18.0
#1 lore raw

PATCH v10 1/4 dt-bindings: timer: Add compatible for Mediatek MT8186

From: Allen-KH Cheng <[email protected]>

This commit adds dt-binding documentation of timer for Mediatek MT8186 SoC Platform.

---
 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt +1 -0
index fbd76a8e023b..6f1f9dba6e88 100644
@@ -23,6 +23,7 @@ Required properties:
 
 	For those SoCs that use SYST
 	* "mediatek,mt8183-timer" for MT8183 compatible timers (SYST)
+	* "mediatek,mt8186-timer" for MT8186 compatible timers (SYST)
 	* "mediatek,mt8192-timer" for MT8192 compatible timers (SYST)
 	* "mediatek,mt8195-timer" for MT8195 compatible timers (SYST)
 	* "mediatek,mt7629-timer" for MT7629 compatible timers (SYST)
Signature · 1 line
2.18.0
maintainer Acked-by on v10 1/4
#2 lore raw

Re: [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186

Quoted 10 lines · Allen-KH Cheng

From: Allen-KH Cheng <[email protected]>

This commit adds dt-binding documentation of timer for Mediatek MT8186 SoC Platform.

---
 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
 1 file changed, 1 insertion(+)
#3 lore raw

PATCH v10 2/4 dt-bindings: arm: mediatek: Add mt8186 pericfg compatible

In reply to Allen-KH Cheng

Add mt8186 pericfg compatible to binding document.

---
 .../devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml       | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml +1 -0
index 611f666f359d..8585f6f18f69 100644
@@ -26,6 +26,7 @@ properties:
               - mediatek,mt8135-pericfg
               - mediatek,mt8173-pericfg
               - mediatek,mt8183-pericfg
+              - mediatek,mt8186-pericfg
               - mediatek,mt8195-pericfg
               - mediatek,mt8516-pericfg
           - const: syscon
Signature · 1 line
2.18.0
#5 lore raw

PATCH v10 3/4 dt-bindings: arm: Add compatible for MediaTek MT8186

In reply to Allen-KH Cheng

This commit adds dt-binding documentation for the MediaTek MT8186 reference board.

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +4 -0
index 4a2bd9759c47..5a29b7b381ef 100644
@@ -131,6 +131,10 @@ properties:
           - enum:
               - mediatek,mt8183-evb
           - const: mediatek,mt8183
+      - items:
+          - enum:
+              - mediatek,mt8186-evb
+          - const: mediatek,mt8186
       - items:
           - enum:
               - mediatek,mt8192-evb
Signature · 1 line
2.18.0
maintainer Acked-by on v10 3/4
#6 lore raw

Re: [PATCH v10 3/4] dt-bindings: arm: Add compatible for MediaTek MT8186

Quoted 8 lines · Allen-KH Cheng

This commit adds dt-binding documentation for the MediaTek MT8186 reference board.

---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
 1 file changed, 4 insertions(+)