Re: [PATCH 2/4] reset: simple: add support generic reset-simple device

From: Inochi Amaoto
Date: Thu Feb 13 2025 - 06:30:42 EST


On Thu, Feb 13, 2025 at 10:36:14AM +0100, Krzysztof Kozlowski wrote:
> On Thu, Feb 13, 2025 at 10:08:55AM +0800, Inochi Amaoto wrote:
> > Add support for generic bit reset device.
> >
> > Signed-off-by: Inochi Amaoto <inochiama@xxxxxxxxx>
> > ---
> > drivers/reset/reset-simple.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c
> > index 276067839830..a24f8fcc6a06 100644
> > --- a/drivers/reset/reset-simple.c
> > +++ b/drivers/reset/reset-simple.c
> > @@ -148,6 +148,9 @@ static const struct of_device_id reset_simple_dt_ids[] = {
> > .data = &reset_simple_active_low },
> > { .compatible = "brcm,bcm4908-misc-pcie-reset",
> > .data = &reset_simple_active_low },
> > + { .compatible = "reset-simple-high" },
> > + { .compatible = "reset-simple-low",
> > + .data = &reset_simple_active_low },
>
> So what is the point of the binding?
>

I wanted to add these comptaibles as a base to avoid adding
too many compatible in driver.

Regards,
Inochi