Skip to content

Commit defa051

Browse files
barni2000TravMurav
authored andcommitted
dts: msm8952: enable LDO11 regulator for xiaomi-tiare and pine
Redmi GO and Redmi 7A have LDO11 regulator disabled what is related to SD reader. Enable the regulator to be able to use the SD reader. Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
1 parent 4a01abf commit defa051

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

lk2nd/device/dts/msm8952/msm8917-xiaomi-common.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <skeleton64.dtsi>
66
#include <lk2nd.dtsi>
7+
#include <dt-bindings/lk2nd/regulator.h>
78

89
/ {
910
qcom,msm-id = <QCOM_ID_MSM8917 0>;
@@ -106,5 +107,10 @@
106107
// touchscreen-compatible = "goodix,gt911";
107108
};
108109
};
110+
111+
regulator-l11 {
112+
compatible = "regulator-ldo";
113+
id = <REG_LDO11>;
114+
};
109115
};
110116
};

lk2nd/device/dts/msm8952/sdm439-qrd-2.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
#include <skeleton64.dtsi>
66
#include <lk2nd.dtsi>
7+
#include <dt-bindings/lk2nd/regulator.h>
78

89
/ {
910
qcom,msm-id = <QCOM_ID_SDM439 0>;
@@ -59,5 +60,10 @@
5960
compatible = "xiaomi,pine-jd9365z-c3e";
6061
};
6162
};
63+
64+
regulator-l11 {
65+
compatible = "regulator-ldo";
66+
id = <REG_LDO11>;
67+
};
6268
};
6369
};

0 commit comments

Comments
 (0)