On Thu, Jan 14, 2021 at 11:13 AM Yann GAUTIER <yann.gautier@xxxxxxxxxxx> wrote: > On 1/13/21 3:45 PM, Marek Vasut wrote: > > On 1/13/21 3:21 PM, Yann GAUTIER wrote: > >> On 1/13/21 12:52 PM, Marek Vasut wrote: > >> I also wonder if this HW detection should be done in kernel, or if it > >> should be done in Bootloader. But it may be more complex, to add the > >> st,use_ckin in kernel DT if bootloader detects this translator. > > > > Lets not attempt to hide inobvious functionality in bootloaders, the > > kernel should be independent of bootloader where possible. And here it > > is clearly and easily possible. > > OK for this part, I understand it will be better not to hide this in > bootloader. We all agree. I am against bootloaderism, the tendency to toss all complex hardware detection over the wall and call it a bootloader problem. Let's proceed with Marek's solution. Yours, Linus Walleij