[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6479a8d84052b326ffeb5609959aaf3a1aac9ff8.camel@linaro.org>
Date: Fri, 14 Nov 2025 11:55:34 +0000
From: André Draszik <andre.draszik@...aro.org>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>, Kaustabh Chakraborty
<kauschluss@...root.org>
Cc: Lee Jones <lee@...nel.org>, Pavel Machek <pavel@...nel.org>, Rob Herring
<robh@...nel.org>, Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, MyungJoo Ham <myungjoo.ham@...sung.com>, Chanwoo
Choi <cw00.choi@...sung.com>, Sebastian Reichel <sre@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>, Jonathan Corbet <corbet@....net>,
linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
linux-samsung-soc@...r.kernel.org, linux-rtc@...r.kernel.org,
linux-doc@...r.kernel.org
Subject: Re: [PATCH 06/13] mfd: sec-irq: add support for creating multiple
IRQ chips
On Fri, 2025-11-14 at 08:50 +0100, Alexandre Belloni wrote:
> On 14/11/2025 00:35:07+0530, Kaustabh Chakraborty wrote:
> > The current state of the driver only allows creating only one IRQ chip
> > per PMIC. On some PMICs, such as Samsung's S2MU005, there are multiple
> > interrupt blocks, for which the current implementation stands insufficient.
> >
> > Add support for creating multiple IRQ chips for a PMIC. Every IRQ chip is
> > given it's own index, which is used by sub-device drivers to request IRQs.
> >
> > A macro is defined which states the maximum number of chips supported.
> > It's set to 1 as currently, no PMIC requires more than one IRQ chip. The
> > value must be changed accordingly on adding new PMICs requiring multiple
> > IRQ chips.
> >
> > Moreover, adjust the s5m RTC driver to initialize IRQs with the
> > appropriate IRQ chip index.
> >
> > Signed-off-by: Kaustabh Chakraborty <kauschluss@...root.org>
> Acked-by: Alexandre Belloni <alexandre.belloni@...tlin.com>
>
> > ---
> > drivers/mfd/sec-irq.c | 163 +++++++++++++++++++++++----------------
> > drivers/rtc/rtc-s5m.c | 15 +++-
> > include/linux/mfd/samsung/core.h | 5 +-
> > include/linux/mfd/samsung/irq.h | 14 ++++
> > 4 files changed, 127 insertions(+), 70 deletions(-)
Your patch reminded me to finally send
https://lore.kernel.org/all/20251114-s5m-alarm-v1-0-c9b3bebae65f@linaro.org/
If applied first, you wouldn't need to touch rtc-s5m.c I believe.
Equally, I can rebase mine on top of yours - no strong feelings.
Cheers,
Andre'
Powered by blists - more mailing lists