AN7583 has three temperature sensors behind the chip SCU: bandgap, GbE
and CPU. Allow one cell to select the sensor. Zero cells stay valid and
refer to the bandgap sensor.
Signed-off-by: Vitaliy Sochnev <redacted>
---
.../devicetree/bindings/arm/airoha,en7581-chip-scu.yaml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml b/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml
index cc564dc7b414..da159b7572f3 100644
--- a/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml
+++ b/Documentation/devicetree/bindings/arm/airoha,en7581-chip-scu.yaml
@@ -26,7 +26,10 @@ properties:
maxItems: 1
'#thermal-sensor-cells':
- const: 0
+ description:
+ 0 refers to the bandgap sensor. 1 selects the sensor with one cell,
+ 0 bandgap, 1 GbE, 2 CPU.
+ enum: [0, 1]
required:
- compatible--
2.55.0