From: Tony Lindgren <tony@atomide.com>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: "André Hentschel" <nerv@dawncrow.de>,
"Adam Ford" <aford173@gmail.com>,
linux@arm.linux.org.uk, robh+dt@kernel.org, mark.rutland@arm.com,
bcousson@baylibre.com, linux-omap@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: Add omap3-echo
Date: Thu, 2 Jan 2020 11:51:08 -0800 [thread overview]
Message-ID: <20200102195108.GF16702@atomide.com> (raw)
In-Reply-To: <55E6481C-2137-4086-ACDF-5F7D86E41A21@goldelico.com>
* H. Nikolaus Schaller <hns@goldelico.com> [191231 08:16]:
> > Am 30.12.2019 um 18:29 schrieb Tony Lindgren <tony@atomide.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
prev parent reply other threads:[~2020-01-02 19:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-24 16:10 [PATCH] ARM: dts: Add omap3-echo André Hentschel
2019-12-24 18:45 ` Tony Lindgren
2019-12-25 12:05 ` André Hentschel
2019-12-25 12:53 ` Adam Ford
2019-12-25 17:01 ` H. Nikolaus Schaller
2019-12-27 14:28 ` André Hentschel
2019-12-30 17:29 ` Tony Lindgren
2019-12-30 20:22 ` André Hentschel
2019-12-31 8:14 ` H. Nikolaus Schaller
2020-01-02 19:51 ` Tony Lindgren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200102195108.GF16702@atomide.com \
--to=tony@atomide.com \
--cc=aford173@gmail.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=hns@goldelico.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=nerv@dawncrow.de \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).