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:58:06 +0200 [thread overview]
Message-ID: <dde82c6c-ec30-ad28-406d-4bd955c670c0@denx.de> (raw)
In-Reply-To: <c012b356-c935-3536-a3eb-0683f4339dda@st.com>
On 5/6/20 4:55 PM, Alexandre Torgue wrote:
>
>
> On 5/6/20 4:39 PM, Marek Vasut wrote:
>> 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.
>
> Ok but we could choice to build only one (or few) possibilities. I mean
> maybe only mp157 ?
But that one isn't gonna work for e.g. 153 then, would it?
>>>> 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.
>
> I agree
>
>>
>>> 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.
>
> I gonna see how to start discussion on that (maybe thanks to Linaro and
> device tree evolution)
All right.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2020-05-06 14:58 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
2020-05-06 14:55 ` Alexandre Torgue
2020-05-06 14:58 ` Marek Vasut [this message]
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=dde82c6c-ec30-ad28-406d-4bd955c670c0@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).