* [PATCH v2 1/1] irqchip: stm32-exti: add domain translate function
@ 2019-01-11 17:54 Loic Pallardy
2019-01-16 11:15 ` Alexandre Torgue
0 siblings, 1 reply; 2+ messages in thread
From: Loic Pallardy @ 2019-01-11 17:54 UTC (permalink / raw)
To: tglx, jason, marc.zyngier, mcoquelin.stm32, alexandre.torgue
Cc: linux-kernel, linux-stm32, linux-arm-kernel, Loic Pallardy
Domain translate function is needed to recover irq
configuration parameters from DT node
Fixes: 927abfc4461e ("irqchip/stm32: Add stm32mp1 support with hierarchy domain")
Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
---
Changes from v2:
- Use irq_domain_xlate_twocell helper
- Add Fixes: tag in commit message
---
drivers/irqchip/irq-stm32-exti.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c
index 6edfd4bfa169..a93296b9b45d 100644
--- a/drivers/irqchip/irq-stm32-exti.c
+++ b/drivers/irqchip/irq-stm32-exti.c
@@ -822,6 +822,7 @@ static int __init stm32_exti_init(const struct stm32_exti_drv_data *drv_data,
static const struct irq_domain_ops stm32_exti_h_domain_ops = {
.alloc = stm32_exti_h_domain_alloc,
.free = irq_domain_free_irqs_common,
+ .xlate = irq_domain_xlate_twocell,
};
static int
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 1/1] irqchip: stm32-exti: add domain translate function
2019-01-11 17:54 [PATCH v2 1/1] irqchip: stm32-exti: add domain translate function Loic Pallardy
@ 2019-01-16 11:15 ` Alexandre Torgue
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Torgue @ 2019-01-16 11:15 UTC (permalink / raw)
To: Loic Pallardy, tglx, jason, marc.zyngier, mcoquelin.stm32
Cc: linux-kernel, linux-stm32, linux-arm-kernel
Hi Loic
On 1/11/19 6:54 PM, Loic Pallardy wrote:
> Domain translate function is needed to recover irq
> configuration parameters from DT node
>
> Fixes: 927abfc4461e ("irqchip/stm32: Add stm32mp1 support with hierarchy domain")
>
> Signed-off-by: Loic Pallardy <loic.pallardy@st.com>
> ---
> Changes from v2:
> - Use irq_domain_xlate_twocell helper
> - Add Fixes: tag in commit message
> ---
> drivers/irqchip/irq-stm32-exti.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c
> index 6edfd4bfa169..a93296b9b45d 100644
> --- a/drivers/irqchip/irq-stm32-exti.c
> +++ b/drivers/irqchip/irq-stm32-exti.c
> @@ -822,6 +822,7 @@ static int __init stm32_exti_init(const struct stm32_exti_drv_data *drv_data,
> static const struct irq_domain_ops stm32_exti_h_domain_ops = {
> .alloc = stm32_exti_h_domain_alloc,
> .free = irq_domain_free_irqs_common,
> + .xlate = irq_domain_xlate_twocell,
> };
>
> static int
>
Acked-by: Alexandre TORGUE <alexandre.torgue@st.com>
regards
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-16 11:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 17:54 [PATCH v2 1/1] irqchip: stm32-exti: add domain translate function Loic Pallardy
2019-01-16 11:15 ` Alexandre Torgue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).