···11+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)22+%YAML 1.233+---44+$id: http://devicetree.org/schemas/sound/infineon,peb2466.yaml#55+$schema: http://devicetree.org/meta-schemas/core.yaml#66+77+title: Infineon PEB2466 codec88+99+maintainers:1010+ - Herve Codina <herve.codina@bootlin.com>1111+1212+description: |1313+ The Infineon PEB2466 codec is a programmable DSP-based four channels codec1414+ with filters capabilities.1515+1616+ The time-slots used by the codec must be set and so, the properties1717+ 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and1818+ 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes1919+ that involve the codec. The codec uses one 8bit time-slot per channel.2020+ 'dai-tdm-tdm-slot-with' must be set to 8.2121+2222+ The PEB2466 codec also supports 28 gpios (signaling pins).2323+2424+allOf:2525+ - $ref: /schemas/spi/spi-peripheral-props.yaml2626+ - $ref: dai-common.yaml#2727+2828+properties:2929+ compatible:3030+ const: infineon,peb24663131+3232+ reg:3333+ description:3434+ SPI device address.3535+ maxItems: 13636+3737+ clocks:3838+ items:3939+ - description: Master clock4040+4141+ clock-names:4242+ items:4343+ - const: mclk4444+4545+ spi-max-frequency:4646+ maximum: 81920004747+4848+ reset-gpios:4949+ description:5050+ GPIO used to reset the device.5151+ maxItems: 15252+5353+ firmware-name:5454+ $ref: /schemas/types.yaml#/definitions/string5555+ description:5656+ Filters coefficients file to load. If this property is omitted, internal5757+ filters are disabled.5858+5959+ '#sound-dai-cells':6060+ const: 06161+6262+ '#gpio-cells':6363+ const: 26464+6565+ gpio-controller: true6666+6767+required:6868+ - compatible6969+ - reg7070+ - '#sound-dai-cells'7171+ - gpio-controller7272+ - '#gpio-cells'7373+7474+unevaluatedProperties: false7575+7676+examples:7777+ - |7878+ #include <dt-bindings/gpio/gpio.h>7979+ spi {8080+ #address-cells = <1>;8181+ #size-cells = <0>;8282+ audio-codec@0 {8383+ compatible = "infineon,peb2466";8484+ reg = <0>;8585+ spi-max-frequency = <8192000>;8686+ reset-gpios = <&gpio 10 GPIO_ACTIVE_LOW>;8787+ #sound-dai-cells = <0>;8888+ gpio-controller;8989+ #gpio-cells = <2>;9090+ };9191+ };
+7
MAINTAINERS
···1015910159S: Maintained1016010160F: drivers/iio/pressure/dps310.c10161101611016210162+INFINEON PEB2466 ASoC CODEC1016310163+M: Herve Codina <herve.codina@bootlin.com>1016410164+L: alsa-devel@alsa-project.org (moderated for non-subscribers)1016510165+S: Maintained1016610166+F: Documentation/devicetree/bindings/sound/infineon,peb2466.yaml1016710167+F: sound/soc/codecs/peb2466.c1016810168+1016210169INFINIBAND SUBSYSTEM1016310170M: Jason Gunthorpe <jgg@nvidia.com>1016410171M: Leon Romanovsky <leonro@nvidia.com>
+12
sound/soc/codecs/Kconfig
···167167 imply SND_SOC_PCM5102A168168 imply SND_SOC_PCM512x_I2C169169 imply SND_SOC_PCM512x_SPI170170+ imply SND_SOC_PEB2466170171 imply SND_SOC_RK3328171172 imply SND_SOC_RK817172173 imply SND_SOC_RT274···12431242 depends on SPI_MASTER12441243 select SND_SOC_PCM512x12451244 select REGMAP_SPI12451245+12461246+config SND_SOC_PEB246612471247+ tristate "Infineon PEB2466 quad PCM codec"12481248+ depends on SPI12491249+ select REGMAP_SPI12501250+ help12511251+ Enable support for the Infineon PEB2466 quad PCM codec,12521252+ also named SICOFI 4-uC.12531253+12541254+ To compile this driver as a module, choose M here: the module12551255+ will be called snd-soc-peb2466.1246125612471257config SND_SOC_RK332812481258 tristate "Rockchip RK3328 audio CODEC"