Commit 02031064 authored by Barnabás Czémán's avatar Barnabás Czémán Committed by Lee Jones
Browse files

dt-bindings: backlight: qcom-wled: Document ovp values for PMI8994

parent b7db7d9c
Loading
Loading
Loading
Loading
+20 −2
Original line number Diff line number Diff line
@@ -98,8 +98,8 @@ properties:
    description: |
      Over-voltage protection limit. This property is for WLED4 only.
    $ref: /schemas/types.yaml#/definitions/uint32
    enum: [ 18100, 19600, 29600, 31100 ]
    default: 29600
    minimum: 17800
    maximum: 31100

  qcom,num-strings:
    description: |
@@ -239,6 +239,24 @@ allOf:
          minimum: 0
          maximum: 4095

  - if:
      properties:
        compatible:
          contains:
            const: qcom,pmi8994-wled

    then:
      properties:
        qcom,ovp-millivolt:
          enum: [ 17800, 19400, 29500, 31000 ]
          default: 29500

    else:
      properties:
        qcom,ovp-millivolt:
          enum: [ 18100, 19600, 29600, 31100 ]
          default: 29600

required:
  - compatible
  - reg