summaryrefslogtreecommitdiff
path: root/zephyr/dts
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2022-04-05 14:18:40 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-04-05 22:46:31 +0000
commit98e9f59eb5d4ab6a385a8e3438dbcdfa44a27dea (patch)
tree3a5e2e20ab2cdde9a08de658dfaeb43578ebcf21 /zephyr/dts
parent0e81f9208fcf5384c9ac3eecced97a4b513d6d26 (diff)
downloadchrome-ec-98e9f59eb5d4ab6a385a8e3438dbcdfa44a27dea.tar.gz
Zephyr: Add general temp sensor compatible
Add a general temperature sensor compatible string, so we can easily reference all types of temperature sensors with it. BRANCH=None BUG=b:223837802 TEST=zmake testall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: Iba5c0955945d182c33b24064b333c6579dee8394 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3572886 Reviewed-by: Keith Short <keithshort@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr/dts')
-rw-r--r--zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml b/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml
index f1f1dcd41c..43623d37de 100644
--- a/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml
+++ b/zephyr/dts/bindings/temp/cros_ec_temp_sensor.yaml
@@ -7,6 +7,8 @@ description: >
Zero values in degrees K(-273 in degrees C)in thermal thresholds will
be ignored
+compatible: cros-ec,temp-sensor
+
properties:
label:
required: true