]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: dt-bindings: davinci-mcasp: convert McASP bindings to yaml schema
authorJayesh Choudhary <j-choudhary@ti.com>
Wed, 9 Feb 2022 06:30:08 +0000 (12:00 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 9 Feb 2022 14:36:16 +0000 (14:36 +0000)
commit8be90641a0bbd9a3606547aa6a0f70b020e74c8f
tree3e76b1749b30c899d2bc4801ed3c7d7a4cd4c04f
parent7d88b9608142f95ccdd3dfb190da4a5faddb1cc7
ASoC: dt-bindings: davinci-mcasp: convert McASP bindings to yaml schema

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' and 'port' which were missing from the txt file.
Removes properties 'sram-size-playback' and 'sram-size-capture'
since they are not used.
Adds 'dmas' and 'dma-names' in the example which were missing from
the txt file.
Changes 'interrupts' and 'interrupt-names' from optional to
required properties.
Changes 'op-modes', 'serial-dir' to optional properties as they are
not needed if the McASP is used only as GPIO.
Changes 'tdm-slots' to required property only for I2S operation mode.

Adds the yaml file in the 'MAINTAINERS' under the heading 'TEXAS
INSTRUMENTS ASoC DRIVERS'

Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20220209063008.2928-1-j-choudhary@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt [deleted file]
Documentation/devicetree/bindings/sound/davinci-mcasp-audio.yaml [new file with mode: 0644]
MAINTAINERS