Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
faae754
import from ec3672599ae8dac8bd46582a02eae7c29716e802
akku1139 Jul 4, 2026
74c9815
memory: mtk-smi: add bus_sel to MT6589
akku1139 Jul 4, 2026
153dfd5
dt-bindings: iommu: mediatek: complete mt6589
akku1139 Jul 4, 2026
a1f7b04
arm: dts: mediatek: mt6589: fix m4u node
akku1139 Jul 4, 2026
0c77015
memory: mtk-smi: add MT6589 specific init
akku1139 Jul 4, 2026
32dcd5c
dt-bindings: memory: mt6589-larb-port: add MT6589_M4U_PORT_NR
akku1139 Jul 4, 2026
f3b9a50
iommu: mtk-v1: add MT6589 support
akku1139 Jul 4, 2026
b10e08c
Merge branch 'blade/v7.1' into dev/v7.1/mt6589-drm
akku1139 Jul 7, 2026
286e04b
drm: mediatek: mtk_drm_drv: add mt6589 routing
akku1139 Jul 7, 2026
b3c07af
soc: mediatek: mmsys: add TDSHP def
akku1139 Jul 7, 2026
5365e8a
Merge branch 'blade/v7.1' into dev/v7.1/mt6589-drm
akku1139 Jul 23, 2026
718bed6
Merge branch 'blade/v7.1' into dev/v7.1/mt6589-drm
akku1139 Jul 26, 2026
ebe6c2c
panel fixes
akku1139 Jul 26, 2026
857ac65
dt-bindings: reset: mt6589: add dispsys resets
akku1139 Jul 26, 2026
8228898
clk: mediatek: add support for resetbar
akku1139 Jul 26, 2026
621c45f
clk: mediatek: mt6589-disp: add reset support
akku1139 Jul 26, 2026
613ec2c
drm: mediatek: disp_rdma: move size_con0 and size_con1 to platform data
rva3 Mar 13, 2026
3dcea01
drm: mediatek: disp_rdma: use function pointer for the fmt_convert
rva3 Mar 22, 2026
e8d88c3
arm: dts: mediatek: mt6589: add dispsys resets
akku1139 Jul 26, 2026
9df456f
drm: mediatek: mtk_disp_rdma: add MT6589 support
akku1139 Jul 26, 2026
f3e2145
dt-bindings: phy: mediatek,dsi-phy: add mt6589 compatible
akku1139 Jul 26, 2026
588ef58
arm: dts: mediatek: mt6589: add mipi-tx
akku1139 Jul 26, 2026
b58ad63
phy: mediatek: add MT6589 dsi phy
akku1139 Jul 26, 2026
c39f1c4
arm: dts: mediatek: mt6589: fix
akku1139 Jul 26, 2026
ee06ee5
dt-bindings: pwm: mediatek,pwm-disp: add mt6589 (wip)
akku1139 Jul 26, 2026
5798865
arm: dts: mediatek: mt6589: add bls
akku1139 Jul 26, 2026
dffd339
pwm: add MT6589 BLS driver
akku1139 Jul 26, 2026
31fc966
dt-bindings: display: mediatek: color: add mt6589
akku1139 Jul 26, 2026
c07a624
drm: mediatek: mtk_disp_color: add MT6589 support
akku1139 Jul 26, 2026
99393d9
drm: mediatek: mtk_disp_ovl: add MT6589 support
akku1139 Jul 26, 2026
1607386
drm: mediatek: mtk_dsi: add DSI_MEM_CONTI control
akku1139 Jul 26, 2026
79cee89
drm: mediatek: mtk_drm_drv: add missing mt6589 compatibles
akku1139 Jul 26, 2026
1a32b1b
arm: dts: mediatek: mt6589: add color engine
akku1139 Jul 26, 2026
e0a56c9
arm: dts: mediatek: lenovo-blade: enable bls
akku1139 Jul 26, 2026
ddc66d6
arm: dts: mediatek: lenovo-b8000: re-enable simple-framebuffer
akku1139 Jul 26, 2026
2f03f7b
iommu: mtk_iommu_v1: fix mt6589 (wip)
akku1139 Jul 26, 2026
00e93e0
Merge branch 'blade/v7.1' into dev/v7.1/mt6589-drm
akku1139 Jul 28, 2026
c38b68c
arm: dts: mediatek: mt6589: add power-domains to iommu
akku1139 Jul 28, 2026
72151b8
Merge branch 'blade/v7.1' into dev/v7.1/mt6589-drm
akku1139 Jul 28, 2026
1387b01
iommu: mtk_iommu_v1: fixing (wip)
akku1139 Jul 28, 2026
655f321
memory: mtk-smi: [hack] MT6589 support
akku1139 Jul 28, 2026
c0a9818
iommu: mtk_iommu_v1: fix from everything broken
akku1139 Jul 28, 2026
b722f67
arm: dts: mediatek: lenovo-b8000: disable simple-framebuffer
akku1139 Jul 28, 2026
fc3b9bd
Merge branch 'blade/v7.1' into dev/v7.1/mt6589-drm
akku1139 Jul 28, 2026
75f8dc0
Revert "memory: mtk-smi: [hack] MT6589 support"
akku1139 Jul 28, 2026
6a740c3
iommu: mtk_iommu_v1: [hack] don't stop clock when probe fails
akku1139 Jul 28, 2026
440d0c8
drm: mediatek: mtk_disp_ovl: disable any actibities when probe
akku1139 Jul 28, 2026
640089a
Merge branch 'blade/v7.1' into dev/v7.1/mt6589-drm
akku1139 Aug 12, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ properties:
- enum:
- mediatek,mt2701-mmsys
- mediatek,mt2712-mmsys
- mediatek,mt6589-dispsys
- mediatek,mt6765-mmsys
- mediatek,mt6779-mmsys
- mediatek,mt6795-mmsys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ properties:
- mediatek,mt2712-mfgcfg
- mediatek,mt2712-vdecsys
- mediatek,mt2712-vencsys
- mediatek,mt6589-dispsys
- mediatek,mt6589-imgsys
- mediatek,mt6589-mfgsys
- mediatek,mt6589-vdecsys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ properties:
oneOf:
- enum:
- mediatek,mt2701-disp-color
- mediatek,mt6589-disp-color
- mediatek,mt8167-disp-color
- mediatek,mt8173-disp-color
- mediatek,mt8195-mdp3-color
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ properties:
oneOf:
- enum:
- mediatek,mt2701-dsi
- mediatek,mt6589-dsi
- mediatek,mt7623-dsi
- mediatek,mt8167-dsi
- mediatek,mt8173-dsi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ properties:
oneOf:
- enum:
- mediatek,mt2701-disp-ovl
- mediatek,mt6589-disp-ovl
- mediatek,mt8167-disp-ovl
- mediatek,mt8173-disp-ovl
- mediatek,mt8183-disp-ovl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ properties:
oneOf:
- enum:
- mediatek,mt2701-disp-rdma
- mediatek,mt6589-disp-rdma
- mediatek,mt8173-disp-rdma
- mediatek,mt8183-disp-rdma
- mediatek,mt8195-disp-rdma
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,12 @@ properties:

# AU Optronics Corporation 8.0" WUXGA TFT LCD panel
- auo,b080uan01
# BOE Technology 10.1" WXGA panel with Himax HX8896-A01 TCON
- boe,hx8896-a01-panel
# Boe Corporation 8.0" WUXGA TFT LCD panel
- boe,tv080wum-nl0
# CMI 10.1" WXGA panel with Himax HX8896-A01 TCON
- innolux,hx8896-a01-panel
# Innolux P079ZCA 7.85" 768x1024 TFT LCD panel
- innolux,p079zca
# JDI FHD_R63452 1080x1920 5.2" IPS LCD Panel
Expand Down
73 changes: 71 additions & 2 deletions Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ properties:
- enum:
- mediatek,mt2701-m4u # generation one
- mediatek,mt2712-m4u # generation two
- mediatek,mt6589-m4u # generation one (dual core)
- mediatek,mt6779-m4u # generation two
- mediatek,mt6795-m4u # generation two
- mediatek,mt6893-iommu-mm # generation two
Expand All @@ -97,10 +98,20 @@ properties:
- const: mediatek,mt2701-m4u

reg:
maxItems: 1
minItems: 1
maxItems: 4 # MT6589 needs 4 regions (global, m4u0, m4u1, l2cache)

reg-names:
minItems: 1
maxItems: 4

interrupts:
maxItems: 1
minItems: 1
maxItems: 2 # MT6589 has one IRQ per core

interrupt-names:
minItems: 1
maxItems: 2

clocks:
items:
Expand Down Expand Up @@ -133,6 +144,7 @@ properties:
dt-binding/memory/mediatek,mt8188-memory-port.h for mt8188,
dt-binding/memory/mediatek,mt8189-memory-port.h for mt8189,
dt-binding/memory/mt2701-larb-port.h for mt2701 and mt7623,
dt-binding/memory/mt6589-larb-port.h for mt6589,
dt-binding/memory/mt2712-larb-port.h for mt2712,
dt-binding/memory/mt6779-larb-port.h for mt6779,
dt-binding/memory/mt6795-larb-port.h for mt6795,
Expand All @@ -155,13 +167,50 @@ required:
- '#iommu-cells'

allOf:
- if:
properties:
compatible:
not:
contains:
const: mediatek,mt6589-m4u
then:
properties:
reg:
maxItems: 1
interrupts:
maxItems: 1
required:
- reg
else:
properties:
reg:
minItems: 4
maxItems: 4
interrupts:
minItems: 2
maxItems: 2
reg-names:
items:
- const: global
- const: m4u0
- const: m4u1
- const: l2cache
interrupt-names:
items:
- const: m4u0
- const: m4u1
required:
- reg-names
- interrupt-names

- if:
properties:
compatible:
contains:
enum:
- mediatek,mt2701-m4u
- mediatek,mt2712-m4u
- mediatek,mt6589-m4u
- mediatek,mt6795-m4u
- mediatek,mt6893-iommu-mm
- mediatek,mt8173-m4u
Expand Down Expand Up @@ -240,3 +289,23 @@ examples:
<&larb3>, <&larb4>, <&larb5>;
#iommu-cells = <1>;
};

- |
#include <dt-bindings/interrupt-controller/arm-gic.h>

iommu@10208000 {
compatible = "mediatek,mt6589-m4u";
reg = <0x10205000 0x200>,
<0x10205200 0x600>,
<0x10205800 0x600>,
<0x10205100 0x100>;
reg-names = "global", "m4u0", "m4u1", "l2cache";
interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_LOW>,
<GIC_SPI 142 IRQ_TYPE_LEVEL_LOW>;
interrupt-names = "m4u0", "m4u1";
clocks = <&infracfg CLK_INFRA_M4U>;
clock-names = "bclk";
mediatek,larbs = <&larb0>, <&larb1>, <&larb2>,
<&larb3>, <&larb4>, <&larb5>;
#iommu-cells = <1>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ properties:
- enum:
- mediatek,mt2701-smi-common
- mediatek,mt2712-smi-common
- mediatek,mt6589-smi-common
- mediatek,mt6779-smi-common
- mediatek,mt6795-smi-common
- mediatek,mt6893-smi-common
Expand All @@ -51,9 +52,6 @@ properties:
- const: mediatek,mt7623-smi-common
- const: mediatek,mt2701-smi-common

reg:
maxItems: 1

power-domains:
maxItems: 1

Expand Down Expand Up @@ -86,6 +84,24 @@ required:
- clock-names

allOf:
- if: # Generation 0 HW (mt6589)
properties:
compatible:
contains:
const: mediatek,mt6589-smi-common
then:
properties:
reg:
items:
- description: SMI AO base
- description: SMI base
minItems: 2
maxItems: 2
else:
properties:
reg:
maxItems: 1

- if: # only for gen1 HW
properties:
compatible:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ properties:
- enum:
- mediatek,mt2701-smi-larb
- mediatek,mt2712-smi-larb
- mediatek,mt6589-smi-larb
- mediatek,mt6779-smi-larb
- mediatek,mt6795-smi-larb
- mediatek,mt6893-smi-larb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ properties:
- mediatek,mt8365-mipi-tx
- const: mediatek,mt8183-mipi-tx
- const: mediatek,mt2701-mipi-tx
- const: mediatek,mt6589-mipi-tx
- const: mediatek,mt8173-mipi-tx
- const: mediatek,mt8183-mipi-tx

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ properties:
oneOf:
- enum:
- mediatek,mt2701-disp-pwm
- mediatek,mt6589-disp-pwm
- mediatek,mt6595-disp-pwm
- mediatek,mt8173-disp-pwm
- mediatek,mt8183-disp-pwm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ properties:
enum:
- mediatek,mt2701-disp-mutex
- mediatek,mt2712-disp-mutex
- mediatek,mt6589-disp-mutex
- mediatek,mt6795-disp-mutex
- mediatek,mt8167-disp-mutex
- mediatek,mt8173-disp-mutex
Expand Down
55 changes: 55 additions & 0 deletions arch/arm/boot/dts/mediatek/mt6589-lenovo-b8000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,60 @@
height = <800>;
stride = <(1280 * 2)>;
format = "r5g6b5";
status = "disabled";
};
};

&pio {
panel_pins: panel-pins {
pins_power_en {
pinmux = <MT6589_GPIO137__FUNC_GPIO137>;
};
};
};

&mt6320_ldo_vrf28_2 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};

&dsi {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";

panel@0 {
compatible = "boe,hx8896-a01-panel";
reg = <0>;
power-supply = <&mt6320_ldo_vrf28_2>;
enable-gpios = <&pio 137 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&panel_pins>;

port {
panel_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
};

/*
panel@0 {
compatible = "innolux,hx8896-a01";
reg = <0>;
power-supply = <&mt6320_ldo_vrf28_2>;

port {
panel_in: endpoint {
remote-endpoint = <&dsi_out>;
};
};
};
*/

port {
dsi_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
};
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/mediatek/mt6589-lenovo-blade.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -457,3 +457,7 @@
&pwm {
status = "okay";
};

&bls {
status = "okay";
};
Loading