2019-09-06 18:35:22 +08:00
|
|
|
# Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-11-19 15:39:11 +08:00
|
|
|
description: Nordic PDM (Pulse Density Modulation interface)
|
2019-09-06 18:35:22 +08:00
|
|
|
|
|
|
|
compatible: "nordic,nrf-pdm"
|
|
|
|
|
2022-03-02 00:02:33 +08:00
|
|
|
include: [base.yaml, pinctrl-device.yaml]
|
2019-09-06 18:35:22 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
required: true
|
2019-09-06 18:35:22 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
interrupts:
|
|
|
|
required: true
|
2019-09-06 18:35:22 +08:00
|
|
|
|
2023-02-21 20:48:14 +08:00
|
|
|
pinctrl-0:
|
|
|
|
required: true
|
2021-08-19 23:11:46 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
clock-source:
|
|
|
|
type: string
|
|
|
|
default: "PCLK32M_HFXO"
|
|
|
|
description: |
|
|
|
|
Clock source to be used by the PDM peripheral. The following options
|
|
|
|
are available:
|
|
|
|
- "PCLK32M": 32 MHz peripheral clock, synchronous to HFCLK
|
|
|
|
- "PCLK32M_HFXO": PCLK32M running off the 32 MHz crystal oscillator
|
|
|
|
(HFXO) for better clock accuracy and jitter performance
|
|
|
|
- "ACLK": Audio PLL clock with configurable frequency (frequency for
|
|
|
|
this clock must be set via the "hfclkaudio-frequency" property
|
|
|
|
in the "nordic,nrf-clock" node); this clock source is only available
|
|
|
|
in the nRF53 Series SoCs and it requires the use of HFXO
|
|
|
|
enum:
|
|
|
|
- "PCLK32M"
|
|
|
|
- "PCLK32M_HFXO"
|
|
|
|
- "ACLK"
|
2021-08-19 23:11:46 +08:00
|
|
|
|
2023-01-04 03:21:25 +08:00
|
|
|
queue-size:
|
|
|
|
type: int
|
|
|
|
default: 4
|
|
|
|
description: |
|
|
|
|
Size of the queue of received audio data blocks to be used
|
|
|
|
by the driver.
|