aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorAmna Waseem <[email protected]>2024-06-11 11:36:26 +0200
committerGuenter Roeck <[email protected]>2024-06-12 07:15:09 -0700
commitec5d234f191a3884e974fcb77694e83e984ffc68 (patch)
tree80302af6e1aa69c84c04c17d75a256d924cdfd56 /tools/perf/scripts/python/gecko.py
parent94e33109f9a798fb2fc76525b59317912bf02c29 (diff)
hwmon: (ina2xx) Add device tree support to pass alert polarity
The INA230 has an Alert pin which is asserted when the alert function selected in the Mask/Enable register exceeds the value programmed into the Alert Limit register. Assertion is based on the Alert Polarity Bit (APOL, bit 1 of the Mask/Enable register). It is default set to value 0 i.e Normal (active-low open collector). However, hardware can be designed in such a way that expects Alert pin to become active high if a user-defined threshold in Alert limit register has been exceeded. This patch adds a way to pass alert polarity value to the driver via device tree. Signed-off-by: Amna Waseem <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions