Add support for MediaTek MT8195 demo board
Subsystems (2)
v3 cover Add support for MediaTek MT8195 demo board
This patch serie adds basic support for the MediaTek MT8195 demo board. For now the support is pretty basic and allow just to boot, use USB, and the SD card.
When more IO support will be added for MT8195, new changes will be pushed to the device-tree of the MT8195 demo board to support these IOs as well.
This serie depends on the following patches:
[0] https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
[1] https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
Fabien Parent (4):
dt-bindings: arm64: dts: mediatek: Add mt8195-demo board
arm64: dts: mediatek: Add device-tree for MT8195 Demo board
arm64: defconfig: enable MT6359 regulator driver
arm64: defconfig: enable some mt6360 PMIC drivers
.../devicetree/bindings/arm/mediatek.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 445 ++++++++++++++++++ arch/arm64/configs/defconfig | 4 + 4 files changed, 451 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-demo.dts
Signature · 7 lines
2.35.2 _______________________________________________ Linux-mediatek mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-mediatek
PATCH v3 1/4 dt-bindings: arm64: dts: mediatek: Add mt8195-demo board
Add bindings for the MediaTek mt8195-demo board.
---
v3: no changes
v2:
* move compatible next to the MT8195-EVB compatible
Documentation/devicetree/bindings/arm/mediatek.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/mediatek.yaml +1 -0
@@ -133,6 +133,7 @@ properties: - const: mediatek,mt8183 - items: - enum: + - mediatek,mt8195-demo - mediatek,mt8195-evb - const: mediatek,mt8195 - description: Google Burnet (HP Chromebook x360 11MK G3 EE)
Signature · 1 line
2.35.2
PATCH v3 2/4 arm64: dts: mediatek: Add device-tree for MT8195 Demo board
In reply to Fabien ParentAdd basic device-tree for the MT8195 Demo board. The Demo board is made by MediaTek and has a MT8195 SoC, associated with the MT6359 and MT6360 PMICs, and the MT7921 connectivity chip.
The IOs available on that board are:
* 1 USB Type-C connector with DP aux mode support
* 1 USB Type-A connector
* 1 full size HDMI RX and 1 full size HDMI TX connector
* 1 uSD slot
* 40 pins header
* SPI interface header
* 1 M.2 slot
* 1 audio jack
* 1 micro-USB port for serial debug
* 2 connectors for DSI displays
* 3 connectors for CSI cameras
* 1 connector for a eDP panel
* 1 MMC storage
This commit adds basic support in order to be able to boot.
---
v3:
* use plural for all pinctrl subnode names
* reorder all nodes in alphabetical order
* Remove invalid property for i2c6 pinctrl
* use interrupts-extended instead of interrupts/interrupt-parent
* rebase on top [v14,2/2] arm64: dts: Add mediatek SoC mt8195 and evaluation board
-> https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
v2:
* remove empty i2c nodes
* remove empty spi node
* remove unused pcie pinctrls
* fixup node nodes to not contains underscore
* rename mt6360 pmic node
* move mmc1 node right after mmc0 node
* use generic node name for gpio-keys
* uniformize pinctrl node names
arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 445 +++++++++++++++++++ 2 files changed, 446 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-demo.dts
arch/arm64/boot/dts/mediatek/Makefile +1 -0
@@ -38,5 +38,6 @@ 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) += mt8192-evb.dtb +dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb
arch/arm64/boot/dts/mediatek/mt8195-demo.dts new file +445 -0
445 lines not on this page · raw message
Signature · 1 line
2.35.2
PATCH v3 3/4 arm64: defconfig: enable MT6359 regulator driver
In reply to Fabien ParentThe PMIC regulators are essentials to be able to boot MediaTek MT8195 based boards to userspace. Like the other MediaTek PMIC regulator driver, let's enable as well the one for the MT6359 PMIC.
---
v3: no changes
v2: no changes
arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
@@ -644,6 +644,7 @@ CONFIG_REGULATOR_MAX77620=y CONFIG_REGULATOR_MAX8973=y CONFIG_REGULATOR_MP8859=y CONFIG_REGULATOR_MT6358=y +CONFIG_REGULATOR_MT6359=y CONFIG_REGULATOR_MT6397=y CONFIG_REGULATOR_PCA9450=y CONFIG_REGULATOR_PF8X00=y
Signature · 1 line
2.35.2
PATCH v3 4/4 arm64: defconfig: enable some mt6360 PMIC drivers
In reply to Fabien ParentEnable the charger and regulator driver for the MT6360 PMIC. These drivers are essential for some MediaTek MT8195 based boards to boot properly.
---
v3: no changes
v2: no changes
arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+)
arch/arm64/configs/defconfig +3 -0
@@ -565,6 +565,7 @@ CONFIG_SYSCON_REBOOT_MODE=y CONFIG_BATTERY_SBS=m CONFIG_BATTERY_BQ27XXX=y CONFIG_BATTERY_MAX17042=m +CONFIG_CHARGER_MT6360=m CONFIG_CHARGER_BQ25890=m CONFIG_CHARGER_BQ25980=m CONFIG_SENSORS_ARM_SCMI=y
@@ -625,6 +626,7 @@ CONFIG_MFD_EXYNOS_LPASS=m CONFIG_MFD_HI6421_PMIC=y CONFIG_MFD_HI655X_PMIC=y CONFIG_MFD_MAX77620=y +CONFIG_MFD_MT6360=y CONFIG_MFD_MT6397=y CONFIG_MFD_SPMI_PMIC=y CONFIG_MFD_RK808=y
@@ -645,6 +647,7 @@ CONFIG_REGULATOR_MAX8973=y CONFIG_REGULATOR_MP8859=y CONFIG_REGULATOR_MT6358=y CONFIG_REGULATOR_MT6359=y +CONFIG_REGULATOR_MT6360=y CONFIG_REGULATOR_MT6397=y CONFIG_REGULATOR_PCA9450=y CONFIG_REGULATOR_PF8X00=y
Signature · 1 line
2.35.2
Matthias Brugger
maintainerQuoted 7 lines · Fabien Parent
This patch serie adds basic support for the MediaTek MT8195 demo board. For now the support is pretty basic and allow just to boot, use USB, and the SD card.
When more IO support will be added for MT8195, new changes will be pushed to the device-tree of the MT8195 demo board to support these IOs as well.
Whole series applied.
Thanks!
Quoted 11 lines
This serie depends on the following patches:
[0] https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
[1] https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/Fabien Parent (4):
dt-bindings: arm64: dts: mediatek: Add mt8195-demo board
arm64: dts: mediatek: Add device-tree for MT8195 Demo board
arm64: defconfig: enable MT6359 regulator driver
arm64: defconfig: enable some mt6360 PMIC drivers
Quoted 7 lines
.../devicetree/bindings/arm/mediatek.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-demo.dts | 445 ++++++++++++++++++ arch/arm64/configs/defconfig | 4 + 4 files changed, 451 insertions(+)create mode 100644
arch/arm64/boot/dts/mediatek/mt8195-demo.dts
_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek