hwmon: (ina238) Support active-high alert polarity
authorGuenter Roeck <linux@roeck-us.net>
Mon, 1 Sep 2025 15:37:15 +0000 (08:37 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 7 Sep 2025 23:34:55 +0000 (16:34 -0700)
commit807e315bf9509f4d57eca687c9732ce16c3ef843
tree2acf547f8cd5bbb495e8ce5a8569e90859699012
parentcc67b875c9e40ef7628219a37447c477d5324dc1
hwmon: (ina238) Support active-high alert polarity

All chips supported by this driver support configurable active-high
alert priority. This is already documented in the devicetree description.
Add support for it to the driver.

Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Tested-by: Chris Packham <chris.packham@alliedtelesis.co.nz> # INA780
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ina238.c