Hi Fabio, On Sat, Mar 27, 2021 at 04:14:46PM -0300, Fabio Estevam wrote: > Hi Dmitry, > > On Tue, Mar 16, 2021 at 10:36 AM Fabio Estevam <festevam@xxxxxxxxx> wrote: > > > > i.MX has been converted to a DT-only platform, so make the > > adjustments to the driver to convert it to a DT-only driver. > > > > Signed-off-by: Fabio Estevam <festevam@xxxxxxxxx> > > --- > > Changes since v1: > > - Remove dev_get_platdata() and the pdev->dev.of_node check (Dmitry). > > Does v2 look good? Sorry, I am still confused why we need the OF dependency given that the driver can be compiled without CONFIG_OF (of_device_id is always defined) and, as far as I understand, while entire ARCH_MXC is not selecting OF, all real users are converted to OF. I guess if we really need this OF dependency we can make it: depends on (ARCH_MXC && OF) || COMPILE_TEST Please let me know. Thanks. -- Dmitry