[PATCH 0/3] ARM: OMAP3: Fix McBSP2/3 hwmod setup for sidetone

From: Peter Ujfalusi
Date: Fri Mar 18 2016 - 06:30:22 EST


Hi,

The series addresses a long standing issue with McBSP2/3 regarding to hwmod
setup. When booting with DT a warning is printed that mcbsp2/3 is using two
hwmod.
The root of the issue is the way how the hwmod data was constructed in the first
place for OMAP3 McBSP2/3.
After re-reading the TRM it is clear that the sidetone should not have it's
own hwmod data as it is not a separate IP, it is part of the McBSP module. It
can not affect PRCM either since it's SYSCONFIG register's AUTOIDLE bit is only
sets the autoidle from the internal McBSP_iclk clock to the sidetone block of
the same McBSP.

The first two patch will remove the omap2/3_sidetone hwmod and it's use from DT.
The ASoC patch is clear the autoidle bit in McBSP sidetone as it is adviced in
the TRM.

Mark: The ASoC patch can be safely merged via ASoC tree.

Regards,
Peter
---
Peter Ujfalusi (3):
ARM: DTS: omap3: Remove mcbsp2/3_sidetone hwmod reference for McBSP2/3
ARM: OMAP3: hwmod data: Merge and remove the McBSP sidetone related
data
ASoC: omap-mcbsp: Enable/disable sidetone block auto clock gating for
omap3

arch/arm/boot/dts/omap3.dtsi | 4 +-
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 120 ++++-------------------------
sound/soc/omap/mcbsp.c | 8 ++
3 files changed, 24 insertions(+), 108 deletions(-)

--
2.7.3