Skip to content

Commit bc5a847

Browse files
committed
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.
2 parents 8e29db1 + b540b4e commit bc5a847

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Documentation/devicetree/bindings/sound/realtek,rt5640.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ properties:
4444
- realtek,rt5640
4545
- realtek,rt5639
4646

47+
clocks:
48+
items:
49+
- description: phandle and clock specifier for codec MCLK.
50+
51+
clock-names:
52+
items:
53+
- const: mclk
54+
4755
reg:
4856
maxItems: 1
4957

@@ -104,7 +112,7 @@ properties:
104112
- 4 # Use GPIO2 for jack-detect
105113
- 5 # Use GPIO3 for jack-detect
106114
- 6 # Use GPIO4 for jack-detect
107-
- 7 # HDA?
115+
- 7 # Use HDA header for jack-detect
108116

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

131139
port:
132-
$ref: /schemas/graph.yaml#/properties/port
140+
$ref: audio-graph-port.yaml#
141+
unevaluatedProperties: false
133142

134143
required:
135144
- compatible

0 commit comments

Comments
 (0)