linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v10 0/4] Add basic node support for MediaTek MT8186 SoC
@ 2022-05-10  7:52 Allen-KH Cheng
  2022-05-10  7:52 ` [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186 Allen-KH Cheng
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Allen-KH Cheng @ 2022-05-10  7:52 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski
  Cc: Project_Global_Chrome_Upstream_Group, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Chen-Yu Tsai,
	Ryder Lee, hsinyi, Allen-KH Cheng

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

-- 
2.18.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186
  2022-05-10  7:52 [PATCH v10 0/4] Add basic node support for MediaTek MT8186 SoC Allen-KH Cheng
@ 2022-05-10  7:52 ` Allen-KH Cheng
  2022-05-11 14:12   ` Rob Herring
  2022-05-10  7:52 ` [PATCH v10 2/4] dt-bindings: arm: mediatek: Add mt8186 pericfg compatible Allen-KH Cheng
  2022-05-10  7:52 ` [PATCH v10 3/4] dt-bindings: arm: Add compatible for MediaTek MT8186 Allen-KH Cheng
  2 siblings, 1 reply; 7+ messages in thread
From: Allen-KH Cheng @ 2022-05-10  7:52 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski
  Cc: Project_Global_Chrome_Upstream_Group, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Chen-Yu Tsai,
	Ryder Lee, hsinyi, Allen-KH Cheng

From: Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>

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

Signed-off-by: Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>
---
 Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
index fbd76a8e023b..6f1f9dba6e88 100644
--- a/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
+++ b/Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt
@@ -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)
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v10 2/4] dt-bindings: arm: mediatek: Add mt8186 pericfg compatible
  2022-05-10  7:52 [PATCH v10 0/4] Add basic node support for MediaTek MT8186 SoC Allen-KH Cheng
  2022-05-10  7:52 ` [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186 Allen-KH Cheng
@ 2022-05-10  7:52 ` Allen-KH Cheng
  2022-05-10 17:21   ` Rob Herring
  2022-05-10  7:52 ` [PATCH v10 3/4] dt-bindings: arm: Add compatible for MediaTek MT8186 Allen-KH Cheng
  2 siblings, 1 reply; 7+ messages in thread
From: Allen-KH Cheng @ 2022-05-10  7:52 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski
  Cc: Project_Global_Chrome_Upstream_Group, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Chen-Yu Tsai,
	Ryder Lee, hsinyi, Allen-KH Cheng

Add mt8186 pericfg compatible to binding document.

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 .../devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml       | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml
index 611f666f359d..8585f6f18f69 100644
--- a/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml
@@ -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
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH v10 3/4] dt-bindings: arm: Add compatible for MediaTek MT8186
  2022-05-10  7:52 [PATCH v10 0/4] Add basic node support for MediaTek MT8186 SoC Allen-KH Cheng
  2022-05-10  7:52 ` [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186 Allen-KH Cheng
  2022-05-10  7:52 ` [PATCH v10 2/4] dt-bindings: arm: mediatek: Add mt8186 pericfg compatible Allen-KH Cheng
@ 2022-05-10  7:52 ` Allen-KH Cheng
  2022-05-10 17:21   ` Rob Herring
  2 siblings, 1 reply; 7+ messages in thread
From: Allen-KH Cheng @ 2022-05-10  7:52 UTC (permalink / raw)
  To: Matthias Brugger, Rob Herring, Krzysztof Kozlowski
  Cc: Project_Global_Chrome_Upstream_Group, devicetree,
	linux-arm-kernel, linux-kernel, linux-mediatek, Chen-Yu Tsai,
	Ryder Lee, hsinyi, Allen-KH Cheng

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

Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
---
 Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/arm/mediatek.yaml b/Documentation/devicetree/bindings/arm/mediatek.yaml
index 4a2bd9759c47..5a29b7b381ef 100644
--- a/Documentation/devicetree/bindings/arm/mediatek.yaml
+++ b/Documentation/devicetree/bindings/arm/mediatek.yaml
@@ -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
-- 
2.18.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH v10 2/4] dt-bindings: arm: mediatek: Add mt8186 pericfg compatible
  2022-05-10  7:52 ` [PATCH v10 2/4] dt-bindings: arm: mediatek: Add mt8186 pericfg compatible Allen-KH Cheng
@ 2022-05-10 17:21   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2022-05-10 17:21 UTC (permalink / raw)
  To: Allen-KH Cheng
  Cc: linux-kernel, hsinyi, Krzysztof Kozlowski,
	Project_Global_Chrome_Upstream_Group, linux-arm-kernel,
	Rob Herring, devicetree, Matthias Brugger, linux-mediatek,
	Ryder Lee, Chen-Yu Tsai

On Tue, 10 May 2022 15:52:31 +0800, Allen-KH Cheng wrote:
> Add mt8186 pericfg compatible to binding document.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> ---
>  .../devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml       | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v10 3/4] dt-bindings: arm: Add compatible for MediaTek MT8186
  2022-05-10  7:52 ` [PATCH v10 3/4] dt-bindings: arm: Add compatible for MediaTek MT8186 Allen-KH Cheng
@ 2022-05-10 17:21   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2022-05-10 17:21 UTC (permalink / raw)
  To: Allen-KH Cheng
  Cc: Matthias Brugger, Krzysztof Kozlowski, Ryder Lee, hsinyi,
	linux-mediatek, linux-kernel, devicetree, Rob Herring,
	Chen-Yu Tsai, Project_Global_Chrome_Upstream_Group,
	linux-arm-kernel

On Tue, 10 May 2022 15:52:32 +0800, Allen-KH Cheng wrote:
> This commit adds dt-binding documentation for the MediaTek MT8186
> reference board.
> 
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> ---
>  Documentation/devicetree/bindings/arm/mediatek.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186
  2022-05-10  7:52 ` [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186 Allen-KH Cheng
@ 2022-05-11 14:12   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2022-05-11 14:12 UTC (permalink / raw)
  To: Allen-KH Cheng
  Cc: hsinyi, Rob Herring, devicetree, linux-kernel, Allen-KH Cheng,
	linux-mediatek, Ryder Lee, Krzysztof Kozlowski, Chen-Yu Tsai,
	Matthias Brugger, Project_Global_Chrome_Upstream_Group,
	linux-arm-kernel

On Tue, 10 May 2022 15:52:30 +0800, Allen-KH Cheng wrote:
> From: Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>
> 
> This commit adds dt-binding documentation of timer for Mediatek MT8186 SoC
> Platform.
> 
> Signed-off-by: Allen-KH Cheng <Allen-KH.Cheng@mediatek.com>
> ---
>  Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 +
>  1 file changed, 1 insertion(+)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-11 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10  7:52 [PATCH v10 0/4] Add basic node support for MediaTek MT8186 SoC Allen-KH Cheng
2022-05-10  7:52 ` [PATCH v10 1/4] dt-bindings: timer: Add compatible for Mediatek MT8186 Allen-KH Cheng
2022-05-11 14:12   ` Rob Herring
2022-05-10  7:52 ` [PATCH v10 2/4] dt-bindings: arm: mediatek: Add mt8186 pericfg compatible Allen-KH Cheng
2022-05-10 17:21   ` Rob Herring
2022-05-10  7:52 ` [PATCH v10 3/4] dt-bindings: arm: Add compatible for MediaTek MT8186 Allen-KH Cheng
2022-05-10 17:21   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).