Skip to content

Commit bfb02cc

Browse files
committed
Merge remote-tracking branch 'asus/linux4.4-rk3288-merge' into linux4.4-rk3288
2 parents 2e3ef2d + 9a6568f commit bfb02cc

367 files changed

Lines changed: 41717 additions & 17334 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

arch/arm/boot/dts/rk3288-evb-act8846.dts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115
regulator-min-microvolt = <850000>;
116116
regulator-max-microvolt = <1350000>;
117117
regulator-always-on;
118+
regulator-ramp-delay = <6000>;
118119
vin-supply = <&vcc_sys>;
119120
};
120121

@@ -162,8 +163,8 @@
162163

163164
vdd_log: REG3 {
164165
regulator-name = "VDD_LOG";
165-
regulator-min-microvolt = <1000000>;
166-
regulator-max-microvolt = <1000000>;
166+
regulator-min-microvolt = <700000>;
167+
regulator-max-microvolt = <1500000>;
167168
regulator-always-on;
168169
};
169170

arch/arm/boot/dts/rk3288-evb-rk808.dts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,26 @@
6666
*/
6767
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
6868
};
69+
70+
vdd_log: pwm-regulator {
71+
compatible = "pwm-regulator";
72+
pwms = <&pwm1 0 2000 0>;
73+
74+
voltage-table = <1350000 0>,
75+
<1300000 10>,
76+
<1250000 20>,
77+
<1200000 31>,
78+
<1150000 41>,
79+
<1100000 52>,
80+
<1050000 62>,
81+
<1000000 72>,
82+
< 950000 83>;
83+
84+
regulator-min-microvolt = <950000>;
85+
regulator-max-microvolt = <1350000>;
86+
regulator-name = "vdd_logic";
87+
regulator-ramp-delay = <4000>;
88+
};
6989
};
7090

7191
&cpu0 {
@@ -118,6 +138,7 @@
118138
regulator-min-microvolt = <850000>;
119139
regulator-max-microvolt = <1250000>;
120140
regulator-name = "vdd_gpu";
141+
regulator-ramp-delay = <6000>;
121142
regulator-state-mem {
122143
regulator-on-in-suspend;
123144
regulator-suspend-microvolt = <1000000>;

arch/arm/boot/dts/rk3288-evb.dtsi

Lines changed: 62 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,28 @@
265265
};
266266
};
267267

268+
&dmc {
269+
status = "okay";
270+
logic-supply = <&vdd_log>;
271+
rockchip,odt-disable-freq = <333000000>;
272+
rockchip,dll-disable-freq = <333000000>;
273+
rockchip,sr-enable-freq = <333000000>;
274+
rockchip,auto-self-refresh-cnt = <0>;
275+
rockchip,auto-power-down-cnt = <64>;
276+
rockchip,ddr-speed-bin = <21>;
277+
rockchip,trcd = <10>;
278+
rockchip,trp = <10>;
279+
rockchip,pd-enable-freq = <533000000>;
280+
operating-points = <
281+
/* KHz uV */
282+
200000 1050000
283+
333000 1100000
284+
533000 1200000
285+
>;
286+
287+
#cooling-cells = <2>; /* min followed by max */
288+
};
289+
268290
&emmc {
269291
bus-width = <8>;
270292
cap-mmc-highspeed;
@@ -427,6 +449,46 @@
427449
status = "okay";
428450
};
429451

452+
&usbphy {
453+
status = "okay";
454+
};
455+
456+
&usb_host0_ehci {
457+
status = "okay";
458+
};
459+
460+
&usb_host1 {
461+
status = "okay";
462+
};
463+
464+
&usb_otg {
465+
status = "okay";
466+
};
467+
468+
&lvds {
469+
rockchip,data-mapping = "jeida";
470+
rockchip,data-width = <24>;
471+
rockchip,output = "lvds";
472+
rockchip,panel = <&lvds_panel>;
473+
status = "disabled";
474+
};
475+
476+
&vopb {
477+
status = "okay";
478+
};
479+
480+
&vopb_mmu {
481+
status = "okay";
482+
};
483+
484+
&vopl {
485+
status = "okay";
486+
};
487+
488+
&vopl_mmu {
489+
status = "okay";
490+
};
491+
430492
&pinctrl {
431493
pcfg_pull_none_drv_8ma: pcfg-pull-none-drv-8ma {
432494
drive-strength = <8>;
@@ -514,43 +576,3 @@
514576
};
515577
};
516578
};
517-
518-
&usbphy {
519-
status = "okay";
520-
};
521-
522-
&usb_host0_ehci {
523-
status = "okay";
524-
};
525-
526-
&usb_host1 {
527-
status = "okay";
528-
};
529-
530-
&usb_otg {
531-
status = "okay";
532-
};
533-
534-
&lvds {
535-
rockchip,data-mapping = "jeida";
536-
rockchip,data-width = <24>;
537-
rockchip,output = "lvds";
538-
rockchip,panel = <&lvds_panel>;
539-
status = "disabled";
540-
};
541-
542-
&vopb {
543-
status = "okay";
544-
};
545-
546-
&vopb_mmu {
547-
status = "okay";
548-
};
549-
550-
&vopl {
551-
status = "okay";
552-
};
553-
554-
&vopl_mmu {
555-
status = "okay";
556-
};

arch/arm/boot/dts/rk3288-fennec.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@
255255
regulator-min-microvolt = <850000>;
256256
regulator-max-microvolt = <1250000>;
257257
regulator-name = "vdd_gpu";
258+
regulator-ramp-delay = <6000>;
258259
regulator-state-mem {
259260
regulator-on-in-suspend;
260261
regulator-suspend-microvolt = <1000000>;

arch/arm/boot/dts/rk3288-firefly.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@
304304
regulator-min-microvolt = <850000>;
305305
regulator-max-microvolt = <1350000>;
306306
regulator-always-on;
307+
regulator-ramp-delay = <6000>;
307308
vin-supply = <&vcc_sys>;
308309
};
309310

0 commit comments

Comments
 (0)