···11+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)22+%YAML 1.233+---44+$id: http://devicetree.org/schemas/sound/irondevice,sma1307.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: Iron Device SMA1307 Audio Amplifier88+99+maintainers:1010+ - Kiseok Jo <kiseok.jo@irondevice.com>1111+1212+description:1313+ SMA1307 boosted digital speaker amplifier with feedback-loop.1414+1515+allOf:1616+ - $ref: dai-common.yaml#1717+1818+properties:1919+ compatible:2020+ enum:2121+ - irondevice,sma1307a2222+ - irondevice,sma1307aq2323+ description:2424+ If a 'q' is added, it indicated the product is AEC-Q1002525+ qualified for automotive applications. SMA1307A supports2626+ both WLCSP and QFN packages. However, SMA1307AQ only2727+ supports the QFN package.2828+2929+ reg:3030+ maxItems: 13131+3232+ '#sound-dai-cells':3333+ const: 13434+3535+required:3636+ - compatible3737+ - reg3838+ - '#sound-dai-cells'3939+4040+additionalProperties: false4141+4242+examples:4343+ - |4444+ i2c {4545+ #address-cells = <1>;4646+ #size-cells = <0>;4747+4848+ amplifier@1e {4949+ compatible = "irondevice,sma1307a";5050+ reg = <0x1e>;5151+ #sound-dai-cells = <1>;5252+ };5353+ };
+10
sound/soc/codecs/Kconfig
···240240 imply SND_SOC_SIMPLE_AMPLIFIER241241 imply SND_SOC_SIMPLE_MUX242242 imply SND_SOC_SMA1303243243+ imply SND_SOC_SMA1307243244 imply SND_SOC_SPDIF244245 imply SND_SOC_SRC4XXX_I2C245246 imply SND_SOC_SSM2305···18731872 depends on I2C18741873 help18751874 Enable support for Iron Device SMA1303 Boosted Class-D amplifier18751875+18761876+config SND_SOC_SMA130718771877+ tristate "Iron Device SMA1307 Audio Amplifier"18781878+ depends on I2C18791879+ help18801880+ Enable support for Iron Device SMA1307 boosted digital speaker18811881+ amplifier with feedback-loop.18821882+ If you are using a system with an SMA1307 amplifier connected18831883+ via I2C, enable this option.1876188418771885config SND_SOC_SPDIF18781886 tristate "S/PDIF CODEC"