aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Lo <josephl@nvidia.com>2013-02-26 11:27:42 -0500
committerStephen Warren <swarren@nvidia.com>2013-03-11 16:29:44 -0400
commit88c4aba92bc57334119bcff58ac87152c3f2981e (patch)
tree2e16167225e48f6887084372b5cd13ad5f9580c5
parent0d1f79b033bb87091c65cd11bd2dcb6a583c8320 (diff)
ARM: tegra: pmc: add specific compatible DT string for Tegra30 and Tegra114
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>
-rw-r--r--arch/arm/mach-tegra/pmc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c
index d4fdb5fcec20..5d79d34e2c0f 100644
--- 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)
36 36
37#ifdef CONFIG_OF 37#ifdef CONFIG_OF
38static const struct of_device_id matches[] __initconst = { 38static const struct of_device_id matches[] __initconst = {
39 { .compatible = "nvidia,tegra114-pmc" },
40 { .compatible = "nvidia,tegra30-pmc" },
39 { .compatible = "nvidia,tegra20-pmc" }, 41 { .compatible = "nvidia,tegra20-pmc" },
40 { } 42 { }
41}; 43};