2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00

dt-bindings: asoc: adau7118: Cleanup

This changes are in accordance with the review done to this bindings.
This is a follow-up patch to 969d49b2cd.

Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20191021140816.262401-2-nuno.sa@analog.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Nuno Sá 2019-10-21 16:08:15 +02:00 committed by Mark Brown
parent 2cc3cd5fdc
commit b5c2e97e08
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -26,13 +26,11 @@ properties:
"#sound-dai-cells":
const: 0
IOVDD-supply:
iovdd-supply:
description: Digital Input/Output Power Supply.
$ref: "/schemas/types.yaml#/definitions/phandle"
DVDD-supply:
dvdd-supply:
description: Internal Core Digital Power Supply.
$ref: "/schemas/types.yaml#/definitions/phandle"
adi,decimation-ratio:
description: |
@ -58,23 +56,21 @@ properties:
required:
- "#sound-dai-cells"
- compatible
- IOVDD-supply
- DVDD-supply
- iovdd-supply
- dvdd-supply
examples:
- |
i2c0 {
i2c {
/* example with i2c support */
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
adau7118_codec: adau7118-codec@14 {
adau7118_codec: audio-codec@14 {
compatible = "adi,adau7118";
reg = <14>;
#sound-dai-cells = <0>;
status = "okay";
IOVDD-supply = <&supply>;
DVDD-supply = <&supply>;
iovdd-supply = <&supply>;
dvdd-supply = <&supply>;
adi,pdm-clk-map = <1 1 0 0>;
adi,decimation-ratio = <16>;
};
@ -84,7 +80,6 @@ examples:
adau7118_codec_hw: adau7118-codec-hw {
compatible = "adi,adau7118";
#sound-dai-cells = <0>;
status = "okay";
IOVDD-supply = <&supply>;
DVDD-supply = <&supply>;
iovdd-supply = <&supply>;
dvdd-supply = <&supply>;
};