Skip to contentSkip to conversation

ASoC: dt-bindings: sound: asahi-kasei,ak4118: 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,ak4118: Convert DT schema

Convert the Asahi Kasei AK4118 S/PDIF transceiver bindings from text format to YAML schema.

---
Changes in v2:
- Restored legacy 'irq-gpios' property to prevent C driver probe failure.
- Added 'reset-gpios' and 'irq-gpios' to the required properties list.

 .../devicetree/bindings/sound/ak4118.txt      | 22 -------
 .../bindings/sound/asahi-kasei,ak4118.yaml    | 58 +++++++++++++++++++
 2 files changed, 58 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/sound/ak4118.txt
 create mode 100644 Documentation/devicetree/bindings/sound/asahi-kasei,ak4118.yaml
Documentation/devicetree/bindings/sound/ak4118.txt deleted +0 -22
deleted file mode 100644
index 6e11a2f7404c..000000000000
@@ -1,22 +0,0 @@
-AK4118 S/PDIF transceiver
-
-This device supports I2C mode.
-
-Required properties:
-
-- compatible : "asahi-kasei,ak4118"
-- reg : The I2C address of the device for I2C
-- reset-gpios: A GPIO specifier for the reset pin
-- irq-gpios: A GPIO specifier for the IRQ pin
-
-Example:
-
-&i2c {
-	ak4118: ak4118@13 {
-		#sound-dai-cells = <0>;
-		compatible = "asahi-kasei,ak4118";
-		reg = <0x13>;
-		reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>
-		irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
-	};
-};
Documentation/devicetree/bindings/sound/asahi-kasei,ak4118.yaml new file +58 -0

58 lines not on this page · raw message

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

Convert the Asahi Kasei AK4118 S/PDIF transceiver bindings from text format to YAML schema.

---
Changes in v2:
- Restored legacy 'irq-gpios' property to prevent C driver probe failure.
- Added 'reset-gpios' and 'irq-gpios' to the required properties list.

Quoted 5 lines
 .../devicetree/bindings/sound/ak4118.txt      | 22 -------
 .../bindings/sound/asahi-kasei,ak4118.yaml    | 58 +++++++++++++++++++
 2 files changed, 58 insertions(+), 22 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/sound/ak4118.txt
 create mode 100644 Documentation/devicetree/bindings/sound/asahi-kasei,ak4118.yaml

Organize your patches targeting one subsystem into one patchset. You sent a lot and you make EXACTLY the same mistakes everywhere. So now I need to replay to 10 different emails?

Well, you don't even give time to review, but immediately send v2.

Please slow down and put attention to this work.

I expect answers:
1. Did you analyze existing users of this binding?
2. If so, which users? How did you analyze them?

Best regards,
Krzysztof