Skip to content

RFC McBSP cleanup and generalization

Jarkko Nikula linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest12 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12ASoC: OMAP: McBSP: fix build breakage on OMAP1arch/arm/plat-omap/mcbsp.c+27 -00 replies
2/12omap: mcbsp: Remove rx_/tx_word_length variablesarch/arm/plat-omap/include/plat/mcbsp.h arch/arm/plat-omap/mcbsp.c+0 -51 reply
3/12omap: mcbsp: Remove port number enumsarch/arm/mach-omap1/mcbsp.c arch/arm/plat-omap/include/plat/mcbsp.h+3 -110 replies
4/12omap: mcbsp: Merge OMAP1 and OMAP2+ McBSP register definitionsarch/arm/plat-omap/include/plat/mcbsp.h arch/arm/plat-omap/mcbsp.c+8 -441 reply
5/12omap: mcbsp: Move out omap_mcbsp_register_board_cfg from plat-omap/devices.carch/arm/mach-omap1/mcbsp.c arch/arm/plat-omap/devices.c arch/arm/plat-omap/include/plat/mcbsp.h+32 -480 replies
6/12omap: mcbsp: Implement generic register and cache accessarch/arm/mach-omap1/mcbsp.c arch/arm/mach-omap2/mcbsp.c arch/arm/plat-omap/include/plat/mcbsp.h +1 more+29 -140 replies
7/12omap: mcbsp: Get rid of remaining is_omap testsarch/arm/plat-omap/mcbsp.c+14 -161 reply
7/12omap: mcbsp: Get rid of remaining is_omap tests+0 -00 replies
8/12omap: mcbsp: Remove omap device APIarch/arm/plat-omap/mcbsp.c+0 -270 replies
9/12omap: mcbsp: Move OMAP3+ wakeup enable/disable to omap_mcbsp_request/_freearch/arm/plat-omap/mcbsp.c+9 -340 replies
10/12omap: mcbsp: Move sidetone clock management to mach-omap2/mcbsp.carch/arm/mach-omap2/mcbsp.c arch/arm/plat-omap/include/plat/mcbsp.h arch/arm/plat-omap/mcbsp.c+31 -144 replies
10/12omap: mcbsp: Move sidetone clock management to mach-omap2/mcbsp.c+0 -00 replies
11/12omap: mcbsp: Remove conditional compilation for OMAP3arch/arm/plat-omap/include/plat/mcbsp.h arch/arm/plat-omap/mcbsp.c+5 -431 reply
11/12omap: mcbsp: Remove conditional compilation for OMAP3+0 -00 replies
12/12omap: mcbsp: Reorganize DMA operating mode and sidetone init/exit codearch/arm/plat-omap/mcbsp.c+52 -640 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC 0/12] McBSP cleanup and generalization

Hi

Some cleanups to McBSP code and attempts to make it more generic. I'll be out of office in coming days but I'm happy to hear how does this set work on OMAP1 Amstrad Delta as there are changes around register definitions and access. I've tested this on 2420 and 3430 and build tested with omap1_defconfig and omap2plus_defconfig.

I added Paul's build fix first as it seems to got lost in l-o master during recent devel branch merges and my patches are made on top of it. Paul's patch can be found from commit 7150dfee80a1e7ed5064730994b704495a8c6b99.

For is_omap removal I didn't invent any other new than reg_size and reg_step to platform data but in the future I think mcbsp_config_type is better to replace with some feature flags that come from hwmod so that there is no need to modify code for any new omap version.

Long term plan is still bit open. If we go to merge McBSP with ASoC omap-mcbsp we can drop quite much of special API here as well as omap-mcbsp-dai platform devices.

Signature · 1 line
Jarkko