On 5/20/22 05:38, Slawomir Stepien wrote:
On maj 20, 2022 12:13, Krzysztof Kozlowski wrote:
On 20/05/2022 11:32, Slawomir Stepien wrote:
From: Slawomir Stepien <slawomir.stepien@xxxxxxxxx>
Add binding description for temperature channels. Currently, support for
label and offset is implemented.
Signed-off-by: Slawomir Stepien <slawomir.stepien@xxxxxxxxx>
---
.../bindings/hwmon/national,lm90.yaml | 39 +++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
index 066c02541fcf..9a5aa78d4db1 100644
--- a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
+++ b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml
@@ -62,6 +62,37 @@ required:
additionalProperties: false
+patternProperties:
Which models use this?
This is used in tmp421 model.
The driver does not support tmp421; I assume you mean tmp481.
If we are talking about the temperature offset register, and use my patch
series as base, it would be:
ADM1023, ADM1032, ADT7461, ADT7461A, ADT7481, ADT7482, ADT7483, G781, LM90,
LM99, MAX6680, MAX6681, NCT72, NCT218, NCT214, NCT1008, W83L771, SA56004,
TMP451, TMP461.
I may have missed some.
Guenter