Skip to content

Commit 1e14b4f

Browse files
committed
mt6795 - enable frequency hopping controller (FHCTL) - add i2c, power domains and some clocks for video enconde/decode - Sony Xperia M5 enable touchscreen, proximity sensor, accelerometer and NFC mt8173 - align keys with DT binding mt8183 - enable GPU DVFS mt8186 - enable GPU mt8192 - enable GPU mt8195 - add mutex for Video Processor Pipeline Subsystem (VPP) - add support for Mali-G57 Valhall Natt GPU baked by panfrost - add support for display on vdosys1 - add thermal support - add display PWM mt8365 - add support for the eval kit including i2c, pmic-wrapper, mmc and ethernet * tag 'v6.3-next-dts64' of https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux: (50 commits) arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMM050 Magnetometer arm64: dts: mediatek: mt6795-xperia-m5: Add Bosch BMA255 Accelerometer arm64: dts: mediatek: mt6795: Add tertiary PWM node arm64: dts: mediatek: mt8173: correct GPIO keys wakeup arm64: dts: mediatek: mt6795-xperia-m5: Add NXP PN547 NFC on I2C3 arm64: dts: mediatek: mt6795-xperia-m5: Add Sensortek STK3310 Proximity arm64: dts: mediatek: mt6795-xperia-m5: Add Synaptics RMI4 Touchscreen arm64: dts: mediatek: mt6795-xperia-m5: Enable I2C 0-3 busses arm64: dts: mediatek: mt6795: Add VDECSYS and VENCSYS clocks arm64: dts: mediatek: mt6795: Add SoC power domains arm64: dts: mediatek: mt6795: Add nodes for I2C controllers arm64: dts: mediatek: mt6795: xperia-m5: Enable Frequency Hopping arm64: dts: mediatek: mt6795: Add apmixedsys syscon node arm64: dts: mediatek: mt6795: Add Frequency Hopping Controller node arm64: dts: mediatek: cherry: Add configuration for display backlight arm64: dts: mediatek: mt8195: Add display pwm nodes arm64: dts: mediatek: mt8195: Add temperature mitigation threshold arm64: dts: mediatek: mt8195: Add thermal zones and thermal nodes arm64: dts: mediatek: add ethernet support for mt8365 SoC arm64: dts: mediatek: add mmc support for mt8365 SoC ... Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 7e82985 + 13961ef commit 1e14b4f

19 files changed

+2181
-37
lines changed

arch/arm64/boot/dts/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r2.dtb
5252
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-cherry-tomato-r3.dtb
5353
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-demo.dtb
5454
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8195-evb.dtb
55+
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8365-evk.dtb
5556
dtb-$(CONFIG_ARCH_MEDIATEK) += mt8516-pumpkin.dtb

arch/arm64/boot/dts/mediatek/mt2712e.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@
559559
status = "disabled";
560560
};
561561

562-
nandc: nfi@1100e000 {
562+
nandc: nand-controller@1100e000 {
563563
compatible = "mediatek,mt2712-nfc";
564564
reg = <0 0x1100e000 0 0x1000>;
565565
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
Lines changed: 282 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,282 @@
1+
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2+
/*
3+
* Copyright (c) 2020 MediaTek Inc.
4+
* Copyright (c) 2023 BayLibre Inc.
5+
*/
6+
7+
#include <dt-bindings/input/input.h>
8+
9+
&pwrap {
10+
mt6357_pmic: pmic {
11+
compatible = "mediatek,mt6357";
12+
13+
regulators {
14+
mt6357_vproc_reg: buck-vproc {
15+
regulator-name = "vproc";
16+
regulator-min-microvolt = <518750>;
17+
regulator-max-microvolt = <1312500>;
18+
regulator-ramp-delay = <6250>;
19+
regulator-enable-ramp-delay = <220>;
20+
regulator-always-on;
21+
};
22+
23+
mt6357_vcore_reg: buck-vcore {
24+
regulator-name = "vcore";
25+
regulator-min-microvolt = <518750>;
26+
regulator-max-microvolt = <1312500>;
27+
regulator-ramp-delay = <6250>;
28+
regulator-enable-ramp-delay = <220>;
29+
regulator-always-on;
30+
};
31+
32+
mt6357_vmodem_reg: buck-vmodem {
33+
regulator-name = "vmodem";
34+
regulator-min-microvolt = <500000>;
35+
regulator-max-microvolt = <1193750>;
36+
regulator-ramp-delay = <6250>;
37+
regulator-enable-ramp-delay = <220>;
38+
};
39+
40+
mt6357_vs1_reg: buck-vs1 {
41+
regulator-name = "vs1";
42+
regulator-min-microvolt = <1200000>;
43+
regulator-max-microvolt = <2200000>;
44+
regulator-ramp-delay = <12500>;
45+
regulator-enable-ramp-delay = <220>;
46+
regulator-always-on;
47+
};
48+
49+
mt6357_vpa_reg: buck-vpa {
50+
regulator-name = "vpa";
51+
regulator-min-microvolt = <500000>;
52+
regulator-max-microvolt = <3650000>;
53+
regulator-ramp-delay = <50000>;
54+
regulator-enable-ramp-delay = <220>;
55+
};
56+
57+
mt6357_vfe28_reg: ldo-vfe28 {
58+
compatible = "regulator-fixed";
59+
regulator-name = "vfe28";
60+
regulator-min-microvolt = <2800000>;
61+
regulator-max-microvolt = <2800000>;
62+
regulator-enable-ramp-delay = <264>;
63+
};
64+
65+
mt6357_vxo22_reg: ldo-vxo22 {
66+
regulator-name = "vxo22";
67+
regulator-min-microvolt = <2200000>;
68+
regulator-max-microvolt = <2400000>;
69+
regulator-enable-ramp-delay = <110>;
70+
};
71+
72+
mt6357_vrf18_reg: ldo-vrf18 {
73+
compatible = "regulator-fixed";
74+
regulator-name = "vrf18";
75+
regulator-min-microvolt = <1800000>;
76+
regulator-max-microvolt = <1800000>;
77+
regulator-enable-ramp-delay = <110>;
78+
};
79+
80+
mt6357_vrf12_reg: ldo-vrf12 {
81+
compatible = "regulator-fixed";
82+
regulator-name = "vrf12";
83+
regulator-min-microvolt = <1200000>;
84+
regulator-max-microvolt = <1200000>;
85+
regulator-enable-ramp-delay = <110>;
86+
};
87+
88+
mt6357_vefuse_reg: ldo-vefuse {
89+
regulator-name = "vefuse";
90+
regulator-min-microvolt = <1200000>;
91+
regulator-max-microvolt = <3300000>;
92+
regulator-enable-ramp-delay = <264>;
93+
};
94+
95+
mt6357_vcn33_bt_reg: ldo-vcn33-bt {
96+
regulator-name = "vcn33-bt";
97+
regulator-min-microvolt = <3300000>;
98+
regulator-max-microvolt = <3500000>;
99+
regulator-enable-ramp-delay = <264>;
100+
};
101+
102+
mt6357_vcn33_wifi_reg: ldo-vcn33-wifi {
103+
regulator-name = "vcn33-wifi";
104+
regulator-min-microvolt = <3300000>;
105+
regulator-max-microvolt = <3500000>;
106+
regulator-enable-ramp-delay = <264>;
107+
};
108+
109+
mt6357_vcn28_reg: ldo-vcn28 {
110+
compatible = "regulator-fixed";
111+
regulator-name = "vcn28";
112+
regulator-min-microvolt = <2800000>;
113+
regulator-max-microvolt = <2800000>;
114+
regulator-enable-ramp-delay = <264>;
115+
};
116+
117+
mt6357_vcn18_reg: ldo-vcn18 {
118+
compatible = "regulator-fixed";
119+
regulator-name = "vcn18";
120+
regulator-min-microvolt = <1800000>;
121+
regulator-max-microvolt = <1800000>;
122+
regulator-enable-ramp-delay = <264>;
123+
};
124+
125+
mt6357_vcama_reg: ldo-vcama {
126+
regulator-name = "vcama";
127+
regulator-min-microvolt = <2500000>;
128+
regulator-max-microvolt = <2800000>;
129+
regulator-enable-ramp-delay = <264>;
130+
};
131+
132+
mt6357_vcamd_reg: ldo-vcamd {
133+
regulator-name = "vcamd";
134+
regulator-min-microvolt = <1000000>;
135+
regulator-max-microvolt = <1800000>;
136+
regulator-enable-ramp-delay = <264>;
137+
};
138+
139+
mt6357_vcamio_reg: ldo-vcamio18 {
140+
compatible = "regulator-fixed";
141+
regulator-name = "vcamio";
142+
regulator-min-microvolt = <1800000>;
143+
regulator-max-microvolt = <1800000>;
144+
regulator-enable-ramp-delay = <264>;
145+
};
146+
147+
mt6357_vldo28_reg: ldo-vldo28 {
148+
regulator-name = "vldo28";
149+
regulator-min-microvolt = <2800000>;
150+
regulator-max-microvolt = <3000000>;
151+
regulator-enable-ramp-delay = <264>;
152+
};
153+
154+
mt6357_vsram_others_reg: ldo-vsram-others {
155+
regulator-name = "vsram-others";
156+
regulator-min-microvolt = <518750>;
157+
regulator-max-microvolt = <1312500>;
158+
regulator-ramp-delay = <6250>;
159+
regulator-enable-ramp-delay = <110>;
160+
regulator-always-on;
161+
};
162+
163+
mt6357_vsram_proc_reg: ldo-vsram-proc {
164+
regulator-name = "vsram-proc";
165+
regulator-min-microvolt = <518750>;
166+
regulator-max-microvolt = <1312500>;
167+
regulator-ramp-delay = <6250>;
168+
regulator-enable-ramp-delay = <110>;
169+
regulator-always-on;
170+
};
171+
172+
mt6357_vaux18_reg: ldo-vaux18 {
173+
compatible = "regulator-fixed";
174+
regulator-name = "vaux18";
175+
regulator-min-microvolt = <1800000>;
176+
regulator-max-microvolt = <1800000>;
177+
regulator-enable-ramp-delay = <264>;
178+
};
179+
180+
mt6357_vaud28_reg: ldo-vaud28 {
181+
compatible = "regulator-fixed";
182+
regulator-name = "vaud28";
183+
regulator-min-microvolt = <2800000>;
184+
regulator-max-microvolt = <2800000>;
185+
regulator-enable-ramp-delay = <264>;
186+
};
187+
188+
mt6357_vio28_reg: ldo-vio28 {
189+
compatible = "regulator-fixed";
190+
regulator-name = "vio28";
191+
regulator-min-microvolt = <2800000>;
192+
regulator-max-microvolt = <2800000>;
193+
regulator-enable-ramp-delay = <264>;
194+
};
195+
196+
mt6357_vio18_reg: ldo-vio18 {
197+
compatible = "regulator-fixed";
198+
regulator-name = "vio18";
199+
regulator-min-microvolt = <1800000>;
200+
regulator-max-microvolt = <1800000>;
201+
regulator-enable-ramp-delay = <264>;
202+
regulator-always-on;
203+
};
204+
205+
mt6357_vdram_reg: ldo-vdram {
206+
regulator-name = "vdram";
207+
regulator-min-microvolt = <1100000>;
208+
regulator-max-microvolt = <1200000>;
209+
regulator-enable-ramp-delay = <3300>;
210+
};
211+
212+
mt6357_vmc_reg: ldo-vmc {
213+
regulator-name = "vmc";
214+
regulator-min-microvolt = <1800000>;
215+
regulator-max-microvolt = <3300000>;
216+
regulator-enable-ramp-delay = <44>;
217+
};
218+
219+
mt6357_vmch_reg: ldo-vmch {
220+
regulator-name = "vmch";
221+
regulator-min-microvolt = <2900000>;
222+
regulator-max-microvolt = <3300000>;
223+
regulator-enable-ramp-delay = <44>;
224+
};
225+
226+
mt6357_vemc_reg: ldo-vemc {
227+
regulator-name = "vemc";
228+
regulator-min-microvolt = <2900000>;
229+
regulator-max-microvolt = <3300000>;
230+
regulator-enable-ramp-delay = <44>;
231+
regulator-always-on;
232+
};
233+
234+
mt6357_vsim1_reg: ldo-vsim1 {
235+
regulator-name = "vsim1";
236+
regulator-min-microvolt = <1700000>;
237+
regulator-max-microvolt = <3100000>;
238+
regulator-enable-ramp-delay = <264>;
239+
};
240+
241+
mt6357_vsim2_reg: ldo-vsim2 {
242+
regulator-name = "vsim2";
243+
regulator-min-microvolt = <1700000>;
244+
regulator-max-microvolt = <3100000>;
245+
regulator-enable-ramp-delay = <264>;
246+
};
247+
248+
mt6357_vibr_reg: ldo-vibr {
249+
regulator-name = "vibr";
250+
regulator-min-microvolt = <1200000>;
251+
regulator-max-microvolt = <3300000>;
252+
regulator-enable-ramp-delay = <44>;
253+
};
254+
255+
mt6357_vusb33_reg: ldo-vusb33 {
256+
regulator-name = "vusb33";
257+
regulator-min-microvolt = <3000000>;
258+
regulator-max-microvolt = <3100000>;
259+
regulator-enable-ramp-delay = <264>;
260+
};
261+
};
262+
263+
rtc {
264+
compatible = "mediatek,mt6357-rtc";
265+
};
266+
267+
keys {
268+
compatible = "mediatek,mt6357-keys";
269+
270+
key-power {
271+
linux,keycodes = <KEY_POWER>;
272+
wakeup-source;
273+
};
274+
275+
key-home {
276+
linux,keycodes = <KEY_HOME>;
277+
wakeup-source;
278+
};
279+
280+
};
281+
};
282+
};

0 commit comments

Comments
 (0)