On Wed, Feb 19, 2025 at 05:13:15PM +0200, Svyatoslav Ryhel wrote: > ср, 19 лют. 2025 р. о 17:07 Andy Shevchenko > <andriy.shevche...@linux.intel.com> пише: > > On Wed, Feb 19, 2025 at 04:36:38PM +0200, Svyatoslav Ryhel wrote: > > > ср, 19 лют. 2025 р. о 16:27 Andy Shevchenko > > > <andriy.shevche...@linux.intel.com> пише:
... > > > MFD part is removed since MFD cells binding is unconditional, while > > > the device supports any amount of children grater then one. For > > > example, my device uses only backlight at bank A, while all other > > > subdevices are not present and used. This patch switches to dynamic > > > bind of children. > > > > MFD does the same. Please, take your time and get familiar with how MFD > > works. > > It does not. I have tried. If mfd cell binding is missing, driver will > complain and fail. I really don't know what exactly is going on here, you can check it later, but I'm 100% sure that MFD works for only driver that are present. What you are describing is how component framework is designed. To proove my words you can check drivers/mfd/intel_soc_pmic_*.c and find listed cells that never had a driver in the Linux kernel. They are just placeholders. ... > > -- > > With Best Regards, > > Andy Shevchenko Please, when answering, remove unrelated context from the replies. ... > Let this driver rot for now, I might return to it. At some point Up to you. But thanks for trying! -- With Best Regards, Andy Shevchenko