[PATCH 1/2] ARM: tegra: pmc: add specific compatible DT string for Tegra30 and Tegra114

Stephen Warren swarren at wwwdotorg.org
Tue Feb 26 11:29:26 EST 2013


On 02/26/2013 02:58 AM, Joseph Lo wrote:
> The PMC HW dose not 100% compatible across all Tegra series. We need to
> specify each of them in the DT match table.

> diff --git a/arch/arm/mach-tegra/pmc.c b/arch/arm/mach-tegra/pmc.c

>  static const struct of_device_id matches[] __initconst = {
>  	{ .compatible = "nvidia,tegra20-pmc" },
> +	{ .compatible = "nvidia,tegra30-pmc" },
> +	{ .compatible = "nvidia,tegra114-pmc" },
>  	{ }
>  };

Those should be listed in order of most recent device through least
recent device, i.e. in the opposite order.



More information about the linux-arm-kernel mailing list