Re: [PATCH v2 1/1] rtc: tps6594: Add power management support

From: Alexandre Belloni
Date: Tue Jun 18 2024 - 11:21:26 EST


On 18/06/2024 11:48:33+0200, Richard GENOUD wrote:
> Le 14/06/2024 à 15:21, Thomas Richard a écrit :
> > > diff --git a/include/linux/mfd/tps6594.h b/include/linux/mfd/tps6594.h
> > > index 3f7c5e23cd4c..85933f1519c4 100644
> > > --- a/include/linux/mfd/tps6594.h
> > > +++ b/include/linux/mfd/tps6594.h
> > > @@ -1011,6 +1011,7 @@ struct tps6594 {
> > > bool use_crc;
> > > struct regmap *regmap;
> > > int irq;
> > > + int irq_rtc;
> >
> > irq_rtc should be stored in driver data.
> I understand your point.
> It may indeed be cleaner to separate the rtc-specific data into a private
> struct.
>
> I'll send a v3 with this modification, and I'll let Alexandre decide which
> he prefers.

My plan is to take v2 as-is


--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com