Commit 0c5f8ca4 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Mark Brown

ASoC: samsung-i2s: Add missing properties

Usage of "unevaluatedProperties: false" is not correct as it suppresses
warnings about all undocumented properties.  Instead, add all missing
properties.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20200903203250.19830-2-krzk@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6997e462
...@@ -41,6 +41,12 @@ properties: ...@@ -41,6 +41,12 @@ properties:
- samsung,exynos7-i2s - samsung,exynos7-i2s
- samsung,exynos7-i2s1 - samsung,exynos7-i2s1
'#address-cells':
const: 1
'#size-cells':
const: 0
reg: reg:
maxItems: 1 maxItems: 1
...@@ -58,6 +64,9 @@ properties: ...@@ -58,6 +64,9 @@ properties:
- const: rx - const: rx
- const: tx-sec - const: tx-sec
assigned-clock-parents: true
assigned-clocks: true
clocks: clocks:
minItems: 1 minItems: 1
maxItems: 3 maxItems: 3
...@@ -92,6 +101,9 @@ properties: ...@@ -92,6 +101,9 @@ properties:
- const: i2s_cdclk2 - const: i2s_cdclk2
description: Names of the CDCLK I2S output clocks. description: Names of the CDCLK I2S output clocks.
interrupts:
maxItems: 1
samsung,idma-addr: samsung,idma-addr:
$ref: /schemas/types.yaml#/definitions/uint32 $ref: /schemas/types.yaml#/definitions/uint32
description: | description: |
...@@ -104,6 +116,9 @@ properties: ...@@ -104,6 +116,9 @@ properties:
pinctrl-names: pinctrl-names:
const: default const: default
power-domains:
maxItems: 1
"#sound-dai-cells": "#sound-dai-cells":
const: 1 const: 1
...@@ -115,7 +130,7 @@ required: ...@@ -115,7 +130,7 @@ required:
- clocks - clocks
- clock-names - clock-names
unevaluatedProperties: false additionalProperties: false
examples: examples:
- | - |
......
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