Message ID | 1361932063-13263-1-git-send-email-josephl@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 02/26/2013 07:27 PM, Joseph Lo wrote: > The PMC HW is not 100% compatible across all Tegra series. We need to > specify each of them in the DT match table. Seems reasonable. I plan to apply for 3.10 when I can.
On 02/26/2013 07:27 PM, Joseph Lo wrote: > The PMC HW is not 100% compatible across all Tegra series. We need to > specify each of them in the DT match table. I have applied these two patches to Tegra's for-3.10/cleanup branch.
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" }, { } };
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> --- V2: * fix the typo and the chip order in DT match table --- arch/arm/mach-tegra/pmc.c | 2 ++ 1 file changed, 2 insertions(+)