media: atmel-isi: extract the hw releated functions into structure
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 13 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 13 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] media: atmel-isi: extract the hw releated functions into structure
Hi Josh,
Quoted 9 lines · Josh Wu
This series refactor the atmel-isi drvier. In the meantime, extract all the hardware related functions, and made it as function table. Also add some hardware data.
All those hardware functions, datas are defined with the compatible string.
In this way, it is easy to add another compatible string for new hardware support.
What is the goal of these patches? I mean is it to ease the support of ISC?
Discussing with Songjun, I understand that he wanted to have one driver for ISI and one for ISC but I have the feeling that your patches go in the opposite direction. What is your mind about this?
Thanks
Regards
Ludovic
Quoted 23 lines
Josh Wu (13):
atmel-isi: usetry_or_set_fmt()for bothset_fmt()andtry_fmt()
atmel-isi: move theis_support()close to try/set format function
atmel-isi: addisi_hw_initialize()function to handle hw setup
atmel-isi: move the cfg1 initialize toisi_hw_initialize()
atmel-isi: add a function:isi_hw_wait_status()to checkISI_SRstatus
atmel-isi: check ISI_SR's flags by polling instead of interrupt
atmel-isi: move hw code intoisi_hw_initialize()
atmel-isi: remove the functionset_dma_ctrl()as it just use once
atmel-isi: add a functionstart_isi()
atmel-isi: reusestart_dma()function in isi interrupt handler
atmel-isi: addhw_uninitialize()instop_streaming()
atmel-isi: use union for the fbd (frame buffer descriptor)
atmel-isi: use anhw_datastructure according compatible stringdrivers/media/platform/soc_camera/atmel-isi.c | 529 ++++++++++++++------------ 1 file changed, 277 insertions(+), 252 deletions(-)Signature · 1 line
1.9.1