summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorCosmin Tanislav <cosmin.tanislav@analog.com>2022-11-03 15:00:31 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2022-11-23 19:54:00 +0000
commitd449fb5146b9ba93cb72a0676c3da3dd7a1743a9 (patch)
tree002080267d77df67c8a8f705cb82e58d8e182a1d /Documentation
parent4ecee36077698bc5c759571106cd29321a886735 (diff)
downloadlinux-stable-d449fb5146b9ba93cb72a0676c3da3dd7a1743a9.tar.gz
linux-stable-d449fb5146b9ba93cb72a0676c3da3dd7a1743a9.tar.bz2
linux-stable-d449fb5146b9ba93cb72a0676c3da3dd7a1743a9.zip
dt-bindings: iio: temperature: ltc2983: use hex for sensor address
Addresses should be in hex, fix it. Although the driver initially specified 1-20, it can be made free-range since the address is supposed to match reg, onto which we can impose restrictions based on the compatible property value. Signed-off-by: Cosmin Tanislav <cosmin.tanislav@analog.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20221103130041.2153295-4-demonsingur@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
index 82667adc85b1..29f6fa5e2529 100644
--- a/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
+++ b/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml
@@ -55,7 +55,7 @@ properties:
const: 0
patternProperties:
- "@([1-9]|1[0-9]|20)$":
+ "@([0-9a-f]+)$":
type: object
properties: