summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/power/supply
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2021-05-26 13:20:36 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-06-04 11:58:22 +0200
commit8bb2314fc22628333d89df83d695ff9a8d2a6eac (patch)
tree270a365fd03253882532a85672f1431f5470e549 /Documentation/devicetree/bindings/power/supply
parent7fbf6b731bca347700e460d94b130f9d734b33e9 (diff)
power: supply: max17040: Do not enforce (incorrect) interrupt trigger type
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 Maxim 14577/77836 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> Acked-by: Iskren Chernev <iskren.chernev@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply')
-rw-r--r--Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml
index de91cf3f058c..f792d06db413 100644
--- a/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max17040.yaml
@@ -89,7 +89,7 @@ examples:
reg = <0x36>;
maxim,alert-low-soc-level = <10>;
interrupt-parent = <&gpio7>;
- interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
+ interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
wakeup-source;
};
};