Re: [PATCH 1/2] dt-bindings: reset: introduce toshiba,tc9564-reset.yaml

From: Conor Dooley

Date: Fri Oct 23 2026 - 14:05:10 EST


On Thu, Oct 22, 2026 at 02:05:12PM -0500, Alex Elder wrote:
> On 10/22/26 1:34 PM, Conor Dooley wrote:
> > On Wed, Oct 21, 2026 at 02:50:41PM -0500, Alex Elder wrote:
>
> This syscon driver and "sg2044-topsys.c" are awfully trivial,
> and they seem like they could be wrapped in something along
> the lines of "simple-mfd-i2c.c".

Yea, I guess there could be some sort of trivial driver that covers
these syscons with match data that contains the mfd cells and is
effectively just a probe function that looks like:
static int _probe(struct platform_device *pdev)
{

ret = devm_mfd_add_devices(dev, PLATFORM_DEVID_NONE,
match_data.devs,
ARRAY_SIZE(match_data.devs), NULL,
0, NULL);
if (ret)
return ret;

return devm_of_platform_populate(dev);
}

The devm_of_platform_populate() you don't need, but there's other
syscons that could use this that contain subnodes too so might as well
accommodate them.

Attachment: signature.asc
Description: PGP signature