Thread (20 messages) 20 messages, 2 authors, 2020-12-29

Re: [PATCH 9/9] mfd: sec-irq: Do not enforce (incorrect) interrupt trigger type

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2020-12-18 14:23:48
Also in: linux-arm-kernel, linux-samsung-soc, lkml

On Fri, Dec 18, 2020 at 02:25:39PM +0100, Marek Szyprowski wrote:
On 10.12.2020 22:29, Krzysztof Kozlowski wrote:
quoted
Interrupt line can be configured on different hardware in different way,
even inverted.  Therefore driver should not enforce specific trigger
type - edge falling - but instead rely on Devicetree to configure it.

The Samsung PMIC drivers are used only on Devicetree boards.

Additionally, the PMIC datasheets describe the interrupt line as active
low with a requirement of acknowledge from the CPU therefore the edge
falling is not correct.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>

It looks that this together with DTS change fixes RTC alarm failure that 
I've observed from time to time on TM2e board!
Great! I'll add this to the commit msg.

Thanks for testing.

Best regards,
Krzysztof

quoted
---

This patch should wait till DTS changes are merged, as it relies on
proper Devicetree.
---
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help