DSPBRIDGE: generic clk module removal
Status from this message: Pushed to dspbridge.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/219 patches 1 replyApplied
- v2 posting 1/21 patch 2 repliesSuperseded
- v119 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- rebased
- keep iva2 handling as it is advised to turn off the clocks for iva reset sources.
- release all the clocks (disable & free) if driver is uninstalled.
Patches in v2 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | DSPBRIDGE: remove clk_handle from drv interfacedrivers/ | +0 | 0 replies | |
| 2/19 | DSPBRIDGE: fail if clk handle is NULLdrivers/ | +20 | 0 replies | |
| 3/19 | DSPBRIDGE: Now actually fail if a clk handle is wrongdrivers/ | +1 | 0 replies | |
| 4/19 | DSPBRIDGE: Rename services_clk_* to dsp_clk_*arch/ drivers/ drivers/ +3 more | +112 | 0 replies | |
| 5/19 | DSPBRIDGE: remove unused clock sys_ckarch/ drivers/ | +0 | 0 replies | |
| 6/19 | DSPBRIDGE: remove function clk_set32k_hzarch/ drivers/ drivers/ | +1 | 0 replies | |
| 7/19 | DSPBRIDGE: remove clk_get_use_cntarch/ drivers/ | +0 | 0 replies | |
| 8/19 | DSPBRIDGE: trivial clock cleanup for unused codearch/ drivers/ | +0 | 0 replies | |
| 9/19 | DSPBRIDGE: function to get the type of clock requested by dspdrivers/ | +68 | 0 replies | |
| 10/19 | DSPBRIDGE: iva2 clock handlingarch/ drivers/ drivers/ +1 more | +22 | 0 replies | |
| 11/19 | DSPBRIDGE: use dm timer framework for gpt timersdrivers/ drivers/ | +13 | 0 replies | |
| 12/19 | DSPBRIDGE: use omap mcbsp to enable mcbsp clocksdrivers/ | +10 | 0 replies | |
| 13/19 | DSPBRIDGE: remove wdt3 from dsp controldrivers/ | +4 | 0 replies | |
| 14/19 | DSPBRIDGE: dsp interface to enable ssi clocksdrivers/ | +27 | 0 replies | |
| 15/19 | DSPBRIDGE: use one call for both ick and fck clocksarch/ drivers/ drivers/ +2 more | +45 | 0 replies | |
| 16/19 | DSPBRIDGE: Move MCBSP_CLOCKS code to a common placedrivers/ drivers/ | +52 | 0 replies | |
| 17/19 | DSPBRIDGE: Balance the number of enable/disabledrivers/ | +37 | 0 replies | |
| 18/19 | DSPBRIDGE: move clk to dsp-clockdrivers/ drivers/ drivers/ +2 more | +338 | 0 replies | |
| 19/19 | DSPBRIDGE: reorganize the code to handle peripheral clocksarch/ drivers/ drivers/ +4 more | +56 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/19] DSPBRIDGE: generic clk module removal
This set of patches remove clk module from the services layer.
Now:
- GPT 5-8 are controlled through DM Timer framework.
- MCBSP clocks are enabled by requesting the proper mcbsp device.
- WDT is left for bridge driver to control rather than on request from dsp.
- SSI is controlled by enabling/disabling its sst, ssr and ick clocks.
v2:
- rebased
- keep iva2 handling as it is advised to turn off the clocks for iva reset sources.
- release all the clocks (disable & free) if driver is uninstalled.
Omar Ramirez Luna (19):
DSPBRIDGE: remove clk_handle from drv interface
DSPBRIDGE: fail if clk handle is NULL
DSPBRIDGE: Now actually fail if a clk handle is wrong
DSPBRIDGE: Rename services_clk_* to dsp_clk_*
DSPBRIDGE: remove unused clock sys_ck
DSPBRIDGE: remove function clk_set32k_hz
DSPBRIDGE: remove clk_get_use_cnt
DSPBRIDGE: trivial clock cleanup for unused code
DSPBRIDGE: function to get the type of clock requested by dsp
DSPBRIDGE: iva2 clock handling
DSPBRIDGE: use dm timer framework for gpt timers
DSPBRIDGE: use omap mcbsp to enable mcbsp clocks
DSPBRIDGE: remove wdt3 from dsp control
DSPBRIDGE: dsp interface to enable ssi clocks
DSPBRIDGE: use one call for both ick and fck clocks
DSPBRIDGE: Move MCBSP_CLOCKS code to a common place
DSPBRIDGE: Balance the number of enable/disable
DSPBRIDGE: move clk to dsp-clock
DSPBRIDGE: reorganize the code to handle peripheral clocks
arch/arm/plat-omap/include/dspbridge/clk.h | 103 ++------ drivers/dsp/bridge/Makefile | 4 +- drivers/dsp/bridge/rmgr/drv_interface.c | 12 +- drivers/dsp/bridge/services/clk.c | 323 ------------------------ drivers/dsp/bridge/services/services.c | 10 +- drivers/dsp/bridge/wmd/_tiomap.h | 25 +- drivers/dsp/bridge/wmd/_tiomap_pwr.h | 17 -- drivers/dsp/bridge/wmd/dsp-clock.c | 377 ++++++++++++++++++++++++++++ drivers/dsp/bridge/wmd/tiomap3430.c | 62 +----- drivers/dsp/bridge/wmd/tiomap3430_pwr.c | 147 +---------- drivers/dsp/bridge/wmd/tiomap_io.c | 4 +- drivers/dsp/bridge/wmd/ue_deh.c | 2 +- 12 files changed, 440 insertions(+), 646 deletions(-) delete mode 100644 drivers/dsp/bridge/services/clk.c create mode 100644 drivers/dsp/bridge/wmd/dsp-clock.c