soc: amlogic: add meson-canvas driver
authorMaxime Jourdan <mjourdan@baylibre.com>
Thu, 23 Aug 2018 11:49:53 +0000 (13:49 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 13 Sep 2018 04:38:45 +0000 (21:38 -0700)
commitd4983983d98710e4927fdb8de8e987c303b3fba3
tree60753c338e54e10008487e0a9d896d7bfc3a122a
parent5516803d48ed946320aba48fdf45bad383252891
soc: amlogic: add meson-canvas driver

Amlogic SoCs have a repository of 256 canvas which they use to
describe pixel buffers.

They contain metadata like width, height, block mode, endianness [..]

Many IPs within those SoCs like vdec/vpu rely on those canvas to read/write
pixels.

Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/soc/amlogic/Kconfig
drivers/soc/amlogic/Makefile
drivers/soc/amlogic/meson-canvas.c [new file with mode: 0644]
include/linux/soc/amlogic/meson-canvas.h [new file with mode: 0644]