summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2021-05-26 13:20:35 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2021-06-04 11:58:22 +0200
commit7fbf6b731bca347700e460d94b130f9d734b33e9 (patch)
treeccdea4e431726913ca2f60b779d915bb2384a35d /tools/perf/scripts/python/export-to-postgresql.py
parentb49a81d0fd021a1f0c8660fa40ad9984d9d1f5b7 (diff)
power: supply: max17042: 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 17047/77693 datasheets describe the interrupt line as active low with a requirement of acknowledge from the CPU therefore the edge falling is not correct. The interrupt line is shared between PMIC and RTC driver, so using level sensitive interrupt is here especially important to avoid races. With an edge configuration in case if first PMIC signals interrupt followed shortly after by the RTC, the interrupt might not be yet cleared/acked thus the second one would not be noticed. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions