Skip to content

Commit 1d9eab2

Browse files
committed
Merge remote-tracking branch 'origin/release-20160818-miniarm' into linux4.4-rk3288
2 parents 8c1c4f0 + c2ca2db commit 1d9eab2

169 files changed

Lines changed: 13946 additions & 4852 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.dtsi

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,10 @@
362362
};
363363
};
364364

365+
&hevc_service {
366+
status = "okay";
367+
};
368+
365369
&i2c0 {
366370
status = "okay";
367371
};
@@ -439,7 +443,7 @@
439443
status = "okay";
440444
};
441445

442-
&vpu {
446+
&vpu_service {
443447
status = "okay";
444448
};
445449

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

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@
239239
#address-cells = <1>;
240240
#size-cells = <0>;
241241
#sound-dai-cells = <0>;
242-
ddc-i2c-bus = <&i2c5>;
242+
pinctrl-names = "default";
243+
pinctrl-0 = <&hdmi_ddc>;
243244
status = "okay";
244245
/* Don't use vopl for HDMI */
245246
ports {
@@ -259,7 +260,10 @@
259260
interrupt-parent = <&gpio0>;
260261
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
261262
pinctrl-names = "default";
262-
pinctrl-0 = <&pmic_int &global_pwroff>;
263+
pinctrl-0 = <&pmic_int &global_pwroff &dvs_1 &dvs_2>;
264+
dvs-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>,
265+
<&gpio0 12 GPIO_ACTIVE_HIGH>;
266+
263267
rockchip,system-power-controller;
264268
wakeup-source;
265269
#clock-cells = <1>;
@@ -283,8 +287,9 @@
283287
regulator-always-on;
284288
regulator-boot-on;
285289
regulator-min-microvolt = <750000>;
286-
regulator-max-microvolt = <1350000>;
290+
regulator-max-microvolt = <1450000>;
287291
regulator-name = "vdd_arm";
292+
regulator-ramp-delay = <6000>;
288293
regulator-state-mem {
289294
regulator-off-in-suspend;
290295
};
@@ -624,7 +629,11 @@
624629
status = "okay";
625630
};
626631

627-
&vpu {
632+
&hevc_service {
633+
status = "okay";
634+
};
635+
636+
&vpu_service {
628637
status = "okay";
629638
};
630639

@@ -664,6 +673,14 @@
664673
pmic_int: pmic-int {
665674
rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;
666675
};
676+
677+
dvs_1: dvs-1 {
678+
rockchip,pins = <RK_GPIO0 11 RK_FUNC_GPIO &pcfg_pull_down>;
679+
};
680+
681+
dvs_2: dvs-2 {
682+
rockchip,pins = <RK_GPIO0 12 RK_FUNC_GPIO &pcfg_pull_down>;
683+
};
667684
};
668685

669686
sdio-pwrseq {

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ reserve_thermal: reserve_thermal {
5252
};
5353

5454
cpu_thermal: cpu_thermal {
55-
polling-delay-passive = <1000>; /* milliseconds */
55+
polling-delay-passive = <100>; /* milliseconds */
5656
polling-delay = <5000>; /* milliseconds */
5757

5858
thermal-sensors = <&tsadc 1>;
@@ -63,6 +63,11 @@ cpu_thermal: cpu_thermal {
6363
hysteresis = <2000>; /* millicelsius */
6464
type = "passive";
6565
};
66+
cpu_alert1: cpu_alert1 {
67+
temperature = <80000>; /* millicelsius */
68+
hysteresis = <2000>; /* millicelsius */
69+
type = "passive";
70+
};
6671
cpu_crit: cpu_crit {
6772
temperature = <90000>; /* millicelsius */
6873
hysteresis = <2000>; /* millicelsius */
@@ -73,14 +78,19 @@ cpu_thermal: cpu_thermal {
7378
cooling-maps {
7479
map0 {
7580
trip = <&cpu_alert0>;
81+
cooling-device =
82+
<&cpu0 THERMAL_NO_LIMIT 6>;
83+
};
84+
map1 {
85+
trip = <&cpu_alert1>;
7686
cooling-device =
7787
<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7888
};
7989
};
8090
};
8191

8292
gpu_thermal: gpu_thermal {
83-
polling-delay-passive = <1000>; /* milliseconds */
93+
polling-delay-passive = <100>; /* milliseconds */
8494
polling-delay = <5000>; /* milliseconds */
8595

8696
thermal-sensors = <&tsadc 2>;
@@ -102,7 +112,7 @@ gpu_thermal: gpu_thermal {
102112
map0 {
103113
trip = <&gpu_alert0>;
104114
cooling-device =
105-
<&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
115+
<&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
106116
};
107117
};
108118
};

0 commit comments

Comments
 (0)