Hello Fabio,

On Tue Nov 24, 2026 at 12:18 PM CET, Fabio Estevam wrote:
> Hi Luca,
>
> On Tue, Nov 24, 2026 at 6:36 AM Luca Ceresoli <[email protected]> 
> wrote:
>
>> I'm OK with the change (except a small nit, see below), but I have a
>> general question: is there any valid use case for removing the lcdif, other
>> than testing?
>
> Yes, the motivation for removing the lcdif was to help decrease power
> consumption on an i.MX8MP board.

Uhm, not sure this is the right way to save power... This driver implements
RPM, so in theory it should not consume any resource except allocated
memory when probed but unused.

Did you measure to power consumption in the unbound VS probed-but-unused
cases?

>> No need to use the @ret temporary variable, just replace it with:
>>
>>                 if (IS_ERR(encoder))
>>                         return dev_err_probe(dev, PTR_ERR(encoder),
>>                                              "Failed to initialize encoder 
>> for endpoint%u\n",
>>                                              of_ep.id);
>>
>> With that done you can send v3 and add:
>> +Reviewed-by: Luca Ceresoli <[email protected]>
>> +Tested-by: Luca Ceresoli <[email protected]>
>
> Thanks for the suggestion. I'll send v3.

Anyway the v3 patch makes sense, added it to my TODO-apply list. Thanks!

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Reply via email to