projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d1f79b
)
ARM: tegra: pmc: add specific compatible DT string for Tegra30 and Tegra114
author
Joseph Lo
<josephl@nvidia.com>
Tue, 26 Feb 2013 16:27:42 +0000
(16:27 +0000)
committer
Stephen Warren
<swarren@nvidia.com>
Mon, 11 Mar 2013 20:29:44 +0000
(14:29 -0600)
The PMC HW is not 100% compatible across all Tegra series. We need to
specify each of them in the DT match table.
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
arch/arm/mach-tegra/pmc.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-tegra/pmc.c
b/arch/arm/mach-tegra/pmc.c
index d4fdb5fcec20955c95a4f0199efb1ae180f72409..5d79d34e2c0fdd7b216b8a9d6e97cad60507c4e4 100644
(file)
--- a/
arch/arm/mach-tegra/pmc.c
+++ b/
arch/arm/mach-tegra/pmc.c
@@
-36,6
+36,8
@@
static inline void tegra_pmc_writel(u32 val, u32 reg)
#ifdef CONFIG_OF
static const struct of_device_id matches[] __initconst = {
+ { .compatible = "nvidia,tegra114-pmc" },
+ { .compatible = "nvidia,tegra30-pmc" },
{ .compatible = "nvidia,tegra20-pmc" },
{ }
};