[alsa-devel] [PATCH v2 1/2] dt-bindings: sound: add bindings for TAS6424
Rob Herring
robh at kernel.org
Mon Jul 17 22:24:55 CEST 2017
On Mon, Jul 17, 2017 at 11:25:46AM -0500, Michael Stecklein wrote:
> Add the bindings for the TAS6424 digital amplifier.
>
> Signed-off-by: Michael Stecklein <m-stecklein at ti.com>
> ---
> .../devicetree/bindings/sound/ti,tas6424.txt | 31 ++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/ti,tas6424.txt
>
> diff --git a/Documentation/devicetree/bindings/sound/ti,tas6424.txt b/Documentation/devicetree/bindings/sound/ti,tas6424.txt
> new file mode 100644
> index 0000000..27227b1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/ti,tas6424.txt
> @@ -0,0 +1,31 @@
> +Texas Instruments TAS6424 Quad-Channel Audio amplifier
> +
> +The TAS6424 serial control bus communicates through I2C protocols.
> +
> +Required properties:
> + - compatible - One of: "ti,tas6424" - TAS6424
> + - reg - I2C slave address
> + - sound-dai-cells: must be equal to 0
> +
> +Optional properties:
> + - pinctrl-names, pinctrl-0 - Please refer to pinctrl-bindings.txt
> + - interrupts-extended - describe the interrupt line used to inform the
> + host. Please refer to interrupt-controller/interrupts.txt
There's no need for interrupts-extended here. Generally, we just
document "interrupts" though interrupts-extended can be used instead as
needed.
> +
> +Example:
> +
> +tas6424: tas6424 at 6a {
> + #sound-dai-cells = <0>;
> +
> + status = "okay";
Don't show status for examples.
> +
> + compatible = "ti,tas6424";
Generally, this comes first style-wise.
> + reg = <0x6a>;
> +
> + pinctrl-names = "default";
> + pinctrl-0 = <&tas6424_int_pin>;
> + interrupts-extended = <&gpio1 28 IRQ_TYPE_EDGE_FALLING>;
> +};
> +
> +For more product information please see the link below:
> +http://www.ti.com/product/TAS6424-Q1
> --
> 2.7.4
>
More information about the Alsa-devel
mailing list