All of lore.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: ff <ff@shokubai.tech>
Cc: Rob Herring <robh+dt@kernel.org>,
	Sumit Garg <sumit.garg@linaro.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	"u-boot-custodians@lists.denx.de"
	<u-boot-custodians@lists.denx.de>, Tom Rini <trini@konsulko.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	"conor+dt@kernel.org" <conor+dt@kernel.org>,
	Caleb Connolly <caleb.connolly@linaro.org>,
	"neil.armstrong@linaro.org" <neil.armstrong@linaro.org>,
	Ramon Fried <rfried.dev@gmail.com>,
	Dzmitry Sankouski <dsankouski@gmail.com>,
	Peng Fan <peng.fan@nxp.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
	Lukasz Majewski <lukma@denx.de>,
	Sean Anderson <seanga2@gmail.com>,
	Jorge Ramirez-Ortiz <jorge.ramirez.ortiz@gmail.com>,
	Stephan Gerhold <stephan@gerhold.net>,
	Marek Vasut <marex@denx.de>,
	"u-boot@lists.denx.de" <u-boot@lists.denx.de>,
	Simon Glass <sjg@chromium.org>,
	"boot-architecture@lists.linaro.org"
	<boot-architecture@lists.linaro.org>
Subject: Re: [PATCH 00/21] Qualcomm generic board support
Date: Fri, 8 Dec 2023 15:12:19 +0000	[thread overview]
Message-ID: <20231208-reshoot-operation-a36504ba2ed9@spud> (raw)
In-Reply-To: <390B4BCF-EC60-4409-9A85-FE8607334C39@shokubai.tech>

[-- Attachment #1: Type: text/plain, Size: 6979 bytes --]

On Fri, Dec 08, 2023 at 09:39:27AM +0000, ff wrote:
> 
> 
> Le 7 déc. 2023 à 21:31, Conor Dooley <conor@kernel.org> a écrit :
> 
> What on earth has happened here with quoting? Please fix your mail
> client man, this mail is a mess to read.
> 
> Conor: Hopefully I have now fixed MacOS Mail configuration…
> For all: please accept my apologies on past inconveniences.

Judging by this mail looking like it does, nothing has changed?
You can check it on lore too:
https://lore.kernel.org/u-boot/CAC_iWjKKwjpD1VAbXJaB=UDQPWMS+k65tv-qL=JnewzSEhGEow@mail.gmail.com/T/#ma8c4fc1268c68aab0b05b96b2cea5c90cc2525b8

I'm not going to fix the quoting by hand, I have better things to do :)

Cheers,
Conor.

> 
> On Thu, Dec 07, 2023 at 08:24:01PM +0000, ff wrote:
> 
> 
> Le 7 déc. 2023 à 19:51, Rob Herring <robh+dt@kernel.org> a écrit :
> 
> On Thu, Dec 7, 2023 at 2:08 AM ff <ff@shokubai.tech> wrote:
> 
> 
> 
> Le 6 déc. 2023 à 21:42, Rob Herring <robh+dt@kernel.org> a écrit :
> 
> On Tue, Dec 5, 2023 at 11:05 PM Sumit Garg <sumit.garg@linaro.org> wrote:
> 
> On Tue, 5 Dec 2023 at 15:39, Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
> 
> On 05/12/2023 10:45, Sumit Garg wrote:
> + U-boot custodians list
> 
> On Tue, 5 Dec 2023 at 12:58, Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
> 
> On 05/12/2023 08:13, Sumit Garg wrote:
> @DT bindings maintainers,
> 
> Given the ease of maintenance of DT bindings within Linux kernel
> source tree, I don't have a specific objection there. But can we ease
> DTS testing for firmware/bootloader projects by providing a versioned
> release package for DT bindings? Or if someone else has a better idea
> here please feel free to chime in.
> 
> This doesn't work for you?:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/
> 
> Thanks, this is certainly a good step which I wasn't aware of. Further
> simplification can be done to decouple devicetree source files from DT
> bindings.
> 
> Why?
> 
> I suppose you are already aware that Linux DTS files are a subset of
> what could be supported by devicetree schemas. There can be
> firmware/bootloader specific properties (one example being [1]) which
> Linux kernel can simply ignore. Will you be willing to add all of
> those DT properties to Linux DTS files and maintain them?
> 
> We already added them and we already maintain them. DTS describes the
> hardware, not the OS-subset of the hardware.
> 
> Let look at some numbers if your statement is justified or not for the
> example I gave:
> 
> u-boot$ git grep -nr bootph-* arch/arm* | wc -l
> 4079
> 
> linux$ git grep -nr bootph-* arch/arm* | wc -l
> 267
> 
> I have no control over whether anyone has submitted the other 3812 instances.
> 
> It looks like there is always going to be a catch up game regarding DT
> properties which either Linux kernel or u-boot or any other
> firmware/bootloader project don't care about.
> 
> As long as dts files in u-boot are manually sync'ed, yes. That is the
> problem and it doesn't matter if we have a standalone repository or
> not.
> 
> If you want to move in that direction, start automating what u-boot
> imports. You need to do that for bindings if you want to run
> validation, so why not dts files too?
> 
> However, DT bindings are something which should be common, the
> hardware description of a device should be universal. IMO, splitting
> 
> Both DT bindings and DTS should be common. I don't see the difference.
> 
> If we really care about DTS to be common then the contribution model
> has to change where there is a single repo hosting DT bindings and
> DTS. All other projects whether it is Linux kernel or u-boot or any
> other OS/firmware/bootloader are just consuming DTS files from that
> single repo.
> 
> Really, only the kernel and u-boot matter. No, I don't mean I don't
> care about other projects, but those are the 2 with the widest h/w
> support by far and which have a major effort to sync copies of dts
> files in both projects. The rest are just noise in terms of this
> problem.
> 
> I suppose this is something that Linux DT maintainers
> have objected to in the past for ease of maintenance. I am not sure if
> you folks are willing to change that stance.
> 
> The issue is no one steps up to help maintain such a repository while
> there is lots of review and maintainer work on what goes into the
> kernel tree. I'm happy to direct my binding review attention to
> wherever the majority of the bindings go. But the work on the DTS side
> is mostly SoC tree maintainers and sub-maintainers.
> 
> Assume for a minute we have this standalone repo. What happens next?
> We start with an empty repo and then merge and move platforms 1 by 1?
> 
> What about leveraging SystemReady-IR compliant board maintainers and start with a core of motivated people ?
> 
> I think there are 2 ATM. Synquacer and i.MX8 variants.
> 
> Based on  https://www.arm.com/architecture/system-architectures/systemready-certification-program/ir
> roughly 30 boards.
> 
> Synquacer only
> has a DT in u-boot, so not really anything to do there.
> I'm pretty
> sure the certified DTBs for i.MX8 don't match what's in u-boot or the
> kernel tree. Hopefully, it's just a subset, but still, there's a gap.
> I don't know that there is motivation there either.
> Note that SystemReady currently only requires every node with
> 'compatible' have a schema. It does not yet require no schema
> warnings. If we went with a 1 by 1 approach, I would push that
> platforms have to be free of warnings.
> 
> How many years will that take?
> 
> Should all platforms following that organization be a goal?
> 
> You mean should all platforms be moved? Absolutely. I don't think we
> want to solve the problem of having DTS files in 2 places by creating
> a 3rd place.
> 
> I think this bit here is the only thing you actually wrote:
> 
> Actually, if we limit he DTS in the third place for SystemReady-IR,
> there should be no DTB in the Linux distribution.
> It would be the equivalent as ACPI boards . So is it still an issue ?
> A reference to the the third repo may be hinted in a text file.
> 
> SystemReady is only for one architecture, why would using it as the
> centralised point for devicetree files make sense?
> 
> SystemReady is an Arm certification but built on EBBR which is
> the important part and also adopted by RISC-V.
> So when I said SystemReady, one should read EBBR.
> EBBR is promoting a DT life cycle that is in line with
> having an out of OS/Firmware repos definitions.
> 
> I don't really think 1 by 1 is the right approach. I was just
> enumerating how this could work. It's not that useful to say we need a
> standalone repo without working thru the logistics of how exactly that
> will work.
> 
> Rob
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2023-12-08 15:12 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-21 17:09 [PATCH 00/21] Qualcomm generic board support Caleb Connolly
2023-11-21 17:09 ` [PATCH 01/21] arm: init: export prev_bl_fdt_addr Caleb Connolly
2023-11-21 19:06   ` Tom Rini
2023-11-21 17:09 ` [PATCH 02/21] arm: allow CONFIG_LINUX_KERNEL_IMAGE_HEADER to be set in defconfig Caleb Connolly
2023-11-21 19:07   ` Tom Rini
2023-11-21 20:17     ` Caleb Connolly
2023-11-21 20:22       ` Tom Rini
2023-11-21 17:09 ` [PATCH 03/21] usb: dwc3-generic: support external vbus regulator Caleb Connolly
2023-11-21 17:09 ` [PATCH 04/21] mmc: msm_sdhci: use modern clock handling Caleb Connolly
2023-11-21 17:09 ` [PATCH 05/21] dt-bindings: drop msm_sdhci binding Caleb Connolly
2023-11-21 17:09 ` [PATCH 06/21] clk/qcom: use upstream compatible properties Caleb Connolly
2023-11-21 17:09 ` [PATCH 07/21] serial: msm: add debug UART Caleb Connolly
2023-11-21 17:09 ` [PATCH 08/21] serial: msm: fix clock handling Caleb Connolly
2023-11-21 17:09 ` [PATCH 09/21] configs: add dragonboard410c_chainloaded_defconfig Caleb Connolly
2023-11-21 19:08   ` Tom Rini
2023-11-21 20:21     ` Caleb Connolly
2023-11-21 22:11       ` Simon Glass
2023-11-21 17:09 ` [PATCH 10/21] dts: dragonboard410c: fix compatible and clocks Caleb Connolly
2023-11-21 17:09 ` [PATCH 11/21] board: dragonboard410c: import board code from mach-snapdragon Caleb Connolly
2023-11-21 17:09 ` [PATCH 12/21] board: dragonboard820c: use LINUX_KERNEL_IMAGE_HEADER Caleb Connolly
2023-11-21 17:09 ` [PATCH 13/21] mach-snapdragon: generalise board support Caleb Connolly
2023-11-21 17:09 ` [PATCH 14/21] mach-snapdragon: dynamic load addresses Caleb Connolly
2023-11-21 19:24   ` Tom Rini
2023-11-21 20:47     ` Caleb Connolly
2023-11-21 17:09 ` [PATCH 15/21] mach-snapdragon: generate fdtfile automatically Caleb Connolly
2023-11-21 17:09 ` [PATCH 16/21] doc: board/qualcomm: document generic targets Caleb Connolly
2023-11-21 17:09 ` [PATCH 17/21] dts: sdm845: import DT from Linux Caleb Connolly
2023-11-21 17:09 ` [PATCH 18/21] dts: msm8916: " Caleb Connolly
2023-11-21 19:21   ` Stephan Gerhold
2023-12-07 19:11     ` Caleb Connolly
2023-12-07 21:37       ` Stephan Gerhold
2023-11-21 17:09 ` [PATCH 19/21] dts: msm8996: " Caleb Connolly
2023-11-21 17:09 ` [PATCH 20/21] dts: qcs404-evb: " Caleb Connolly
2023-11-21 17:09 ` [PATCH 21/21] MAINTAINERS: Qualcomm: add some missing paths Caleb Connolly
2023-11-21 19:31   ` Tom Rini
2023-11-22  6:21 ` [PATCH 00/21] Qualcomm generic board support Sumit Garg
2023-11-22 14:01   ` Tom Rini
2023-11-22 14:14     ` Sumit Garg
2023-11-22 14:27       ` Tom Rini
2023-11-22 16:04         ` Caleb Connolly
2023-11-23  7:04           ` Sumit Garg
2023-11-29 15:34             ` Caleb Connolly
2023-11-29 16:36               ` Neil Armstrong
2023-11-29 17:01                 ` Dennis Gilmore
2023-11-30  7:40                   ` Sumit Garg
2023-11-30  7:32                 ` Sumit Garg
2023-11-30 14:24                   ` Caleb Connolly
2023-11-30 14:35                   ` Tom Rini
2023-12-04  5:32                     ` Sumit Garg
2023-12-04 10:06                       ` ff
2023-12-04 11:00                       ` Daniel Thompson
2023-12-04 13:24                         ` Sumit Garg
2023-12-04 13:33                           ` Krzysztof Kozlowski
2023-12-04 15:01                           ` ff
2023-12-04 14:38                         ` ff
2023-12-04 14:45                           ` Krzysztof Kozlowski
2023-12-04 17:01                       ` Rob Herring
2023-12-05  7:13                         ` Sumit Garg
2023-12-05  7:28                           ` Krzysztof Kozlowski
2023-12-05  9:45                             ` Sumit Garg
2023-12-05 10:09                               ` Krzysztof Kozlowski
2023-12-06  5:05                                 ` Sumit Garg
2023-12-06 20:42                                   ` Rob Herring
2023-12-07  8:08                                     ` ff
2023-12-07 18:51                                       ` Rob Herring
2023-12-07 20:24                                         ` ff
2023-12-07 20:31                                           ` Conor Dooley
2023-12-08  9:39                                             ` ff
2023-12-08 15:12                                               ` Conor Dooley [this message]
2023-12-07 13:37                                     ` Sumit Garg
2023-12-10 18:55                                   ` Tom Rini
2023-12-05 10:36                               ` ff
2023-12-05 12:48                                 ` Daniel Thompson
2023-12-05 15:29                                   ` ff
2023-12-09 22:03                       ` Tom Rini
2023-12-12  5:47                         ` Sumit Garg
2023-12-12 20:21                           ` Rob Herring
2023-12-06 10:44         ` Ilias Apalodimas
2023-12-06 11:50           ` Caleb Connolly
2023-12-10 16:05           ` Tom Rini
2023-12-05  0:52   ` Simon Glass
2023-12-05  7:44     ` Sumit Garg
2023-12-05 10:55       ` Caleb Connolly
2023-12-06  3:53         ` Simon Glass
2023-12-06  3:53       ` Simon Glass
2023-12-06  7:05         ` Sumit Garg
2023-12-06 13:00         ` Caleb Connolly
2023-11-22  7:26 ` Sumit Garg
2023-12-06 10:31 ` Ilias Apalodimas
2023-12-06 11:00   ` Mark Kettenis
2023-12-06 11:38     ` Ilias Apalodimas

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=20231208-reshoot-operation-a36504ba2ed9@spud \
    --to=conor@kernel.org \
    --cc=boot-architecture@lists.linaro.org \
    --cc=caleb.connolly@linaro.org \
    --cc=conor+dt@kernel.org \
    --cc=dsankouski@gmail.com \
    --cc=ff@shokubai.tech \
    --cc=jh80.chung@samsung.com \
    --cc=jorge.ramirez.ortiz@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=lukma@denx.de \
    --cc=marex@denx.de \
    --cc=neil.armstrong@linaro.org \
    --cc=peng.fan@nxp.com \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=rfried.dev@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=stephan@gerhold.net \
    --cc=sumit.garg@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-custodians@lists.denx.de \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.