linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: Alexandre Torgue <alexandre.torgue@st.com>,
	linux-arm-kernel@lists.infradead.org
Cc: Patrick Delaunay <patrick.delaunay@st.com>,
	linux-stm32@st-md-mailman.stormreply.com,
	Patrice Chotard <patrice.chotard@st.com>,
	Maxime Coquelin <mcoquelin.stm32@gmail.com>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: Re: [PATCH 01/12] ARM: dts: stm32: Add alternate pinmux for I2C2 pins
Date: Wed, 6 May 2020 16:39:01 +0200	[thread overview]
Message-ID: <6dc6b79f-2a20-3899-e42f-eabaeb33a829@denx.de> (raw)
In-Reply-To: <b100645c-32ac-325d-5838-0fab2c93df22@st.com>

On 5/6/20 4:26 PM, Alexandre Torgue wrote:
> 
> 
> 
>> All right, thanks.
>>
>> btw I had this internal discussion now about handling the combinatorial
>> explosion of board DTs here. If we support them all, by the end of the
>> lifespan of these devices, we end up with:
>>
>> STM32MP15{1,3,7}{a,c,d,f} SoM rev. {0..7}00 on baseboard rev. {0..7}00.
>>
>> There won't be every SoM and baseboard revision combination all right.
>> But even the amount of SoM options gives me 12 DTs. That is not a low
>> number. Does ST have some plan to handle such situation ?
> 
> Yes I have the same point in mind. How to maintain all boards ? Should
> we refuse some boards and only keep one as example ?

But which ones do you want to drop? The pdk2 is a devkit , so you can
put in any SoM option, that's the problem.

>> I can imagine that U-Boot can patch the DT and enable/disable
>> functionality , which could handle the {a,c,d,f} options and reduce the
>> amount of DTs. It could possibly also handle the {1,3,7} options.
>>
> 
> It is something I discussed with Kevin Hilman at ELCE and sometime with
> Rob on IIRc. We could use u-boot to handle differences between SoC, and
> boards. Technically it's possible but the main issue doing that is,  you
> will hide some updates in your bootloader and then your dtb used by
> kernel will not reflect your dts file. It could be confused for
> customers and users.

Yes.

>> Any other ideas ?
> 
> What is for you the main issue ? the number of files to add or how to
> maintain all those files ?

The number. Maintaining them is not that much of a problem.

> If it is the number of files to add, we can think about several ways:
> 
> 1-As mentioned above, to only keep kind of reference platforms
> 
> 2-Have vendor directories in arch/arm/boot/dts (but it's another story
> to make it accepted)

Maybe that's something we should consider for arm32, but that's a
different discussion altogether.

> 3-Or maybe use DTBO to overwrite some configuration.
> 
> If the concern is about how to maintain, maybe I'm wrong but I think
> that with a good split and factorization we could minimize support.
> 
> Currently I only those things in mind but nothing really mature.

I hope this patchset does the split right, it's the number.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-05-06 14:39 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29 16:37 [PATCH 01/12] ARM: dts: stm32: Add alternate pinmux for I2C2 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 02/12] ARM: dts: stm32: Repair I2C2 operation on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 03/12] ARM: dts: stm32: Add alternate pinmux for FDCAN1 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 04/12] ARM: dts: stm32: Add bindings for FDCAN1 on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 05/12] ARM: dts: stm32: Add alternate pinmux for FDCAN2 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 06/12] ARM: dts: stm32: Add bindings for FDCAN2 on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 07/12] ARM: dts: stm32: Add alternate pinmux for ADC pins Marek Vasut
2020-04-29 16:37 ` [PATCH 08/12] ARM: dts: stm32: Add bindings for ADC on AV96 Marek Vasut
2020-04-29 16:37 ` [PATCH 09/12] ARM: dts: stm32: Add alternate pinmux for SPI2 pins Marek Vasut
2020-04-29 16:37 ` [PATCH 10/12] ARM: dts: stm32: Add bindings for SPI2 on AV96 Marek Vasut
2020-05-07 12:53   ` Alexandre Torgue
2020-05-07 12:57     ` Marek Vasut
2020-04-29 16:37 ` [PATCH 11/12] ARM: dts: stm32: Split Avenger96 into DHCOR SoM and Avenger96 board Marek Vasut
2020-04-29 16:37 ` [PATCH 12/12] ARM: dts: stm32: Add DTs for STM32MP15x variants of the DHCOR SOM and AV96 Marek Vasut
2020-05-07 15:26   ` Manivannan Sadhasivam
2020-05-07 15:33     ` Marek Vasut
2020-05-07 16:05       ` Manivannan Sadhasivam
2020-05-07 16:28         ` Marek Vasut
2020-05-06  7:46 ` [PATCH 01/12] ARM: dts: stm32: Add alternate pinmux for I2C2 pins Alexandre Torgue
2020-05-06 13:37   ` Marek Vasut
2020-05-06 14:26     ` Alexandre Torgue
2020-05-06 14:39       ` Marek Vasut [this message]
2020-05-06 14:55         ` Alexandre Torgue
2020-05-06 14:58           ` Marek Vasut
2020-05-06 15:15             ` Alexandre Torgue
2020-05-06 15:27               ` Marek Vasut

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=6dc6b79f-2a20-3899-e42f-eabaeb33a829@denx.de \
    --to=marex@denx.de \
    --cc=alexandre.torgue@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-stm32@st-md-mailman.stormreply.com \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=mcoquelin.stm32@gmail.com \
    --cc=patrice.chotard@st.com \
    --cc=patrick.delaunay@st.com \
    /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).