linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/5] media: atmel-isc: Rework the format list and clock provider
@ 2017-10-27  3:21 Wenyou Yang
  2017-10-27  3:21 ` [PATCH v5 1/5] media: atmel-isc: Add spin lock for clock enable ops Wenyou Yang
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Wenyou Yang @ 2017-10-27  3:21 UTC (permalink / raw)
  To: linux-arm-kernel

To improve the readability of code, rework the format list table,
split the format array into two. Meanwhile, fix the issue of the
clock provider operation and the pm runtime support.

Changes in v5:
 - Fix the clock ID which enters the runtime suspend should be
   ISC_ISPCK, instead of ISC_MCK for clk_prepare/clk_unprepare().
 - Fix the clock ID to ISC_ISPCK, instead of ISC_MCK for
   isc_clk_is_enabled().

Changes in v4:
 - Call pm_runtime_get_sync() and pm_runtime_put_sync() in ->prepare
   and ->unprepare callback.
 - Move pm_runtime_enable() call from the complete callback to the
   end of probe.
 - Call pm_runtime_get_sync() and pm_runtime_put_sync() in
   ->is_enabled() callbacks.
 - Call clk_disable_unprepare() in ->remove callback.

Changes in v3:
 - Fix the wrong used spinlock.
 - s/_/- on the subject.
 - Add a new flag for Raw Bayer format to remove MAX_RAW_FMT_INDEX define.
 - Add the comments for define of the format flag.
 - Rebase media_tree/master.

Changes in v2:
 - Add the new patch to remove the unnecessary member from
   isc_subdev_entity struct.
 - Rebase on the patch set,
        [PATCH 0/6] [media] Atmel: Adjustments for seven function implementations
        https://www.mail-archive.com/linux-media at vger.kernel.org/msg118342.html

Wenyou Yang (5):
  media: atmel-isc: Add spin lock for clock enable ops
  media: atmel-isc: Add prepare and unprepare ops
  media: atmel-isc: Enable the clocks during probe
  media: atmel-isc: Remove unnecessary member
  media: atmel-isc: Rework the format list

 drivers/media/platform/atmel/atmel-isc-regs.h |   1 +
 drivers/media/platform/atmel/atmel-isc.c      | 629 ++++++++++++++++++++------
 2 files changed, 498 insertions(+), 132 deletions(-)

-- 
2.13.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-10-30  0:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-27  3:21 [PATCH v5 0/5] media: atmel-isc: Rework the format list and clock provider Wenyou Yang
2017-10-27  3:21 ` [PATCH v5 1/5] media: atmel-isc: Add spin lock for clock enable ops Wenyou Yang
2017-10-27  3:21 ` [PATCH v5 2/5] media: atmel-isc: Add prepare and unprepare ops Wenyou Yang
2017-10-27  3:21 ` [PATCH v5 3/5] media: atmel-isc: Enable the clocks during probe Wenyou Yang
2017-10-27  3:21 ` [PATCH v5 4/5] media: atmel-isc: Remove unnecessary member Wenyou Yang
2017-10-27  3:21 ` [PATCH v5 5/5] media: atmel-isc: Rework the format list Wenyou Yang
2017-10-27 12:41 ` [PATCH v5 0/5] media: atmel-isc: Rework the format list and clock provider Hans Verkuil
2017-10-30  0:25   ` Yang, Wenyou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).