Re: [PATCH v5] ASoC: dt-bindings: omap-mcpdm: Convert to DT schema

From: Mithil
Date: Wed May 22 2024 - 13:07:42 EST


Something along the lines of,
mcpdm: mcpdm@0 {
compatible = "ti,omap4-mcpdm";
reg = <0x0 0x7f>, /* MPU private access */
<0x49032000 0x7f>; /* L3 Interconnect */
reg-names = "mpu", "dma";
interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&sdma 65>,
<&sdma 66>;
dma-names = "up_link", "dn_link";
};

Might also need to add clocks?
clocks = <&twl6040>;
clock-names = "pdmclk";
But those are usually defined in board specific files.

And add reg-names, dmas, dma-names information to the docs?

--
Best Regards,
Mithil