mbox series

[v2,00/19] CAL fixes and improvements

Message ID 20200319075023.22151-1-tomi.valkeinen@ti.com
Headers show
Series CAL fixes and improvements | expand

Message

Tomi Valkeinen March 19, 2020, 7:50 a.m. UTC
Hi,

This is v2 of the series.

Rebased on top of linux-media.

I have resolved most of the comments I got for the v1, although there
were a few from Laurent where I did not agree or didn't know how to
solve the comment.

The series contains a few new patches:

"fix DMA memory corruption" which I previously had sent separately, but
it touches the same parts, so it's easier to have it as part of this
series.

"drop cal_runtime_get/put", which is just a cleanup.

"improve enable_irqs", which is also a cleanup.

 Tomi

Tomi Valkeinen (19):
  media: ti-vpe: cal: fix DMA memory corruption
  media: ti-vpe: cal: improve enable_irqs
  media: ti-vpe: cal: fix use of wrong macro
  media: ti-vpe: cal: use runtime_resume for errata handling
  media: ti-vpe: cal: drop cal_runtime_get/put
  media: ti-vpe: cal: catch error irqs and print errors
  media: ti-vpe: cal: print errors on timeouts
  media: ti-vpe: cal: simplify irq handling
  media: ti-vpe: cal: remove useless CAL_GEN_* macros
  media: ti-vpe: cal: remove useless IRQ defines
  media: ti-vpe: cal: use reg_write_field
  media: ti-vpe: cal: cleanup CIO power enable/disable
  media: ti-vpe: cal: fix dummy read to phy
  media: ti-vpe: cal: program number of lines properly
  media: ti-vpe: cal: set DMA max seg size
  media: ti-vpe: cal: move code to separate functions
  media: ti-vpe: cal: improve wait for CIO resetdone
  media: ti-vpe: cal: improve wait for stop-state
  media: ti-vpe: cal: fix stop state timeout

 drivers/media/platform/ti-vpe/cal.c      | 398 ++++++++++++++---------
 drivers/media/platform/ti-vpe/cal_regs.h |  21 +-
 2 files changed, 245 insertions(+), 174 deletions(-)