ASoC: codecs: dt bind. doc for the new TI SRC4392 codec
Subsystems (2)
PATCH 1/1 ASoC: codecs: dt bind. doc for the new TI SRC4392 codec
Signed-off-by Matt Flax <[email protected]>
--- .../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
@@ -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 <[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
Mark Brown
maintainerDocumentation/devicetree/bindings/sound/src4xxx.yaml line 14
Quoted 2 lines · Matt Flax
Documentation/devicetree/bindings/sound/src4xxx.yaml new file +2
-0+maintainers: + - Mark Brown <[email protected]>
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?