Skip to content

Commit c7f26a0

Browse files
committed
Merge tag 'mips_fixes_5.6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
Pull MIPS fixes from Thomas Bogendoerfer: "A few MIPS fixes: - DT fixes for CI20 - Fix command line handling - Correct patchwork URL" * tag 'mips_fixes_5.6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux: MAINTAINERS: Correct MIPS patchwork URL MIPS: DTS: CI20: fix interrupt for pcf8563 RTC MIPS: DTS: CI20: fix PMU definitions for ACT8600 MIPS: Fix CONFIG_MIPS_CMDLINE_DTB_EXTEND handling
2 parents a6ff463 + f7d5f56 commit c7f26a0

File tree

3 files changed

+31
-18
lines changed

3 files changed

+31
-18
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11119,7 +11119,7 @@ M: Thomas Bogendoerfer <[email protected]>
1111911119
1112011120
W: http://www.linux-mips.org/
1112111121
T: git git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux.git
11122-
Q: http://patchwork.linux-mips.org/project/linux-mips/list/
11122+
Q: https://patchwork.kernel.org/project/linux-mips/list/
1112311123
S: Maintained
1112411124
F: Documentation/devicetree/bindings/mips/
1112511125
F: Documentation/mips/

arch/mips/boot/dts/ingenic/ci20.dts

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#include "jz4780.dtsi"
55
#include <dt-bindings/clock/ingenic,tcu.h>
66
#include <dt-bindings/gpio/gpio.h>
7+
#include <dt-bindings/interrupt-controller/irq.h>
8+
#include <dt-bindings/regulator/active-semi,8865-regulator.h>
79

810
/ {
911
compatible = "img,ci20", "ingenic,jz4780";
@@ -163,63 +165,71 @@
163165

164166
regulators {
165167
vddcore: SUDCDC1 {
166-
regulator-name = "VDDCORE";
168+
regulator-name = "DCDC_REG1";
167169
regulator-min-microvolt = <1100000>;
168170
regulator-max-microvolt = <1100000>;
169171
regulator-always-on;
170172
};
171173
vddmem: SUDCDC2 {
172-
regulator-name = "VDDMEM";
174+
regulator-name = "DCDC_REG2";
173175
regulator-min-microvolt = <1500000>;
174176
regulator-max-microvolt = <1500000>;
175177
regulator-always-on;
176178
};
177179
vcc_33: SUDCDC3 {
178-
regulator-name = "VCC33";
180+
regulator-name = "DCDC_REG3";
179181
regulator-min-microvolt = <3300000>;
180182
regulator-max-microvolt = <3300000>;
181183
regulator-always-on;
182184
};
183185
vcc_50: SUDCDC4 {
184-
regulator-name = "VCC50";
186+
regulator-name = "SUDCDC_REG4";
185187
regulator-min-microvolt = <5000000>;
186188
regulator-max-microvolt = <5000000>;
187189
regulator-always-on;
188190
};
189191
vcc_25: LDO_REG5 {
190-
regulator-name = "VCC25";
192+
regulator-name = "LDO_REG5";
191193
regulator-min-microvolt = <2500000>;
192194
regulator-max-microvolt = <2500000>;
193195
regulator-always-on;
194196
};
195197
wifi_io: LDO_REG6 {
196-
regulator-name = "WIFIIO";
198+
regulator-name = "LDO_REG6";
197199
regulator-min-microvolt = <2500000>;
198200
regulator-max-microvolt = <2500000>;
199201
regulator-always-on;
200202
};
201203
vcc_28: LDO_REG7 {
202-
regulator-name = "VCC28";
204+
regulator-name = "LDO_REG7";
203205
regulator-min-microvolt = <2800000>;
204206
regulator-max-microvolt = <2800000>;
205207
regulator-always-on;
206208
};
207209
vcc_15: LDO_REG8 {
208-
regulator-name = "VCC15";
210+
regulator-name = "LDO_REG8";
209211
regulator-min-microvolt = <1500000>;
210212
regulator-max-microvolt = <1500000>;
211213
regulator-always-on;
212214
};
213-
vcc_18: LDO_REG9 {
214-
regulator-name = "VCC18";
215-
regulator-min-microvolt = <1800000>;
216-
regulator-max-microvolt = <1800000>;
215+
vrtc_18: LDO_REG9 {
216+
regulator-name = "LDO_REG9";
217+
/* Despite the datasheet stating 3.3V
218+
* for REG9 and the driver expecting that,
219+
* REG9 outputs 1.8V.
220+
* Likely the CI20 uses a proprietary
221+
* factory programmed chip variant.
222+
* Since this is a simple on/off LDO the
223+
* exact values do not matter.
224+
*/
225+
regulator-min-microvolt = <3300000>;
226+
regulator-max-microvolt = <3300000>;
217227
regulator-always-on;
218228
};
219229
vcc_11: LDO_REG10 {
220-
regulator-name = "VCC11";
221-
regulator-min-microvolt = <1100000>;
222-
regulator-max-microvolt = <1100000>;
230+
regulator-name = "LDO_REG10";
231+
regulator-min-microvolt = <1200000>;
232+
regulator-max-microvolt = <1200000>;
223233
regulator-always-on;
224234
};
225235
};
@@ -261,7 +271,9 @@
261271
rtc@51 {
262272
compatible = "nxp,pcf8563";
263273
reg = <0x51>;
264-
interrupts = <110>;
274+
275+
interrupt-parent = <&gpf>;
276+
interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
265277
};
266278
};
267279

arch/mips/kernel/setup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,8 @@ static void __init bootcmdline_init(char **cmdline_p)
605605
* If we're configured to take boot arguments from DT, look for those
606606
* now.
607607
*/
608-
if (IS_ENABLED(CONFIG_MIPS_CMDLINE_FROM_DTB))
608+
if (IS_ENABLED(CONFIG_MIPS_CMDLINE_FROM_DTB) ||
609+
IS_ENABLED(CONFIG_MIPS_CMDLINE_DTB_EXTEND))
609610
of_scan_flat_dt(bootcmdline_scan_chosen, &dt_bootargs);
610611
#endif
611612

0 commit comments

Comments
 (0)