mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 01:53:29 +02:00
ARM: dts: qcom: msm8974-lge-nexus5: correct fuel gauge interrupt trigger level
The Maxim fuel gauge datasheets describe the interrupt line as active
low with a requirement of acknowledge from the CPU. The falling edge
interrupt will mostly work but it's not correct.
Fixes: 45dfa741df ("ARM: dts: qcom: msm8974-lge-nexus5: Add fuel gauge")
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Iskren Chernev <iskren.chernev@gmail.com>
Link: https://lore.kernel.org/r/20210303182816.137255-1-krzk@kernel.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
73c9729f0f
commit
9d816b423d
|
|
@ -579,7 +579,7 @@ fuelgauge: max17048@36 {
|
|||
maxim,rcomp = /bits/ 8 <0x4d>;
|
||||
|
||||
interrupt-parent = <&msmgpio>;
|
||||
interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
|
||||
interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&fuelgauge_pin>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user