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

From: Mithil
Date: Wed May 22 2024 - 13:47:54 EST


My apologies, misunderstood the error.
Proposed changes for the next version,
Add dma, dma-names, reg-names properties, and do the changes in
example (rename node to mcpdm since it is different from generic pdm).
reg-names:
items:
- const: mpu
- const: dma

dmas:
maxItems: 2

dma-names:
items:
- const: up_link
- const: dn_link

examples:
- |
#include <dt-bindings/interrupt-controller/arm-gic.h>
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>;
interrupt-parent = <&gic>;
dmas = <&sdma 65>,
<&sdma 66>;
dma-names = "up_link", "dn_link";
ti,hwmods = "mcpdm";
clocks = <&twl6040>;
clock-names = "pdmclk";
};

Remove ti.hwmods from required since some dts like
omap4-duovero-parlor, omap4-panda etc do not use it which causes
dtbs_check to not pass.

--
Best Regards,
Mithil