All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: sound: add microchip,pdmc.h
@ 2022-05-24 10:31 Eugen Hristev
  2022-05-24 10:31 ` [PATCH 2/2] ARM: dts: at91: sama7g5/sama7g5ek: sync with kernel at91 5.19 Eugen Hristev
  2022-06-15  6:37 ` [PATCH 1/2] dt-bindings: sound: add microchip,pdmc.h Eugen.Hristev
  0 siblings, 2 replies; 3+ messages in thread
From: Eugen Hristev @ 2022-05-24 10:31 UTC (permalink / raw)
  To: u-boot; +Cc: claudiu.beznea, nicolas.ferre, codrin.ciubotariu, Eugen Hristev

Include microchip,pdmc.h from Linux.

This file includes required defines for DT successful build.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
---
 include/dt-bindings/sound/microchip,pdmc.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 include/dt-bindings/sound/microchip,pdmc.h

diff --git a/include/dt-bindings/sound/microchip,pdmc.h b/include/dt-bindings/sound/microchip,pdmc.h
new file mode 100644
index 0000000000..96cde94ce7
--- /dev/null
+++ b/include/dt-bindings/sound/microchip,pdmc.h
@@ -0,0 +1,13 @@
+/* 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__ */
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-15  6:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 10:31 [PATCH 1/2] dt-bindings: sound: add microchip,pdmc.h Eugen Hristev
2022-05-24 10:31 ` [PATCH 2/2] ARM: dts: at91: sama7g5/sama7g5ek: sync with kernel at91 5.19 Eugen Hristev
2022-06-15  6:37 ` [PATCH 1/2] dt-bindings: sound: add microchip,pdmc.h Eugen.Hristev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.