Skip to contentSkip to conversation

ASoC: codecs: dt bind. doc for the new TI SRC4392 codec

PATCH Superseded Matt Flax 3 participants 3 messages Aug 10, 2022 – Aug 15, 2022

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Matt Flax

author
#0 lore raw

PATCH v2 1/1 ASoC: codecs: dt bind. doc for the new TI SRC4392 codec

---

Notes:
v2:
* Added myself as the maintainer

 .../devicetree/bindings/sound/src4xxx.yaml    | 50 +++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/src4xxx.yaml
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +50 -0
new file mode 100644
index 000000000000..368bb4ba1a77
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/src4xxx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments SRC4392 Device Tree Bindings
+
+description: |
+  The SRC4392 is a digital audio codec that can be connected via
+  I2C or SPI. Currently, only I2C bus is supported.
+
+maintainers:
+  - Matt Flax <[email protected]>
+
+allOf:
+  - $ref: name-prefix.yaml#
+
+properties:
+  compatible:
+    const: ti,src4392
+
+  "#sound-dai-cells":
+    const: 0
+
+  reg:
+    description:
+      The I2C address of the device
+    maxItems: 1
+
+required:
+  - "#sound-dai-cells"
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        src4392@70 {
+            #sound-dai-cells = <0>;
+            compatible = "ti,src4392";
+            reg = <0x70>;
+        };
+    };
+...
Signature · 1 line
2.34.1
maintainer
#1 lore raw
Quoted 8 lines · Matt Flax

---

Notes:
v2:
* Added myself as the maintainer

 .../devicetree/bindings/sound/src4xxx.yaml    | 50 +++++++++++++++++++

ti,src4xxx.yaml

Documentation/devicetree/bindings/sound/src4xxx.yaml line 1

Quoted 10 lines
 1 file changed, 50 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/src4xxx.yaml
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +1 -0
new file mode 100644
index 000000000000..368bb4ba1a77
@@ -0,0 +1,50 @@
+# SPDX-License-Identifier: GPL-2.0

Dual license new bindings. (GPL-2.0-only OR BSD-2-Clause)

Quoted 17 lines
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +17 -0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/sound/src4xxx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Texas Instruments SRC4392 Device Tree Bindings
+
+description: |
+  The SRC4392 is a digital audio codec that can be connected via
+  I2C or SPI. Currently, only I2C bus is supported.
+
+maintainers:
+  - Matt Flax <[email protected]>
+
+allOf:
+  - $ref: name-prefix.yaml#
+

Documentation/devicetree/bindings/sound/src4xxx.yaml line 28

Quoted 10 lines
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +10 -0
+properties:
+  compatible:
+    const: ti,src4392
+
+  "#sound-dai-cells":
+    const: 0
+
+  reg:
+    description:
+      The I2C address of the device

No need for generic descriptions.

Quoted 6 lines
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +6 -0
+    maxItems: 1
+
+required:
+  - "#sound-dai-cells"
+  - compatible
+  - reg

Documentation/devicetree/bindings/sound/src4xxx.yaml line 44

Quoted 10 lines
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +10 -0
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+        #address-cells = <1>;
+        #size-cells = <0>;
+
+        src4392@70 {

audio-codec@70

Quoted 10 lines
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +6 -0
+            #sound-dai-cells = <0>;
+            compatible = "ti,src4392";
+            reg = <0x70>;
+        };
+    };
+...
Signature · 1 line
2.34.1
maintainer
#2 lore raw
In reply to Matt Flax
Quoted 1 line · Matt Flax

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: codecs: dt bind. doc for the new TI SRC4392 codec

      commit: 020adbfb2edae4dd90d7774d08936261e218c171

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark