Commit 91cf4559 authored by Derek Fang's avatar Derek Fang Committed by Mark Brown

ASoC: dt-bindings: rt5682s: fix the device-tree schema errors

Fix the device-tree schema errors that be reported by using 'make
dt_binding_check'.
Signed-off-by: default avatarDerek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20210929130406.24325-1-derek.fang@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 853cb0be
...@@ -29,6 +29,8 @@ properties: ...@@ -29,6 +29,8 @@ properties:
- 0 # dmic1 data is not used - 0 # dmic1 data is not used
- 1 # using GPIO2 pin as dmic1 data pin - 1 # using GPIO2 pin as dmic1 data pin
- 2 # using GPIO5 pin as dmic1 data pin - 2 # using GPIO5 pin as dmic1 data pin
description: |
Specify which GPIO pin be used as DMIC1 data pin.
realtek,dmic1-clk-pin: realtek,dmic1-clk-pin:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
...@@ -36,12 +38,16 @@ properties: ...@@ -36,12 +38,16 @@ properties:
- 0 # dmic1 clk is not used - 0 # dmic1 clk is not used
- 1 # using GPIO1 pin as dmic1 clock pin - 1 # using GPIO1 pin as dmic1 clock pin
- 2 # using GPIO3 pin as dmic1 clock pin - 2 # using GPIO3 pin as dmic1 clock pin
description: |
Specify which GPIO pin be used as DMIC1 clk pin.
realtek,jd-src: realtek,jd-src:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
enum: enum:
- 0 # No JD is used - 0 # No JD is used
- 1 # using JD1 as JD source - 1 # using JD1 as JD source
description: |
Specify which JD source be used.
realtek,ldo1-en-gpios: realtek,ldo1-en-gpios:
description: | description: |
...@@ -72,9 +78,9 @@ properties: ...@@ -72,9 +78,9 @@ properties:
const: 1 const: 1
clock-output-names: clock-output-names:
items: minItems: 2
- description: Name given for DAI word clock output. maxItems: 2
- description: Name given for DAI bit clock output. description: Name given for DAI word clock and bit clock outputs.
additionalProperties: false additionalProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment