Home
last modified time | relevance | path

Searched +full:sama5d2 +full:- +full:pdmic (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/sound/
H A Datmel,sama5d2-pdmic.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/sound/atmel,sama5d2-pdmic.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Atmel PDMIC decoder
11 - Claudiu Beznea <claudiu.beznea@microchip.com>
15 (PDMIC) peripheral is a mono PDM decoder module
20 const: atmel,sama5d2-pdmic
30 - description: peripheral clock
31 - description: generated clock
[all …]
/linux/sound/soc/atmel/
H A Datmel-pdmic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Atmel PDMIC driver
18 #include "atmel-pdmic.h"
40 .compatible = "atmel,sama5d2-pdmic",
52 struct device_node *np = dev->of_node; in atmel_pdmic_dt_init()
57 return ERR_PTR(-EINVAL); in atmel_pdmic_dt_init()
62 return ERR_PTR(-ENOMEM); in atmel_pdmic_dt_init()
64 if (of_property_read_string(np, "atmel,model", &pdata->card_name)) in atmel_pdmic_dt_init()
65 pdata->card_name = "PDMIC"; in atmel_pdmic_dt_init()
67 if (of_property_read_u32(np, "atmel,mic-min-freq", in atmel_pdmic_dt_init()
[all …]