From: Markus Stockhausen Date: Mon, 4 May 2026 15:10:19 +0000 (+0200) Subject: dt-bindings: hwmon: lm75: Add ti,alert-polarity-active-high property X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=01dd3f682d86bcddf51e22255f2cabee66885080;p=thirdparty%2Flinux.git 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 Acked-by: Conor Dooley Link: https://lore.kernel.org/r/20260504151020.462342-2-markus.stockhausen@gmx.de [groeck: Shorten description line length] Signed-off-by: Guenter Roeck --- diff --git a/Documentation/devicetree/bindings/hwmon/lm75.yaml b/Documentation/devicetree/bindings/hwmon/lm75.yaml index 0b9fda81e3ec5..b48bf3fd721fe 100644 --- a/Documentation/devicetree/bindings/hwmon/lm75.yaml +++ b/Documentation/devicetree/bindings/hwmon/lm75.yaml @@ -54,6 +54,13 @@ properties: interrupts: maxItems: 1 + ti,alert-polarity-active-high: + description: Alert pin is asserted based on the value of alert polarity + bit of configuration register. Default value is normal (0 which maps to + active-low). The other value is inverted (1 which maps to active-high). + Specify this property to set the alert polarity to active-high. + $ref: /schemas/types.yaml#/definitions/flag + required: - compatible - reg