Skip to content

Commit 138f2c3

Browse files
author
Alex Shi
committed
Merge remote-tracking branch 'lts/linux-4.4.y' into linux-linaro-lsk-v4.4
Conflicts: drivers/base/power/opp/core.c
2 parents 2bf7955 + 1a1a512 commit 138f2c3

175 files changed

Lines changed: 1640 additions & 689 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.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VERSION = 4
22
PATCHLEVEL = 4
3-
SUBLEVEL = 8
3+
SUBLEVEL = 9
44
EXTRAVERSION =
55
NAME = Blurry Fish Butt
66

arch/arm/boot/dts/am43x-epos-evm.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,3 +792,8 @@
792792
tx-num-evt = <32>;
793793
rx-num-evt = <32>;
794794
};
795+
796+
&synctimer_32kclk {
797+
assigned-clocks = <&mux_synctimer32k_ck>;
798+
assigned-clock-parents = <&clkdiv32k_ick>;
799+
};

arch/arm/boot/dts/armada-375.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@
529529
};
530530

531531
sata@a0000 {
532-
compatible = "marvell,orion-sata";
532+
compatible = "marvell,armada-370-sata";
533533
reg = <0xa0000 0x5000>;
534534
interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
535535
clocks = <&gateclk 14>, <&gateclk 20>;

arch/arm/boot/dts/armada-385-linksys.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
};
118118

119119
/* USB part of the eSATA/USB 2.0 port */
120-
usb@50000 {
120+
usb@58000 {
121121
status = "okay";
122122
};
123123

arch/arm/boot/dts/pxa3xx.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
reg = <0x43100000 90>;
3131
interrupts = <45>;
3232
clocks = <&clks CLK_NAND>;
33-
dmas = <&pdma 97>;
33+
dmas = <&pdma 97 3>;
3434
dma-names = "data";
3535
#address-cells = <1>;
3636
#size-cells = <1>;

arch/arm/mach-exynos/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ menuconfig ARCH_EXYNOS
2626
select S5P_DEV_MFC
2727
select SRAM
2828
select THERMAL
29+
select THERMAL_OF
2930
select MFD_SYSCON
3031
help
3132
Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)

arch/arm/mach-omap2/cpuidle34xx.c

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
#include "pm.h"
3535
#include "control.h"
3636
#include "common.h"
37+
#include "soc.h"
3738

3839
/* Mach specific information to be recorded in the C-state driver_data */
3940
struct omap3_idle_statedata {
@@ -315,6 +316,69 @@ static struct cpuidle_driver omap3_idle_driver = {
315316
.safe_state_index = 0,
316317
};
317318

319+
/*
320+
* Numbers based on measurements made in October 2009 for PM optimized kernel
321+
* with CPU freq enabled on device Nokia N900. Assumes OPP2 (main idle OPP,
322+
* and worst case latencies).
323+
*/
324+
static struct cpuidle_driver omap3430_idle_driver = {
325+
.name = "omap3430_idle",
326+
.owner = THIS_MODULE,
327+
.states = {
328+
{
329+
.enter = omap3_enter_idle_bm,
330+
.exit_latency = 110 + 162,
331+
.target_residency = 5,
332+
.name = "C1",
333+
.desc = "MPU ON + CORE ON",
334+
},
335+
{
336+
.enter = omap3_enter_idle_bm,
337+
.exit_latency = 106 + 180,
338+
.target_residency = 309,
339+
.name = "C2",
340+
.desc = "MPU ON + CORE ON",
341+
},
342+
{
343+
.enter = omap3_enter_idle_bm,
344+
.exit_latency = 107 + 410,
345+
.target_residency = 46057,
346+
.name = "C3",
347+
.desc = "MPU RET + CORE ON",
348+
},
349+
{
350+
.enter = omap3_enter_idle_bm,
351+
.exit_latency = 121 + 3374,
352+
.target_residency = 46057,
353+
.name = "C4",
354+
.desc = "MPU OFF + CORE ON",
355+
},
356+
{
357+
.enter = omap3_enter_idle_bm,
358+
.exit_latency = 855 + 1146,
359+
.target_residency = 46057,
360+
.name = "C5",
361+
.desc = "MPU RET + CORE RET",
362+
},
363+
{
364+
.enter = omap3_enter_idle_bm,
365+
.exit_latency = 7580 + 4134,
366+
.target_residency = 484329,
367+
.name = "C6",
368+
.desc = "MPU OFF + CORE RET",
369+
},
370+
{
371+
.enter = omap3_enter_idle_bm,
372+
.exit_latency = 7505 + 15274,
373+
.target_residency = 484329,
374+
.name = "C7",
375+
.desc = "MPU OFF + CORE OFF",
376+
},
377+
},
378+
.state_count = ARRAY_SIZE(omap3_idle_data),
379+
.safe_state_index = 0,
380+
};
381+
318382
/* Public functions */
319383

320384
/**
@@ -333,5 +397,8 @@ int __init omap3_idle_init(void)
333397
if (!mpu_pd || !core_pd || !per_pd || !cam_pd)
334398
return -ENODEV;
335399

336-
return cpuidle_register(&omap3_idle_driver, NULL);
400+
if (cpu_is_omap3430())
401+
return cpuidle_register(&omap3430_idle_driver, NULL);
402+
else
403+
return cpuidle_register(&omap3_idle_driver, NULL);
337404
}

arch/arm/mach-omap2/io.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ void __init omap5_map_io(void)
368368
void __init dra7xx_map_io(void)
369369
{
370370
iotable_init(dra7xx_io_desc, ARRAY_SIZE(dra7xx_io_desc));
371+
omap_barriers_init();
371372
}
372373
#endif
373374
/*

arch/arm/mach-omap2/omap_hwmod.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,9 +1416,7 @@ static void _enable_sysc(struct omap_hwmod *oh)
14161416
(sf & SYSC_HAS_CLOCKACTIVITY))
14171417
_set_clockactivity(oh, oh->class->sysc->clockact, &v);
14181418

1419-
/* If the cached value is the same as the new value, skip the write */
1420-
if (oh->_sysc_cache != v)
1421-
_write_sysconfig(v, oh);
1419+
_write_sysconfig(v, oh);
14221420

14231421
/*
14241422
* Set the autoidle bit only after setting the smartidle bit
@@ -1481,7 +1479,9 @@ static void _idle_sysc(struct omap_hwmod *oh)
14811479
_set_master_standbymode(oh, idlemode, &v);
14821480
}
14831481

1484-
_write_sysconfig(v, oh);
1482+
/* If the cached value is the same as the new value, skip the write */
1483+
if (oh->_sysc_cache != v)
1484+
_write_sysconfig(v, oh);
14851485
}
14861486

14871487
/**

arch/arm/mach-prima2/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
menuconfig ARCH_SIRF
22
bool "CSR SiRF" if ARCH_MULTI_V7
33
select ARCH_HAS_RESET_CONTROLLER
4+
select RESET_CONTROLLER
45
select ARCH_REQUIRE_GPIOLIB
56
select GENERIC_IRQ_CHIP
67
select NO_IOPORT_MAP

0 commit comments

Comments
 (0)