[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <173047639404.1919496.13548454425529763566.b4-ty@kernel.org>
Date: Fri, 01 Nov 2024 15:53:14 +0000
From: Lee Jones <lee@...nel.org>
To: Matti Vaittinen <mazziesaccount@...il.com>,
Matti Vaittinen <mazziesaccount@...il.com>
Cc: Lee Jones <lee@...nel.org>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
linux-kernel@...r.kernel.org, linux-rtc@...r.kernel.org
Subject: Re: (subset) [PATCH] mfd: rtc: bd7xxxx Drop IC name from IRQ
On Thu, 26 Sep 2024 15:01:13 +0300, Matti Vaittinen wrote:
> A few ROHM PMICs have an RTC block which can be controlled by the
> rtc-bd70528 driver. The RTC driver needs the alarm interrupt information
> from the parent MFD driver. The MFD driver provides the interrupt
> information as a set of named interrupts, where the name is of form:
> <PMIC model>-rtc-alm-<x>, where x is an alarm block number.
>
> >From the RTC driver point of view it is irrelevant what the PMIC name
> is. It is sufficient to know this is alarm interrupt for a block X. The
> PMIC model information is carried to RTC via the platform device ID.
> Hence, having the PMIC model in the interrupt name is only making things
> more complex because the RTC driver needs to request differently named
> interrupts on different PMICs, making code unnecessary complicated.
>
> [...]
Applied, thanks!
[1/1] mfd: rtc: bd7xxxx Drop IC name from IRQ
commit: 9b15062cc05dbfec8092f5f08ac734fd29ed7b5a
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists