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>
This commit is contained in:
Joseph Lo 2013-02-26 16:27:42 +00:00 committed by Stephen Warren
parent 0d1f79b033
commit 88c4aba92b
1 changed files with 2 additions and 0 deletions

View File

@ -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" },
{ }
};