On 09/10/2022 16:38, Geert Uytterhoeven wrote: >> >> So looks like either we need to use compatible "renesas,rz-mtu3-counter" and >> "renesas,rz-mtu3-pwm" if these functionalities to be in respective subsystem tree >> >> or >> >> squash counter and pwm functionalities to MFD subsystem. >> >> Please share your views on this. Is there any better way to handle this? > > I think what Rob means is that you can have a single driver that binds > against "renesas,rz-mtu3", and registers both the counter and the pwm > functionalities. Just like the clock driver, which registers clock, > reset, and PM Domain functionalities. I.e. no mfd would be involved > anymore. > You can still split the driver functionality across multiple source > files (core, counter, pwm). Yes. Bindings design is independent of driver design (e.g. still MFD framework). Best regards, Krzysztof