On 11/10/2022 16:35, Biju Das wrote: >>>> >>>> So no, here and in other files - don't put subsystem specific code >>>> like PWM or timer into MFD. >>> >>> Where should do we put, if there is single driver to be bind against >>> "renesas,rz-mtu3" and register functionalities for pwm and counter?? >> >> Again - how binding is related to this problem? If you have separate >> drivers, e.g. counter, timer and PWM, all go to their respective >> subsystems. Counter goes to counter, timer to timer, PWM to pwm. > > How do you instantiate these drivers with a single compatible "renesas,rz-mtu3"? > If it is separate drivers. > With MFD framework and mfd_cell, just like many, many other drivers. Best regards, Krzysztof