]> git.hungrycats.org Git - linux/commit
dt-bindings: hwmon: lm75: Add ti,alert-polarity-active-high property
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Mon, 4 May 2026 15:10:19 +0000 (17:10 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 9 Jun 2026 15:22:59 +0000 (08:22 -0700)
commit01dd3f682d86bcddf51e22255f2cabee66885080
treeee13b091b8836731a848eec7f6ad50b212685205
parent7c13c7517743e8eb7096d2f1575369ae7b062835
dt-bindings: hwmon: lm75: Add ti,alert-polarity-active-high property

The LM75 alert pin is asserted based on the value of alert polarity bit
of the configuration register. The device/driver default is 0 which means
alert pin is configured to be active-low. A value of 1 maps to inverted
(active-high).

Add an optional boolean property "ti,alert-polarity-active-high" to
override the alert pin polarity. When absent, the default active-low
polarity is kept.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20260504151020.462342-2-markus.stockhausen@gmx.de
[groeck: Shorten description line length]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/lm75.yaml