Commit 3a07f6d7 authored by Fredrik Gihl's avatar Fredrik Gihl Committed by Benjamin Cabé
Browse files

driver: sensor: tmp116: adjust yaml to render nicer in documentation

Adjust detail description of ODR to contain documentation about
valid values.

Signed-off-by: default avatarFredrik Gihl <fgihl@hotmail.com>
parent 904089dd
Loading
Loading
Loading
Loading
+2 −1
Changes for dts/bindings/sensor/ti,tmp116.yaml: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -13,10 +13,11 @@ properties:
  odr:
    type: int
    default: 0x200
    enum: [0, 0x80, 0x100, 0x180, 0x200, 0x280, 0x300, 0x380]
    description: |
      Specify the default temperature output data rate in milliseconds (ms).
      Default is power-up configuration.
    enum:

      - 0     # TMP116_DT_ODR_15_5_MS
      - 0x80  # TMP116_DT_ODR_125_MS
      - 0x100 # TMP116_DT_ODR_250_MS