Remove legacy sdma code for dt booting omaps
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest14 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | ARM: dts: Add generic compatible for omap sdma instancesarch/ arch/ arch/ | +3 | 0 replies | |
| 2/14 | ARM: dts: Configure interconnect target module for omap2 sdmaarch/ arch/ | +36 | 0 replies | |
| 3/14 | ARM: dts: Configure interconnect target module for omap3 sdmaarch/ arch/ arch/ | +44 | 0 replies | |
| 4/14 | ARM: OMAP2+: Drop unused sdma functionsarch/ include/ | +1 | 0 replies | |
| 5/14 | ARM: OMAP2+: Drop sdma interrupt handling for mach-omap2arch/ arch/ include/ | +8 | 0 replies | |
| 6/14 | ARM: OMAP2+: Configure sdma capabilities directlyarch/ | +3 | 0 replies | |
| 7/14 | ARM: OMAP2+: Configure dma_plat_info directly and drop dma_dev_attrarch/ arch/ arch/ +4 more | +18 | 0 replies | |
| 8/14 | dmaengine: ti: omap-dma: Add device tree match data and use it for cpu_pmarch/ arch/ drivers/ +1 more | +138 | 1 reply | |
| 9/14 | dmaengine: ti: omap-dma: Configure global priority register directlyarch/ drivers/ | +29 | 1 reply | |
| 10/14 | dmaengine: ti: omap-dma: Pass sdma auxdata to driver and use itarch/ arch/ arch/ +1 more | +14 | 1 reply | |
| 11/14 | dmaengine: ti: omap-dma: Allocate channels directlydrivers/ | +58 | 1 reply | |
| 12/14 | dmaengine: ti: omap-dma: Use cpu notifier to block idle for omap2arch/ drivers/ | +50 | 2 replies | |
| 13/14 | ARM: OMAP2+: Drop legacy init for sdmaarch/ arch/ arch/ | +1 | 0 replies | |
| 14/14 | ARM: OMAP2+: Drop legacy platform data for sdmaarch/ arch/ arch/ +10 more | +0 | 0 replies |
Reviews trailers per patch
5 of 14 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Ujfalusi | Vinod Koul |
|---|---|---|
| Series | A-b T-b | |
| 1/14 | ||
| 2/14 | ||
| 3/14 | ||
| 4/14 | ||
| 5/14 | ||
| 6/14 | ||
| 7/14 | ||
| 8/14 | A-b | |
| 9/14 | A-b | |
| 10/14 | A-b | |
| 11/14 | A-b | |
| 12/14 | A-b | |
| 13/14 | ||
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/14] Remove legacy sdma code for dt booting omaps
Hi all,
This series finally removes the legacy sdma code for omaps booting with devicetree. The legacy sdma code is still left for omap1, but makes further work a bit easier.
We do the removal of legacy sdma code with the following steps:
- Prepare for platform data removal by probing sdma with device tree data for the interconnect target module
- Drop unused code and legacy interrupt code for omap2 and later
- Update dmaengine driver to use device tree match data and add missing features
- Allocate logical channels directly in the dmaengine driver
- Drop legacy platform init and data
The patches are against v5.5-rc1, and need the following fixes:
2c81f0f6d3f5 ("bus: ti-sysc: Fix iterating over clocks")e709ed70d122 ("bus: ti-sysc: Fix missing reset delay handling") 93c60483b5fe ("bus: ti-sysc: Fix missing force mstandby quirk handling") 90bdfa0b05e3 ("ARM: OMAP2+: Fix ti_sysc_find_one_clockdomain to check for to_clk_hw_omap")
To make testing easier, I've also pushed out a testing branch at [0][1].
Regards,
Tony
[0] git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git omap-for-v5.6/sdma-testing
[1] https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git/log/?h=omap-for-v5.6/sdma-testing
Tony Lindgren (14):
ARM: dts: Add generic compatible for omap sdma instances
ARM: dts: Configure interconnect target module for omap2 sdma
ARM: dts: Configure interconnect target module for omap3 sdma
ARM: OMAP2+: Drop unused sdma functions
ARM: OMAP2+: Drop sdma interrupt handling for mach-omap2
ARM: OMAP2+: Configure sdma capabilities directly
ARM: OMAP2+: Configure dma_plat_info directly and drop dma_dev_attr
dmaengine: ti: omap-dma: Add device tree match data and use it for
cpu_pm
dmaengine: ti: omap-dma: Configure global priority register directly
dmaengine: ti: omap-dma: Pass sdma auxdata to driver and use it
dmaengine: ti: omap-dma: Allocate channels directly
dmaengine: ti: omap-dma: Use cpu notifier to block idle for omap2
ARM: OMAP2+: Drop legacy init for sdma
ARM: OMAP2+: Drop legacy platform data for sdma
arch/arm/boot/dts/dra7-l4.dtsi | 3 +- arch/arm/boot/dts/omap2.dtsi | 43 +- arch/arm/boot/dts/omap2430.dtsi | 4 + arch/arm/boot/dts/omap3-n900.dts | 5 + arch/arm/boot/dts/omap3.dtsi | 46 +- arch/arm/boot/dts/omap36xx.dtsi | 4 + arch/arm/boot/dts/omap4-l4.dtsi | 3 +- arch/arm/boot/dts/omap5-l4.dtsi | 3 +- arch/arm/mach-omap2/common.h | 3 + arch/arm/mach-omap2/dma.c | 119 +---- arch/arm/mach-omap2/omap_device.c | 170 ------- arch/arm/mach-omap2/omap_device.h | 4 - arch/arm/mach-omap2/omap_hwmod_2420_data.c | 34 -- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 34 -- .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 18 - arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 61 --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 69 --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 61 --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 61 --- arch/arm/mach-omap2/omap_hwmod_common_data.h | 1 - arch/arm/mach-omap2/pdata-quirks.c | 1 + arch/arm/mach-omap2/pm24xx.c | 22 +- arch/arm/mach-omap2/pm34xx.c | 5 - arch/arm/plat-omap/dma.c | 471 +----------------- drivers/dma/ti/omap-dma.c | 288 ++++++++++- include/linux/omap-dma.h | 18 - 26 files changed, 391 insertions(+), 1160 deletions(-)
Signature · 1 line
2.24.1