Home
last modified time | relevance | path

Searched hist:d4785b46345cc9564f883c94acc4c4de6bbfeea5 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-pcf2127.cdiff d4785b46345cc9564f883c94acc4c4de6bbfeea5 Mon Jan 17 16:57:42 CST 2022 Hugo Villeneuve <hvilleneuve@dimonoff.com> rtc: pcf2127: use IRQ flags obtained from device tree if available

If the interrupt pin of the PCF2127 is routed to the input of a GPIO
expander using the pca953x driver, the later will only accept an IRQ
of type IRQ_TYPE_EDGE_FALLING or IRQ_TYPE_EDGE_RISING, and the IRQ
request will fail.

Therefore, allow the IRQ type to be passed from the device tree data
if available.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220117225742.1252362-1-hugo@hugovil.com