xref: /linux/include/dt-bindings/sound/microchip,pdmc.h (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*015044e9SCodrin Ciubotariu /* SPDX-License-Identifier: GPL-2.0 */
2*015044e9SCodrin Ciubotariu #ifndef __DT_BINDINGS_MICROCHIP_PDMC_H__
3*015044e9SCodrin Ciubotariu #define __DT_BINDINGS_MICROCHIP_PDMC_H__
4*015044e9SCodrin Ciubotariu 
5*015044e9SCodrin Ciubotariu /* PDM microphone's pin placement */
6*015044e9SCodrin Ciubotariu #define MCHP_PDMC_DS0 0
7*015044e9SCodrin Ciubotariu #define MCHP_PDMC_DS1 1
8*015044e9SCodrin Ciubotariu 
9*015044e9SCodrin Ciubotariu /* PDM microphone clock edge sampling */
10*015044e9SCodrin Ciubotariu #define MCHP_PDMC_CLK_POSITIVE 0
11*015044e9SCodrin Ciubotariu #define MCHP_PDMC_CLK_NEGATIVE 1
12*015044e9SCodrin Ciubotariu 
13*015044e9SCodrin Ciubotariu #endif /* __DT_BINDINGS_MICROCHIP_PDMC_H__ */
14