Re: [RFC 5/5] ARM: dts: omap3-beagle: make explicitly compatible to ti,omap34xx

From: Tony Lindgren
Date: Tue Sep 03 2019 - 09:40:06 EST


* H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> [190902 10:56]:
> Matching the ti-cpufreq driver needs to specify explicitly if
> a board uses an omap34xx or omap36xx chip.
>
> Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
> ---
> arch/arm/boot/dts/omap3-beagle.dts | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/omap3-beagle.dts b/arch/arm/boot/dts/omap3-beagle.dts
> index e3df3c166902..d47213c7a4d0 100644
> --- a/arch/arm/boot/dts/omap3-beagle.dts
> +++ b/arch/arm/boot/dts/omap3-beagle.dts
> @@ -8,7 +8,7 @@
>
> / {
> model = "TI OMAP3 BeagleBoard";
> - compatible = "ti,omap3-beagle", "ti,omap3";
> + compatible = "ti,omap3-beagle", "ti,omap34xx", "ti,omap3";
>
> cpus {
> cpu@0 {

For a clean-up patch, we should just use the following compatibles
in general for omap3:

ti,omap3 omap3
ti,omap34 omap34xx and omap35xx
ti,omap36 omap36xx and dm37xx
ti,am35 am35xx

So we should just leave out the "xx" part. But we still need parse
also the legacy binding with "xx" in drivers.

Regards,

Tony