Hi,
On Mon Mar 2, 2026 at 10:15 PM CET, Hugo Villeneuve wrote:
> Hi Frank,
>
> On Mon, 2 Mar 2026 15:54:43 -0500
> Frank Li <[email protected]> wrote:
>
>> On Mon, Mar 02, 2026 at 02:03:44PM -0500, Hugo Villeneuve wrote:
>> > From: Hugo Villeneuve <[email protected]>
>> >
>> > Move SD support to a separate include, since it cannot be used at the
>>
>> s/include/dtsi/
>
> Ok. I will also change it in all the other commit messages.
>
>
>> > same time as the Wifi/BT module.
>>
>> what's relation ship between wifi/bt? you just move sd related part to a
>> dtsi file.
>
> As stated in commit message, the SD card interface cannot be used if
> the Wifi/BT module is in use.
>
> Sd card is not mandatory, for example on our board we do not have it,
> so we need to have it disabled.
My two cents: if SDCard and WiFi/Bt support are the only mutually exclusive
features for this SoM, then how about the following organization:
Three SoM dtsi files:
imx6ul-var-som-common.dtsi
imx6ul-var-som-wifi-bt.dtsi:
#include "imx6ul-var-som-common.dtsi"
imx6ul-var-som-sd.dtsi:
#include "imx6ul-var-som-common.dtsi"
A common concerto dtsi file:
imx6ul-var-som-concerto-common.dtsi
Separate concerto dts files:
imx6ul-var-som-concerto-wifi-bt.dts:
#include "imx6ul-var-som-wifi-bt.dtsi"
#include "imx6ul-var-som-concerto-common.dtsi"
imx6ul-var-som-concerto-sd.dts
#include "imx6ul-var-som-sd.dtsi"
#include "imx6ul-var-som-concerto-common.dtsi"
And possibly the following one to avoid breaking compatibility:
imx6ul-var-som-concerto.dts
#include "imx6ul-var-som-sd.dtsi"
#include "imx6ul-var-som-concerto-common.dtsi"
In any case, the imx6ul-var-som-concerto-common.dtsi should be full-featured
(and thus avoid the imx6ull-var-som-concerto-full.dts file from patch 09/14), if
that's possible?
But I don't know if this follows common practices, and if this is possible, but
I think it's clearer as a user to know if the DTS I will use will support
WiFi/BT _or_ support SDCard by looking at its name.
Of course this is based on the assumption that those two features are the only
mutually exclusive ones.
What do you think?
Antonin