Skip to contentSkip to conversation

ASoC: dt-bindings: sound: asahi-kasei,ak5386: Convert DT schema

PATCH In review Manish Baing 2 participants 2 messages May 24 – May 30

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ASoC: dt-bindings: sound: asahi-kasei,ak5386: Convert DT schema

Convert the Asahi Kasei AK5386 ADC binding from text format to YAML schema.

---
Changes in v2:
- Added dai-common.yaml reference and #sound-dai-cells to support generic sound card DAI links.
- Changed additionalProperties to unevaluatedProperties: false.
- Restored legacy reset-gpio property as deprecated to maintain DT ABI backward compatibility.

 .../devicetree/bindings/sound/ak5386.txt      | 23 --------
 .../bindings/sound/asahi-kasei,ak5386.yaml    | 56 +++++++++++++++++++
 2 files changed, 56 insertions(+), 23 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/sound/ak5386.txt
 create mode 100644 Documentation/devicetree/bindings/sound/asahi-kasei,ak5386.yaml
Documentation/devicetree/bindings/sound/ak5386.txt deleted +0 -23
deleted file mode 100644
index ec3df3abba0c..000000000000
@@ -1,23 +0,0 @@
-AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC
-
-This device has no control interface.
-
-Required properties:
-
-  - compatible : "asahi-kasei,ak5386"
-
-Optional properties:
-
-  - reset-gpio : a GPIO spec for the reset/power down pin.
-		 If specified, it will be deasserted at probe time.
-  - va-supply : a regulator spec, providing 5.0V
-  - vd-supply : a regulator spec, providing 3.3V
-
-Example:
-
-spdif: ak5386@0 {
-	compatible = "asahi-kasei,ak5386";
-	reset-gpio = <&gpio0 23>;
-	va-supply = <&vdd_5v0_reg>;
-	vd-supply = <&vdd_3v3_reg>;
-};
Documentation/devicetree/bindings/sound/asahi-kasei,ak5386.yaml new file +56 -0

56 lines not on this page · raw message

Signature · 1 line
2.43.0
#1 lore raw
Quoted 10 lines · Manish Baing

Convert the Asahi Kasei AK5386 ADC binding from text format to YAML schema.

---
Changes in v2:
- Added dai-common.yaml reference and #sound-dai-cells to support generic sound card DAI links.
- Changed additionalProperties to unevaluatedProperties: false.
- Restored legacy reset-gpio property as deprecated to maintain DT ABI

No, why... Who exactly needs it? What DT ABI compatibibility?

Quoted 1 line

backward compatibility.

Same comments as for other aptches.

Best regards,
Krzysztof