[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200102195108.GF16702@atomide.com>
Date: Thu, 2 Jan 2020 11:51:08 -0800
From: Tony Lindgren <tony@...mide.com>
To: "H. Nikolaus Schaller" <hns@...delico.com>
Cc: André Hentschel <nerv@...ncrow.de>,
Adam Ford <aford173@...il.com>, linux@....linux.org.uk,
robh+dt@...nel.org, mark.rutland@....com, bcousson@...libre.com,
linux-omap@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ARM: dts: Add omap3-echo
* H. Nikolaus Schaller <hns@...delico.com> [191231 08:16]:
> > Am 30.12.2019 um 18:29 schrieb Tony Lindgren <tony@...mide.com>:
> > And let's also add minimal dm3725.dtsi, am3715.dtsi and am3703.dtsi
> > to make things simple.
>
> Well, is that "simple"?
Well simple from "adding support for a new device in most case" point
of view yes..
> We also have to add omap3503, omap3515, omap3520, omap3530.dtsi.
> And probably am3351,2,4,6,7,8,9 variants with different capabilities
> (PRU, SGX, CAN, ZCZ ports to name some).
>
> And to be correct, there should be a different "compatible".
..and yes the number of permutations quickly gets out of control :)
The SoC specific compatibles should be there though. So everybody,
please keep adding them as we encounter the missing ones.
Note that we don't seem to have much any feature detection for the
newer TI parts. At least am4 and dra7 already rely on
of_machine_is_compatible() checks for omap_hwmod_43xx_data.c and
omap_hwmod_7xx_data.c.
> Rob asked me when reviewing the pvrsgx bindings if the img,5xx variants
> can be autodetected to reduce bindings complexity.
Yes also dynamic detection is needed, and we do have that working
for many SoCs. The use in ti-sysc driver is still missing though,
and newer SoCs never had feature detection added.
> > The device tree is supposed to describe the
> > hardware, and in most cases the SoC version is fixed and need no
> > dynamic detection.
>
> There may be exactly the same board populated with either one since
> they are drop-in pin compatible. So this may proliferate to the
> board.dts files and u-boot can have to load different .dtb.
Yeah. I'm afraid we're already depending for bootloader picking
the right dtb for many cases, such as capes etc.
Regards,
Tony
Powered by blists - more mailing lists