Re: [PATCH v1 1/1] arm: draeger : Dräger M48 o n NXP i.MX6(Q) and Intel/Altera SoCFPGA Cyclone V devicetree.

Petko Manolov <[email protected]>
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <20260823150041.GE17052__10947.6460887649$1787497260$gmane$org@cabron.k.g>
On 26-08-21 16:33:20, Fabio Estevam wrote:
> Hi Petko,
> 
> On Thu, Aug 20, 2026 at 3:19 AM Petko Manolov
> <[email protected]> wrote:
> 
> > Unfortunately this board runs QNX, not Linux, so upstreaming them doesn't make
> > sense.
> 
> I don't think the OS running on the board changes this requirement.
> 
> Devicetree describes the hardware, not Linux, and DTs from the Linux tree are
> also consumed by other projects, including U-Boot. In U-Boot, we have been
> moving towards using the upstream Linux devicetree sources rather than
> maintaining independent copies of board DTs.

I have hard time believing the respective Linux maintainters would like to waste
time and energy upstreaming the DTs of a board that's never meant to run Linux
in the first place.  Will see... :)

> There is also an important review aspect here. The Linux devicetree
> maintainers and the subsystem/SoC maintainers review the hardware description
> and its bindings, including dt-schema validation. Simply running the
> validation tools locally is useful, but it is not a replacement for that
> review.
> 
> For the i.MX6 part in particular, this is a well-supported platform upstream,
> so I don't see a reason why the M48 hardware description could not be
> submitted to the Linux devicetree tree even if the product itself boots QNX.

OK

> My suggestion is still to split this work and submit the i. MX6 and SoCFPGA
> DTs to the respective Linux maintainers first.MX6 and SoCFPGA DTs to the
> respective Linux maintainers first. Once they have been accepted upstream,
> U-Boot can consume those DTs from the upstream Linux tree and keep only the
> U-Boot-specific additions in the *-u-boot.dtsi files.

_If_ these patches get accepted.  Have there been such precedents in the past?

> > Can i use some sort of DT validation tool that pass kernel's requirements?
> 
> Yes, the kernel provides dt_binding_check and dtbs_check targets for
> validating DT bindings and DTs against dt-schema. You should run these before
> submission, but passing them alone does not replace upstream DT review.

Yeah, these should be run against the DTs anyway.

Does it make sense to start submitting the arch part of the i.MX6 patches to
u-boot while i'm busy with the DTs?


thanks,
Petko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.