Skip to content

ASoC: ti: davinci-mcasp: Fix the DIT mode and OMAP4 support

Peter Ujfalusi alsa-devel linux-omap 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesIn review
  2. v15 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Do not calculat that we allow one serializer in DIT mode, just set the max_active_serializers to 1.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: ti: davinci-mcasp: Fix DIT mode supportsound/soc/ti/davinci-mcasp.c+129 -210 replies
2/5ASoC: dt-bindings: davinci-mcasp: Add compatible string for OMAP4Documentation/devicetree/bindings/sound/davinci-mcasp-audio.txt+1 -00 replies
3/5ASoC: ti: davinci-mcasp: Add support for the OMAP4 version of McASPinclude/linux/platform_data/davinci_asp.h sound/soc/ti/Kconfig sound/soc/ti/davinci-mcasp.c+25 -30 replies
4/5ARM: dts: omap4-l4-abe: Correct sidle modes for McASParch/arm/boot/dts/omap4-l4-abe.dtsi+1 -20 replies
5/5ARM: dts: omap4-l4-abe: Add McASP configurationarch/arm/boot/dts/omap4-l4-abe.dtsi+20 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/5] ASoC: ti: davinci-mcasp: Fix the DIT mode and OMAP4 support

Hi,

Changes since v1:
- Do not calculat that we allow one serializer in DIT mode, just set the max_active_serializers to 1.

it has been on my todo list for several years to support McASP on OMAP4 devices. For Galaxy Nexus we had an omap-mcasp driver (which was mostly a stripped down davinci-mcasp driver) to support what was needed on that specific phone + it's dock for S/PDIF (48KHz, 16bit, stereo).

Not many (if any) device available to test the DIT mode of McASP. I have used BeagleBone White (McASP1 AXR3 can be routed to a pin) to get the S/PDIF mode working then PandaES for OMAP4 support (on PandaES the gpio_121 is not used and the signal is routed to expansion J6 pin14).

In theory the McASP in OMAP5 should be working after this series, but the OMAP5 TRM is not public and I do not have one to check the addresses and see if there is a way to test it on omap5-uevm.

Mark, Tony:
The ASoC and dts patches can go via separate tree I felt that it is better if they are together, at least initially.

Nikolaus: fyi, this might be useful for Pyra?

Regards,
Péter
---
Peter Ujfalusi (5):
ASoC: ti: davinci-mcasp: Fix DIT mode support
ASoC: dt-bindings: davinci-mcasp: Add compatible string for OMAP4
ASoC: ti: davinci-mcasp: Add support for the OMAP4 version of McASP
ARM: dts: omap4-l4-abe: Correct sidle modes for McASP
ARM: dts: omap4-l4-abe: Add McASP configuration

 .../bindings/sound/davinci-mcasp-audio.txt    |   1 +
 arch/arm/boot/dts/omap4-l4-abe.dtsi           |  39 ++--
 include/linux/platform_data/davinci_asp.h     |   1 +
 sound/soc/ti/Kconfig                          |   1 +
 sound/soc/ti/davinci-mcasp.c                  | 176 +++++++++++++++---
 5 files changed, 175 insertions(+), 43 deletions(-)
Signature · 1 line
2.32.0