Add basic node support for Mediatek MT8186 SoC
Subsystems (11)
v3 cover Add basic node support for Mediatek MT8186 SoC
From: Allen-KH Cheng <[email protected]>
MT8186 is a SoC based on 64bit ARMv8 architecture. It contains 6 CA55 and 2 CA78 cores. MT8186 share many HW IP with MT65xx series.
This patchset was tested on MT8186 evaluation board to shell.
Based on linux-next
changes since v2:$
- add soc {} in mt8186.dtsi
changes since v1:
- add dt-bindings: arm: Add compatible for Mediatek MT8186
Allen-KH Cheng (7):
dt-bindings: timer: Add compatible for Mediatek MT8186
dt-bindings: serial: Add compatible for Mediatek MT8186
dt-bindings: watchdog: Add compatible for Mediatek MT8186
dt-bindings: mmc: Add compatible for Mediatek MT8186
dt-bindings: phy: Add compatible for Mediatek MT8186
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 + .../devicetree/bindings/mmc/mtk-sd.yaml | 3 + .../bindings/phy/mediatek,tphy.yaml | 1 + .../devicetree/bindings/serial/mtk-uart.txt | 1 + .../bindings/timer/mediatek,mtk-timer.txt | 1 + .../devicetree/bindings/watchdog/mtk-wdt.txt | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8186-evb.dts | 24 ++ arch/arm64/boot/dts/mediatek/mt8186.dtsi | 360 ++++++++++++++++++ 9 files changed, 396 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186.dtsi
Signature · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v3 1/7 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
@@ -22,6 +22,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 · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v3 1/7] dt-bindings: timer: Add compatible for Mediatek MT8186
Quoted 6 lines · allen-kh.cheng
From: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of timer for Mediatek MT8186 SoC Platform.
Signed-off-by Allen-KH Cheng <[email protected]>
Quoted 16 lines
--- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt +1
-0@@ -22,6 +22,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)
PATCH v3 2/7 dt-bindings: serial: Add compatible for Mediatek MT8186
In reply to allen-kh.chengFrom: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of uart for Mediatek MT8186 SoC Platform.
--- Documentation/devicetree/bindings/serial/mtk-uart.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/mtk-uart.txt +1 -0
@@ -20,6 +20,7 @@ Required properties: * "mediatek,mt8135-uart" for MT8135 compatible UARTS * "mediatek,mt8173-uart" for MT8173 compatible UARTS * "mediatek,mt8183-uart", "mediatek,mt6577-uart" for MT8183 compatible UARTS + * "mediatek,mt8186-uart", "mediatek,mt6577-uart" for MT8183 compatible UARTS * "mediatek,mt8192-uart", "mediatek,mt6577-uart" for MT8192 compatible UARTS * "mediatek,mt8195-uart", "mediatek,mt6577-uart" for MT8195 compatible UARTS * "mediatek,mt8516-uart" for MT8516 compatible UARTS
Signature · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v3 3/7 dt-bindings: watchdog: Add compatible for Mediatek MT8186
In reply to allen-kh.chengFrom: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of watchdog for Mediatek MT8186 SoC Platform.
--- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt +1 -0
@@ -15,6 +15,7 @@ Required properties: "mediatek,mt7629-wdt", "mediatek,mt6589-wdt": for MT7629 "mediatek,mt7986-wdt", "mediatek,mt6589-wdt": for MT7986 "mediatek,mt8183-wdt": for MT8183 + "mediatek,mt8186-wdt", "mediatek,mt6589-wdt": for MT8186 "mediatek,mt8516-wdt", "mediatek,mt6589-wdt": for MT8516 "mediatek,mt8192-wdt": for MT8192 "mediatek,mt8195-wdt", "mediatek,mt6589-wdt": for MT8195
Signature · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v3 3/7] dt-bindings: watchdog: Add compatible for Mediatek MT8186
Hello Allen,
Thanks for your patch.
For dt-binding of 8186 wdt, I sent the 8186 wdt series([1]) which is including this change.
I think you can drop this patch in next version.
[1]:
https://patchwork.kernel.org/project/linux-mediatek/list/?series=614760
Thanks.
BRs,
Rex
Quoted 16 lines · allen-kh.cheng
From: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of watchdog for Mediatek MT8186 SoC Platform.
Signed-off-by Allen-KH Cheng <[email protected]>--- Documentation/devicetree/bindings/watchdog/mtk-wdt.txt | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/watchdog/mtk-wdt.txt +0
-0
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt Required properties: · line 21
Quoted 7 lines
Documentation/devicetree/bindings/watchdog/mtk-wdt.txt +1
-0@@ -15,6 +15,7 @@ Required properties: "mediatek,mt7629-wdt", "mediatek,mt6589-wdt": for MT7629 "mediatek,mt7986-wdt", "mediatek,mt6589-wdt": for MT7986 "mediatek,mt8183-wdt": for MT8183 + "mediatek,mt8186-wdt", "mediatek,mt6589-wdt": for MT8186 "mediatek,mt8516-wdt", "mediatek,mt6589-wdt": for MT8516 "mediatek,mt8192-wdt": for MT8192 "mediatek,mt8195-wdt", "mediatek,mt6589-wdt": for MT8195
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v3 4/7 dt-bindings: mmc: Add compatible for Mediatek MT8186
In reply to allen-kh.chengFrom: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of mmc for Mediatek MT8186 SoC Platform.
--- Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mmc/mtk-sd.yaml +3 -0
@@ -29,6 +29,9 @@ properties: - items: - const: mediatek,mt7623-mmc - const: mediatek,mt2701-mmc + - items: + - const: mediatek,mt8186-mmc + - const: mediatek,mt8183-mmc - items: - const: mediatek,mt8192-mmc - const: mediatek,mt8183-mmc
Signature · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v3 4/7] dt-bindings: mmc: Add compatible for Mediatek MT8186
- trimmed cc-list
Quoted 7 lines · allen-kh.cheng
From: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of mmc for Mediatek MT8186 SoC Platform.
Signed-off-by Allen-KH Cheng <[email protected]>
For some reason $subject patch didn't make it to the mmc patchwork.
Anyway, I have picked this up and applied it for next, thanks!
Kind regards
Uffe
Quoted 21 lines
--- Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 3 +++ 1 file changed, 3 insertions(+)Documentation/devicetree/bindings/mmc/mtk-sd.yaml +3
-1@@ -29,6 +29,9 @@ properties: - items: - const: mediatek,mt7623-mmc - const: mediatek,mt2701-mmc + - items: + - const: mediatek,mt8186-mmc + - const: mediatek,mt8183-mmc - items: - const: mediatek,mt8192-mmc - const: mediatek,mt8183-mmc --2.18.0
PATCH v3 5/7 dt-bindings: phy: Add compatible for Mediatek MT8186
In reply to allen-kh.chengFrom: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of T-Phy for Mediatek MT8186 SoC Platform.
--- Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/phy/mediatek,tphy.yaml +1 -0
@@ -80,6 +80,7 @@ properties: - mediatek,mt2712-tphy - mediatek,mt7629-tphy - mediatek,mt8183-tphy + - mediatek,mt8186-tphy - const: mediatek,generic-tphy-v2 - items: - enum:
Signature · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Re: [PATCH v3 5/7] dt-bindings: phy: Add compatible for Mediatek MT8186
Quoted 4 lines · allen-kh.cheng
From: Allen-KH Cheng <[email protected]>
This commit adds dt-binding documentation of T-Phy for Mediatek MT8186 SoC Platform.
Applied, thanks
Signature · 1 line
~Vinod
PATCH v3 6/7 dt-bindings: arm: Add compatible for Mediatek MT8186
In reply to allen-kh.chengFrom: Allen-KH Cheng <[email protected]>
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
@@ -127,6 +127,10 @@ properties: - enum: - mediatek,mt8183-evb - const: mediatek,mt8183 + - items: + - enum: + - mediatek,mt8186-evb + - const: mediatek,mt8186 - items: - enum: - mediatek,mt8195-evb
Signature · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v3 7/7 arm64: dts: Add Mediatek SoC MT8186 dts and evaluation board and Makefile
In reply to allen-kh.chengFrom: Allen-KH Cheng <[email protected]>
Add basic chip support for Mediatek MT8186
--- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8186-evb.dts | 24 ++ arch/arm64/boot/dts/mediatek/mt8186.dtsi | 360 ++++++++++++++++++++ 3 files changed, 385 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186.dtsi
arch/arm64/boot/dts/mediatek/Makefile +1 -0
@@ -37,5 +37,6 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-kodama-sku32.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku0.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-kukui-krane-sku176.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8183-pumpkin.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8186-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8192-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
arch/arm64/boot/dts/mediatek/mt8186-evb.dts new file +24 -0
@@ -0,0 +1,24 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2022 MediaTek Inc. + */ +/dts-v1/; +#include "mt8186.dtsi" + +/ { + model = "MediaTek MT8186 evaluation board"; + compatible = "mediatek,mt8186-evb", "mediatek,mt8186"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + memory { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; +};
arch/arm64/boot/dts/mediatek/mt8186.dtsi new file +360 -0
360 lines not on this page · raw message
Signature · 7 lines
2.18.0 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
Quoted 7 lines · On Fri, 28 Jan 2022 14:20:43 +0800 allen-kh.cheng…
From: Allen-KH Cheng <[email protected]>
MT8186 is a SoC based on 64bit ARMv8 architecture. It contains 6 CA55 and 2 CA78 cores. MT8186 share many HW IP with MT65xx series.
This patchset was tested on MT8186 evaluation board to shell.
Please prune your cc list for any future versions. We all get enough emails as it is :)
I'm not seeing anything relevant to linux-iio in here for example.
Thanks,
Jonathan
Quoted 20 lines
Based on linux-next
changes since v2:$
- add soc {} inmt8186.dtsichanges since v1:
- add dt-bindings: arm: Add compatible for Mediatek MT8186Allen-KH Cheng (7):
dt-bindings: timer: Add compatible for Mediatek MT8186
dt-bindings: serial: Add compatible for Mediatek MT8186
dt-bindings: watchdog: Add compatible for Mediatek MT8186
dt-bindings: mmc: Add compatible for Mediatek MT8186
dt-bindings: phy: Add compatible for Mediatek MT8186
dt-bindings: arm: Add compatible for Mediatek MT8186
arm64: dts: Add Mediatek SoC MT8186 dts and evaluation board and
Makefile
Quoted 13 lines
.../devicetree/bindings/arm/mediatek.yaml | 4 + .../devicetree/bindings/mmc/mtk-sd.yaml | 3 + .../bindings/phy/mediatek,tphy.yaml | 1 + .../devicetree/bindings/serial/mtk-uart.txt | 1 + .../bindings/timer/mediatek,mtk-timer.txt | 1 + .../devicetree/bindings/watchdog/mtk-wdt.txt | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8186-evb.dts | 24 ++ arch/arm64/boot/dts/mediatek/mt8186.dtsi | 360 ++++++++++++++++++ 9 files changed, 396 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186.dtsi
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek
Quoted 11 lines · Jonathan Cameron
Quoted 7 lines · On Fri, 28 Jan 2022 14:20:43 +0800 allen-kh.cheng…
From: Allen-KH Cheng <[email protected]>
MT8186 is a SoC based on 64bit ARMv8 architecture. It contains 6 CA55 and 2 CA78 cores. MT8186 share many HW IP with MT65xx series.
This patchset was tested on MT8186 evaluation board to shell.
Quoted 9 lines
Please prune your cc list for any future versions. We all get enough emails as it is :)
I'm not seeing anything relevant to linux-iio in here for example.
Thanks,
Jonathan
Hi Jonathan,
Sorry for any inconvenience caused to you.
I will remove linux-iio in next version.
Thanks.
Quoted 20 lines
Quoted 20 lines
Based on linux-next
changes since v2:$
- add soc {} inmt8186.dtsichanges since v1:
- add dt-bindings: arm: Add compatible for Mediatek MT8186Allen-KH Cheng (7):
dt-bindings: timer: Add compatible for Mediatek MT8186
dt-bindings: serial: Add compatible for Mediatek MT8186
dt-bindings: watchdog: Add compatible for Mediatek MT8186
dt-bindings: mmc: Add compatible for Mediatek MT8186
dt-bindings: phy: Add compatible for Mediatek MT8186
dt-bindings: arm: Add compatible for Mediatek MT8186
arm64: dts: Add Mediatek SoC MT8186 dts and evaluation board and
Makefile
Quoted 16 lines
Quoted 5 lines
.../devicetree/bindings/arm/mediatek.yaml | 4 + .../devicetree/bindings/mmc/mtk-sd.yaml | 3 + .../bindings/phy/mediatek,tphy.yaml | 1 + .../devicetree/bindings/serial/mtk-uart.txt | 1 + .../bindings/timer/mediatek,mtk-timer.txt | 1 +Quoted 9 lines
.../devicetree/bindings/watchdog/mtk-wdt.txt | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8186-evb.dts | 24 ++ arch/arm64/boot/dts/mediatek/mt8186.dtsi | 360 ++++++++++++++++++ 9 files changed, 396 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8186-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8186.dtsi
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek