mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-04 04:04:19 +00:00
015044e961
Add DT bindings for the new Microchip PDMC embedded in sama7g5 SoCs. Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20220307122202.2251639-3-codrin.ciubotariu@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
14 lines
362 B
C
14 lines
362 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __DT_BINDINGS_MICROCHIP_PDMC_H__
|
|
#define __DT_BINDINGS_MICROCHIP_PDMC_H__
|
|
|
|
/* PDM microphone's pin placement */
|
|
#define MCHP_PDMC_DS0 0
|
|
#define MCHP_PDMC_DS1 1
|
|
|
|
/* PDM microphone clock edge sampling */
|
|
#define MCHP_PDMC_CLK_POSITIVE 0
|
|
#define MCHP_PDMC_CLK_NEGATIVE 1
|
|
|
|
#endif /* __DT_BINDINGS_MICROCHIP_PDMC_H__ */
|