MT8195 is a SoC based on 64bit ARMv8 architecture.
It contains 4 CA55 and 4 CA78 cores.
MT8195 share many HW IP with MT65xx series.
This patchset was tested on MT8195 evaluation board to shell.
Based on v5.12-rc2
Seiya Wang (10):
dt-bindings: timer: Add compatible for Mediatek MT8195
dt-bindings: serial: Add compatible for Mediatek MT8195
dt-bindings: watchdog: Add compatible for Mediatek MT8195
dt-bindings: mmc: Add compatible for Mediatek MT8195
dt-bindings: spi: Add compatible for Mediatek MT8195
dt-bindings: iio: adc: Add compatible for Mediatek MT8195
dt-bindings: phy: Add compatible for Mediatek MT8195
dt-bindings: phy: Add compatible for Mediatek MT8195
dt-bindings: arm: Add compatible for Mediatek MT8195
arm64: dts: Add Mediatek SoC MT8195 and evaluation board dts and
Makefile
.../devicetree/bindings/arm/mediatek.yaml | 4 +
.../bindings/iio/adc/mediatek,mt2701-auxadc.yaml | 1 +
Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 1 +
.../devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
.../devicetree/bindings/phy/mediatek,ufs-phy.yaml | 1 +
.../devicetree/bindings/serial/mtk-uart.txt | 1 +
.../bindings/spi/mediatek,spi-mtk-nor.yaml | 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/mt8195-evb.dts | 29 ++
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 477 +++++++++++++++++++++
12 files changed, 519 insertions(+)
create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-evb.dts
create mode 100644 arch/arm64/boot/dts/mediatek/mt8195.dtsi
--
2.14.1
This commit adds dt-binding documentation of mmc for Mediatek MT8195 SoC
Platform.
Signed-off-by: Seiya Wang <[email protected]>
---
Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
index 01630b0ecea7..8648d48dbbfd 100644
--- a/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
+++ b/Documentation/devicetree/bindings/mmc/mtk-sd.yaml
@@ -31,6 +31,7 @@ properties:
- const: mediatek,mt2701-mmc
- items:
- const: mediatek,mt8192-mmc
+ - const: mediatek,mt8195-mmc
- const: mediatek,mt8183-mmc
clocks:
--
2.14.1
This commit adds dt-binding documentation of UFS M-Phy for Mediatek MT8195 SoC
Platform.
Signed-off-by: Seiya Wang <[email protected]>
---
Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
index 3a9be82e7f13..5235b1a0d188 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
@@ -22,6 +22,7 @@ properties:
pattern: "^ufs-phy@[0-9a-f]+$"
compatible:
+ enum: mediatek,mt8195-ufsphy
const: mediatek,mt8183-ufsphy
reg:
--
2.14.1
This commit adds dt-binding documentation of T-Phy for Mediatek MT8195 SoC
Platform.
Signed-off-by: Seiya Wang <[email protected]>
---
Documentation/devicetree/bindings/phy/mediatek,tphy.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
index 602e6ff45785..c5b436ad6239 100644
--- a/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
+++ b/Documentation/devicetree/bindings/phy/mediatek,tphy.yaml
@@ -79,6 +79,7 @@ properties:
- mediatek,mt2712-tphy
- mediatek,mt7629-tphy
- mediatek,mt8183-tphy
+ - mediatek,mt8195-tphy
- const: mediatek,generic-tphy-v2
- const: mediatek,mt2701-u3phy
deprecated: true
--
2.14.1
On Tue, 16 Mar 2021 19:14:33 +0800, Seiya Wang wrote:
> MT8195 is a SoC based on 64bit ARMv8 architecture.
> It contains 4 CA55 and 4 CA78 cores.
> MT8195 share many HW IP with MT65xx series.
> This patchset was tested on MT8195 evaluation board to shell.
>
> Based on v5.12-rc2
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[05/10] dt-bindings: spi: Add compatible for Mediatek MT8195
commit: 5ac1b909e5b60cc2735bd9174f631dc2c7f44c5a
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
On 16-03-21, 19:14, Seiya Wang wrote:
> This commit adds dt-binding documentation of T-Phy for Mediatek MT8195 SoC
> Platform.
Applied, thanks
--
~Vinod
On 16-03-21, 19:14, Seiya Wang wrote:
> This commit adds dt-binding documentation of UFS M-Phy for Mediatek MT8195 SoC
> Platform.
Applied, thanks
--
~Vinod
On Tue, 2021-03-16 at 19:14 +0800, Seiya Wang wrote:
> This commit adds dt-binding documentation of UFS M-Phy for Mediatek MT8195 SoC
> Platform.
>
> Signed-off-by: Seiya Wang <[email protected]>
> ---
> Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
> index 3a9be82e7f13..5235b1a0d188 100644
> --- a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
> +++ b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
> @@ -22,6 +22,7 @@ properties:
> pattern: "^ufs-phy@[0-9a-f]+$"
>
> compatible:
> + enum: mediatek,mt8195-ufsphy
> const: mediatek,mt8183-ufsphy
>
There is warning when I make dt_binding_check, if mt8195 is compatible
with mt8183, will add it as following:
oneOf:
- items:
- enum:
- mediatek,mt8195-ufsphy
- const: mediatek,mt8183-ufsphy
- const: mediatek,mt8183-ufsphy
Due to Vinod already apply this patch, I'll send out a fix patch later
Thanks
> reg:
Hi Vinod,
On Wed, 2021-03-17 at 12:10 +0530, Vinod Koul wrote:
> On 16-03-21, 19:14, Seiya Wang wrote:
> > This commit adds dt-binding documentation of UFS M-Phy for Mediatek MT8195 SoC
> > Platform.
>
> Applied, thanks
Usually, we expect the dt-binding patch is acked or reviewed by Rob
before it's applied?
Thanks a lot
>
On Thu, 2021-03-18 at 10:19 +0800, Chunfeng Yun wrote:
> On Tue, 2021-03-16 at 19:14 +0800, Seiya Wang wrote:
> > This commit adds dt-binding documentation of UFS M-Phy for Mediatek MT8195 SoC
> > Platform.
> >
> > Signed-off-by: Seiya Wang <[email protected]>
> > ---
> > Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
> > index 3a9be82e7f13..5235b1a0d188 100644
> > --- a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
> > +++ b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
> > @@ -22,6 +22,7 @@ properties:
> > pattern: "^ufs-phy@[0-9a-f]+$"
> >
> > compatible:
> > + enum: mediatek,mt8195-ufsphy
> > const: mediatek,mt8183-ufsphy
> >
> There is warning when I make dt_binding_check, if mt8195 is compatible
> with mt8183, will add it as following:
>
> oneOf:
> - items:
> - enum:
> - mediatek,mt8195-ufsphy
> - const: mediatek,mt8183-ufsphy
> - const: mediatek,mt8183-ufsphy
>
> Due to Vinod already apply this patch, I'll send out a fix patch later
>
> Thanks
I will update the patch after a new linux-next tag available.
Thank you very much.
> > reg:
>
>