OSDN Git Service

media: arch: sh: ap325rxa: Use new renesas-ceu camera driver
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Mon, 28 May 2018 16:37:11 +0000 (12:37 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 11:29:00 +0000 (07:29 -0400)
commit39fb993038e158d4cbba47f6dbda6fe77a0e8cb9
treef7997d16da0c09010dd49bf4d91896643fca8391
parent1a3c230b415169b7110a5d937145a56fc12b13bf
media: arch: sh: ap325rxa: Use new renesas-ceu camera driver

Use the new renesas-ceu camera driver in ap325rxa board file instead of
the soc_camera based sh_mobile_ceu_camera driver.

Get rid of soc_camera specific components, and register CEU0 with a single
video sensor (ov7725).

Memory for the CEU video buffers is now reserved with membocks APIs
and need to be declared as dma_coherent during machine initialization to
remove that architecture specific part from CEU driver.

The ap325rxa board file registers another camera (ncm03j) for which I found no
driver in mainline kernel version, and that was configured/probed by sending
i2c messages (of 'magic blobs) from the board file itself. I removed the
sensor registration from this new version as it used soc_camera components
that will be later removed.

While at there update license to SPDX header and sort headers alphabetically.

Compile tested only.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
arch/sh/boards/mach-ap325rxa/setup.c
arch/sh/kernel/cpu/sh4a/clock-sh7723.c