Re: [PATCH v2 06/13] soc: synaptics: add SL2610 system controller support
From: Krzysztof Kozlowski
Date: Tue Nov 24 2026 - 04:59:16 EST
On 23/11/2026 13:34, Jisheng Zhang wrote:
> On Mon, Nov 23, 2026 at 11:31:42AM +0100, Krzysztof Kozlowski wrote:
>> On Sun, Nov 15, 2026 at 06:23:45PM +0800, Jisheng Zhang wrote:
>>
>>> +static const struct sl2610_syscon_data sl2610_mcu_data = {
>>> + .cells = sl2610_mcu_cells,
>>> + .num_cells = ARRAY_SIZE(sl2610_mcu_cells),
>>> +};
>>> +
>>> +static const struct sl2610_syscon_data sl2610_avio_data = {
>>> + .cells = sl2610_avio_cells,
>>> + .num_cells = ARRAY_SIZE(sl2610_avio_cells),
>>> +};
>>> +
>>> +static const struct sl2610_syscon_data sl2610_cpu_data = {
>>> + .cells = sl2610_cpu_cells,
>>> + .num_cells = ARRAY_SIZE(sl2610_cpu_cells),
>>
>> That's just MFD driver, so should be in MFD, no? Why placing standard
>> MFD code - nothing soc specific - in the soc directory?
>
> I'm not sure which is better. But FWICT, sophgo, samsung, microchip put
> mfd drivers in soc directory. So I guess the reason behind this is these
> drivers are soc specific?
Samsung has no MFD driver in SoC. Samsung has FULL SoC driver there.
Others, dunno, but just like you they could be making random decisions.
That's MFD driver. MFD drivers go to mfd.
Best regards,
Krzysztof