All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: codecs: dt bind. doc for the new TI SRC4392 codec
@ 2022-08-10  1:35 Matt Flax
  2022-08-10 13:01 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Flax @ 2022-08-10  1:35 UTC (permalink / raw)
  To: devicetree; +Cc: broonie, alsa-devel, Matt Flax

Signed-off-by: Matt Flax <flatmax@flatmax.com>
---
 .../devicetree/bindings/sound/src4xxx.yaml    | 50 +++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/src4xxx.yaml

diff --git a/Documentation/devicetree/bindings/sound/src4xxx.yaml b/Documentation/devicetree/bindings/sound/src4xxx.yaml
new file mode 100644
index 000000000000..0d9dcac2a067
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/src4xxx.yaml
@@ -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:
+  - Mark Brown <broonie@kernel.org>
+
+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>;
+        };
+    };
+...
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: codecs: dt bind. doc for the new TI SRC4392 codec
  2022-08-10  1:35 [PATCH] ASoC: codecs: dt bind. doc for the new TI SRC4392 codec Matt Flax
@ 2022-08-10 13:01 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-08-10 13:01 UTC (permalink / raw)
  To: Matt Flax; +Cc: devicetree, alsa-devel

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

On Wed, Aug 10, 2022 at 11:35:02AM +1000, Matt Flax wrote:

> +maintainers:
> +  - Mark Brown <broonie@kernel.org>

Please don't add me as a maintainer for device specific bindings that
I'm not working on, the expectation is that people listed will know
something about the device.  If the schema requires an address and you
don't want to take it on I guess alsa-devel would work?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-10 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-10  1:35 [PATCH] ASoC: codecs: dt bind. doc for the new TI SRC4392 codec Matt Flax
2022-08-10 13:01 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.