Unverified Commit bc5a847a authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: dt-bindings: realtek,rt5640: Various fixes

Merge series from Jon Hunter <jonathanh@nvidia.com>:

This series includes fixes for the realtek,rt5640 dt-binding to address
a few warnings that are observed when running the CHECK_DTBS=y for some
DTBs that use this codec.
parents 8e29db1b b540b4e1
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
@@ -44,6 +44,14 @@ properties:
      - realtek,rt5640
      - realtek,rt5639

  clocks:
    items:
      - description: phandle and clock specifier for codec MCLK.

  clock-names:
    items:
      - const: mclk

  reg:
    maxItems: 1

@@ -104,7 +112,7 @@ properties:
      - 4 # Use GPIO2 for jack-detect
      - 5 # Use GPIO3 for jack-detect
      - 6 # Use GPIO4 for jack-detect
      - 7 # HDA?
      - 7 # Use HDA header for jack-detect

  realtek,jack-detect-not-inverted:
    description:
@@ -129,7 +137,8 @@ properties:
      - 3 # Scale current by 1.5

  port:
    $ref: /schemas/graph.yaml#/properties/port
    $ref: audio-graph-port.yaml#
    unevaluatedProperties: false

required:
  - compatible