Thread (18 messages) flat view 18 messages, 9 authors, 2015-09-30

[PATCH 1/4] s5p-jpeg: generalize clocks handling

From: Jacek Anaszewski <hidden>
Date: 2015-09-18 14:29:37
Also in: linux-media, linux-samsung-soc

Hi Andrzej, Marek,

On 09/18/2015 04:20 PM, Andrzej Pietrasiewicz wrote:
From: Marek Szyprowski <m.szyprowski@samsung.com>

Allow jpeg codec variants declare clocks they need.
Before this patch is applied jpeg-core gets jpeg->sclk
"speculatively": if it is not there, we assume no problem.

This patch eliminates this by explicitly declaring
what clocks are needed for each variant.

This is a preparation for adding Exynos 5433 variant support, which
needs 4 clocks of names not compatible with any previous version of
jpeg hw module.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
[Rebase and commit message]
Signed-off-by: Andrzej Pietrasiewicz <redacted>
---
  drivers/media/platform/s5p-jpeg/jpeg-core.c | 66 ++++++++++++++---------------
  drivers/media/platform/s5p-jpeg/jpeg-core.h | 10 +++--
  2 files changed, 37 insertions(+), 39 deletions(-)
Reviewed-by: Jacek Anaszewski <redacted>

-- 
Best Regards,
Jacek Anaszewski
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help