lkml.org 
[lkml]   [2023]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 2/2] Add GPIO support for Realtek DHC(Digital Home Center) RTD SoCs.
Hi,

> I have looked into regmap-irq, it appears that using the default irq
> thread_fn(regmap_irq_thread) is required. However, due to hardware
> limitation,
> we need to inspect the IRQ_TYPE to determine whether to manage the irq
> within
> the irq handler. I think our irq portion does not perfectly fit the
> regmap-irq.
> Moreover, it seems that the gpio-regmap.c file needs to be modified if
> the GPIO driver
> requires debounce settings. I think the gpio-regmap may not be
> appropriate for our driver.
> Do you have any suggestions?

Can't say anything regarding the interrupt handling but adding literally
one line to gpio-regmap shouldn't be a reason not to use it.

-michael

\
 
 \ /
  Last update: 2023-12-18 09:58    [W:0.053 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site