Skip to content

Commit 62b40de

Browse files
committed
Merge branch 'for-4.7/soc' into for-4.7/genpd
2 parents f55532a + 605aa5e commit 62b40de

File tree

5 files changed

+124
-91
lines changed

5 files changed

+124
-91
lines changed

Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-pmc.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ modes. It provides power-gating controllers for SoC and CPU power-islands.
66

77
Required properties:
88
- name : Should be pmc
9-
- compatible : For Tegra20, must contain "nvidia,tegra20-pmc". For Tegra30,
10-
must contain "nvidia,tegra30-pmc". For Tegra114, must contain
11-
"nvidia,tegra114-pmc". For Tegra124, must contain "nvidia,tegra124-pmc".
12-
Otherwise, must contain "nvidia,<chip>-pmc", plus at least one of the
13-
above, where <chip> is tegra132.
9+
- compatible : Should contain one of the following:
10+
For Tegra20 must contain "nvidia,tegra20-pmc".
11+
For Tegra30 must contain "nvidia,tegra30-pmc".
12+
For Tegra114 must contain "nvidia,tegra114-pmc"
13+
For Tegra124 must contain "nvidia,tegra124-pmc"
14+
For Tegra132 must contain "nvidia,tegra124-pmc"
15+
For Tegra210 must contain "nvidia,tegra210-pmc"
1416
- reg : Offset and length of the register set for the device
1517
- clocks : Must contain an entry for each entry in clock-names.
1618
See ../clocks/clock-bindings.txt for details.

arch/arm/mach-tegra/platsmp.c

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,19 +108,9 @@ static int tegra30_boot_secondary(unsigned int cpu, struct task_struct *idle)
108108
* be un-gated by un-toggling the power gate register
109109
* manually.
110110
*/
111-
if (!tegra_pmc_cpu_is_powered(cpu)) {
112-
ret = tegra_pmc_cpu_power_on(cpu);
113-
if (ret)
114-
return ret;
115-
116-
/* Wait for the power to come up. */
117-
timeout = jiffies + msecs_to_jiffies(100);
118-
while (!tegra_pmc_cpu_is_powered(cpu)) {
119-
if (time_after(jiffies, timeout))
120-
return -ETIMEDOUT;
121-
udelay(10);
122-
}
123-
}
111+
ret = tegra_pmc_cpu_power_on(cpu);
112+
if (ret)
113+
return ret;
124114

125115
remove_clamps:
126116
/* CPU partition is powered. Enable the CPU clock. */

drivers/gpu/drm/tegra/drm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ struct tegra_dc {
121121
spinlock_t lock;
122122

123123
struct drm_crtc base;
124-
int powergate;
124+
unsigned int powergate;
125125
int pipe;
126126

127127
struct clk *clk;

0 commit comments

Comments
 (0)