lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251203-add-mediatek-genio-520-720-evk-v1-0-df794b2a30ae@collabora.com>
Date: Wed, 03 Dec 2025 14:59:25 +0100
From: Louis-Alexis Eyraud <louisalexis.eyraud@...labora.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, 
 Jiri Slaby <jirislaby@...nel.org>, Rob Herring <robh@...nel.org>, 
 Krzysztof Kozlowski <krzk+dt@...nel.org>, 
 Conor Dooley <conor+dt@...nel.org>, 
 Matthias Brugger <matthias.bgg@...il.com>, 
 AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>, 
 Sean Wang <sean.wang@...iatek.com>
Cc: kernel@...labora.com, linux-kernel@...r.kernel.org, 
 linux-serial@...r.kernel.org, devicetree@...r.kernel.org, 
 linux-arm-kernel@...ts.infradead.org, linux-mediatek@...ts.infradead.org, 
 Louis-Alexis Eyraud <louisalexis.eyraud@...labora.com>
Subject: [PATCH 0/4] Add support for the Mediatek Genio 520-EVK and 720-EVK
 boards

This patch series adds the support for the Mediatek Genio 520-EVK (based
on MT8371 SoC) and Mediatek Genio 720-EVK (based on MT8391 SoC).

MT8371 and MT8391 SoC are less powerful variants of MT8189 SoC
with the following differences:
  - Arm Cortex-A78 CPU core maximum frequency (2.2 Ghz for MT8371, 2.6
    Ghz for MT8391, 3 Ghz for MT8189).
  - Arm Mali G57 MC2 GPU core maximum frequency (880 Mhz for MT8371,
    1.1 Ghz for MT8189 and MT8391)
  - ISP engine number (1 for MT8371, 2 for MT8189 and MT8391)
MT8371 and MT8391 SoC hardware register maps are identical to MT8189.

The Genio 520/720-EVK boards have following features:
  - MT8371 (or MT8391) SoC
  - MT6365 PMIC
  - MT6319 Buck IC
  - MT6375 Charger IC
  - 8GB LPDDR5 RAM
  - 64GB eMMC 5.1
  - 128GB UFS
  - 20V DC Jack
  - USB Type-C Power Adapter
  - Micro SD card slot
  - Push Button x 4 (Power, Reset, Download and Home Key)
  - LED x 3 (System Power, Reset, DC-IN Power)
  - USB Type-C Connector (USB 3.2) x 2
  - USB Type-C Connector (USB 2.0) x 1
  - 3.5mm Earphone Jack x 1 (with Microphone Input)
  - 3.5mm Line Out Audio Jack x 1
  - Analog Microphone x 1
  - Digital Microphone x 2
  - Gigabit Ethernet with RJ45 connector
  - DP x 1 (Mode over USB Type-C)
  - LVDS port x 1
  - eDP port x 1
  - UART x2 with serial-to-usb converters and USB Type-C connectors
  - UART Port x 2 on Pin Header
  - M.2 Slot x 2
  - I2C Capacitive Touch Pad
  - 4-Lane DSI x 1
  - 4-Data Lane CSI x 2
  - I2S Pin header
  - 40-Pin 2.54mm Pin Header x 1
  - CAN Bus x 1 (RS232 Connector)

The series adds two include files for mt8189 (mt8189.dtsi) and common
board definitions (mt8391-genio-common.dtsi) and a devicetree file for
each board. In regard to the current MT8189 SoC upstream support and in
order to limit the number of prerequisite patches, this series provides
the following basic hardware enablement for:
  - cpu
  - clocks
  - spmi and regulators
  - UART 0/1/2/3
  - eMMC and SD card
  - watchdog
  - timer
  - efuse and socinfo
  - auxadc

The series is based on linux-next next-20251203 tag, and the
following patch series are currently required:
- I2C dt-bindings [1]
- SPMI dt-bindings [2]
- timer dt-bindings [3]
- Add support for MT8189 clock/power controller [4]
- Add SD/MMC Card driver support for Mediatek MT8189 SoC [5]
- mt8189: Add pinmux macro header file [6]

Note:
The v3 revision of [4] patch series is causing the following `make dtbs_check`
issue for both board devicetrees:
```
arch/arm64/boot/dts/mediatek/mt8391-genio-720-evk.dtb: /soc/clock-controller@...00800: 
  failed to match any schema with compatible: ['mediatek,mt8189-vlp-ao', 'syscon']
```
The mismatch between compatible string in driver and dt-bindings has
already been reported during the series review ([7]) and hopefully will be
fixed in its future revision.

[1] https://lore.kernel.org/linux-mediatek/20251030-mt8189-dt-bindings-i2c-v1-1-5b60914c6453@collabora.com/
[2] https://lore.kernel.org/linux-mediatek/20251029-mt8189-dt-bindings-spmi-v1-1-fbea12a4ed5e@collabora.com/
[3] https://lore.kernel.org/linux-mediatek/20250825033136.7705-1-zhanzhan.ge@mediatek.com/
[4] https://lore.kernel.org/linux-mediatek/20251106124330.1145600-1-irving-ch.lin@mediatek.com/
[5] https://lore.kernel.org/linux-mediatek/20251203-mt8189-add-mmc-support-v1-0-f5ce43212fe9@collabora.com/
[6] https://lore.kernel.org/linux-mediatek/20250919020525.7904-1-ot_cathy.xu@mediatek.com/
[7] https://lore.kernel.org/linux-mediatek/a50e6d433afcf8b08a47694bc5a52acc28871ee5.camel@collabora.com/

Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@...labora.com>
---
Louis-Alexis Eyraud (4):
      dt-bindings: serial: mediatek,uart: Add compatible for MT8189 SoC
      dt-bindings: arm: mediatek: add compatibles for Mediatek Genio 520/720-EVK boards
      arm64: dts: mediatek: add device-tree for Genio 720-EVK board
      arm64: dts: mediatek: add device-tree for Genio 520-EVK board

 .../devicetree/bindings/arm/mediatek.yaml          |  10 +
 .../devicetree/bindings/serial/mediatek,uart.yaml  |   1 +
 arch/arm64/boot/dts/mediatek/Makefile              |   2 +
 arch/arm64/boot/dts/mediatek/mt8189.dtsi           | 860 +++++++++++++++++++++
 .../boot/dts/mediatek/mt8371-genio-520-evk.dts     |  19 +
 .../boot/dts/mediatek/mt8391-genio-720-evk.dts     |  15 +
 .../boot/dts/mediatek/mt8391-genio-common.dtsi     | 555 +++++++++++++
 7 files changed, 1462 insertions(+)
---
base-commit: e47d97576181b31291cf58e77d737d21def0e160
change-id: 20251128-add-mediatek-genio-520-720-evk-06162377974d
prerequisite-message-id: <20251030-mt8189-dt-bindings-i2c-v1-1-5b60914c6453@...labora.com>
prerequisite-patch-id: af92e103b9f50af16560a11d4eabc644bd724b07
prerequisite-message-id: <20251029-mt8189-dt-bindings-spmi-v1-1-fbea12a4ed5e@...labora.com>
prerequisite-patch-id: c82ad0d3145322fea43aed2e1d830ebc8eae8180
prerequisite-message-id: <20250825033136.7705-1-zhanzhan.ge@...iatek.com>
prerequisite-patch-id: 7aeee7d452186b3bc1c11722b7ddb7dfbae7d396
prerequisite-message-id: <20251106124330.1145600-1-irving-ch.lin@...iatek.com>
prerequisite-patch-id: ea3e5cf891c9753a77f126ad1ddad455a0752883
prerequisite-patch-id: ae9a4cb1daadb56cc298b87142b29b749dc11835
prerequisite-patch-id: 3df47b0207d75102032975e6811f71a5e7909e43
prerequisite-patch-id: 1c25a1327d50152cef227f58c08076072d65cee3
prerequisite-patch-id: f2cd301aea79253adb85bd3f62c012dd3850e1a7
prerequisite-patch-id: 81dc09321182c48f6928582e8b9d22f35a757515
prerequisite-patch-id: e0a251231fd14fa582800db8f3bb77011f6836f9
prerequisite-patch-id: da7c54c83cb8566df39beac753c80615523479e5
prerequisite-patch-id: 2f3d41e32b230ddc016fd75ace5b286cd11b2127
prerequisite-patch-id: 309f350ed5c942b640b5c3434737fee28d6825b0
prerequisite-patch-id: 7579b6db7ec7a31e28db616c73b4c1b0eb4ee106
prerequisite-patch-id: 0cdea5380c8d35cfd89e01bf843ef7fdafbc7830
prerequisite-patch-id: 3dc3e377981d3c894fc39122200a0f0d46f5d71b
prerequisite-patch-id: b57bf39e50a5316d2f9264e1eb89071d3e8e8b0a
prerequisite-patch-id: 56fd80d33667839823794173064860c613f911cd
prerequisite-patch-id: 963a3ed54fb5fd9fd518f28254eaf93a70b2f603
prerequisite-patch-id: 3c9cbc33093f754d867ca324cc7e689fbbaae8af
prerequisite-patch-id: 336ba35d1924706d1d21c6e46718d973277f207a
prerequisite-patch-id: f3322d6494603585fc4728074484055d07484dd6
prerequisite-patch-id: f5a70e41fe9df7df0ab29538701bdfdb401a9d01
prerequisite-patch-id: b46a91afc38bea2ee6a8440f59e71e39728df6ad
prerequisite-message-id: <20251203-mt8189-add-mmc-support-v1-0-f5ce43212fe9@...labora.com>
prerequisite-patch-id: feab935ed7d0d7234dcc1980185300782c61620e
prerequisite-patch-id: efbd41a9926397f9b3ffd19235a04791b61f35c7
prerequisite-patch-id: 5b12a1056dfe87e4d39af584d8b16c31a1a00a04
prerequisite-message-id: <20250919020525.7904-1-ot_cathy.xu@...iatek.com>
prerequisite-patch-id: 7f2d960cde2f0e0a307721150e83b7b05b9a60d7

Best regards,
-- 
Louis-Alexis Eyraud <louisalexis.eyraud@...labora.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ