Skip to content

Commit c2324d8

Browse files
committed
fixup! arm64: dts: qcom: sdm660: Add support for Xiaomi Mi Pad 4 / PLUS
1 parent 70f47ab commit c2324d8

File tree

3 files changed

+25
-13
lines changed

3 files changed

+25
-13
lines changed

arch/arm64/boot/dts/qcom/sda660-xiaomi-clover.dts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
*/
55

66
/dts-v1/;
7+
#include <dt-bindings/arm/qcom,ids.h>
78
#include "sdm660-xiaomi-clover-common.dtsi"
89

910
/ {
10-
model = "Xiaomi Mi Pad 4";
11+
model = "Xiaomi Mi Pad 4";
1112
compatible = "xiaomi,clover", "qcom,sda660";
12-
qcom,board-id = <11 0>;
13-
qcom,msm-id = <324 0>;
14-
qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, <0x0001001b 0x0201011a 0x0 0x0>,<0x0001001b 0x0102001a 0x0 0x0>;
13+
qcom,msm-id = <QCOM_ID_SDA660 0>;
14+
qcom,board-id = <QCOM_BOARD_ID_QRD 0>;
15+
qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>,
16+
<0x0001001b 0x0201011a 0x0 0x0>,
17+
<0x0001001b 0x0102001a 0x0 0x0>;
1518
};
1619

1720
&blsp_i2c3 {
@@ -80,6 +83,12 @@
8083
status = "okay";
8184
};
8285

86+
&remoteproc_mss {
87+
firmware-name = "mba.mbn", "modemnm.mdt";
88+
89+
status = "okay";
90+
};
91+
8392
&simplefb {
8493
/*
8594
* Prevent unused clocks and power domains from being disabled. It's

arch/arm64/boot/dts/qcom/sdm660-xiaomi-clover-common.dtsi

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,6 @@
242242
status = "okay";
243243
};
244244

245-
&remoteproc_mss {
246-
firmware-name = "mba.mbn", "modem.mdt";
247-
248-
status = "okay";
249-
};
250-
251245
&rpm_requests {
252246
regulators-0 {
253247
compatible = "qcom,rpm-pm660l-regulators";

arch/arm64/boot/dts/qcom/sdm660-xiaomi-clover-plus.dts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
*/
55

66
/dts-v1/;
7+
#include <dt-bindings/arm/qcom,ids.h>
78
#include "sdm660-xiaomi-clover-common.dtsi"
89

910
/ {
1011
model = "Xiaomi Mi Pad 4 Plus";
1112
compatible = "xiaomi,clover-plus", "qcom,sdm660";
12-
qcom,board-id = <11 0>;
13-
qcom,msm-id = <324 0>;
14-
qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, <0x0001001b 0x0201011a 0x0 0x0>,<0x0001001b 0x0102001a 0x0 0x0>;
13+
qcom,msm-id = <QCOM_ID_SDM660 0>;
14+
qcom,board-id = <QCOM_BOARD_ID_QRD 0>;
15+
qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>,
16+
<0x0001001b 0x0201011a 0x0 0x0>,
17+
<0x0001001b 0x0102001a 0x0 0x0>;
1518

1619
vreg_bl_vddio: lcd-backlight-regulator {
1720
compatible = "regulator-fixed";
@@ -140,6 +143,12 @@
140143
status = "okay";
141144
};
142145

146+
&remoteproc_mss {
147+
firmware-name = "mba.mbn", "modem.mdt";
148+
149+
status = "okay";
150+
};
151+
143152
&simplefb {
144153
/*
145154
* Prevent unused clocks and power domains from being disabled. It's

0 commit comments

Comments
 (0)