From: Joseph Lo Date: Tue, 26 Feb 2013 16:27:42 +0000 (+0000) Subject: ARM: tegra: pmc: add specific compatible DT string for Tegra30 and Tegra114 X-Git-Tag: v3.12-rc1~910^2~18^2~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88c4aba92bc57334119bcff58ac87152c3f2981e;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Stephen Warren --- diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c index d4fdb5f..5d79d34 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) #ifdef CONFIG_OF static const struct of_device_id matches[] __initconst = { + { .compatible = "nvidia,tegra114-pmc" }, + { .compatible = "nvidia,tegra30-pmc" }, { .compatible = "nvidia,tegra20-pmc" }, { } };