Re: [PATCH v2] ASoC: dt-bindings: davinci-mcasp: convert McASP bindings to yaml schema

From: Jayesh Choudhary
Date: Thu Nov 25 2021 - 07:27:42 EST




On 25/11/21 5:45 pm, Jayesh Choudhary wrote:
Convert the bindings for McASP controllers for TI SOCs
from txt to YAML schema.

Adds additional properties 'clocks', 'clock-names', 'power-domains'
'#sound-dai-cells', 'num-serializer' and 'port' which were not there
in the txt file.
Adds 'dmas' and 'dma-names' in the example which were not there in
the txt file.
Changes 'interrupts' and 'interrupt-names' from optional to
required properties.

Signed-off-by: Jayesh Choudhary <j-choudhary@xxxxxx>
---
Changelog:
v2:
- changes the commit message
- modifies the properties 'clocks', 'clock-names', 'dma-names',
'dmas', 'interrupts' and 'interrupt-names' according to the
arm SOCs
- adds 'port' and 'num-serializer' as node properties.

.../bindings/sound/davinci-mcasp-audio.txt | 86 ---------
.../bindings/sound/davinci-mcasp-audio.yaml | 179 ++++++++++++++++++
2 files changed, 179 insertions(+), 86 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt
create mode 100644 Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml

Rob, Mark,

Previous reply on v1 patch had irrelevant quoted text so here are the necessary comments:

- For the arm64 SOC errors in the dtbs_check, a patch has been already sent: https://lore.kernel.org/all/20211117053806.10095-1-j-choudhary@xxxxxx/

- For the typo error in the dts file which causes error in the dtbs_check: https://lore.kernel.org/all/20211125105326.17000-1-j-choudhary@xxxxxx/


Jayesh