soc: amlogic: canvas: add support for Meson8, Meson8b and Meson8m2
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 20 May 2019 19:43:50 +0000 (21:43 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 23 May 2019 01:19:14 +0000 (18:19 -0700)
commit9a98fdf5b6e635d9d9710f87e1da42aeab12ff0d
treeefde2f37232b4160c3ccb8c105644628e7285f7f
parenta0b2ff531582c510af11b6d548732eb2fd7772ff
soc: amlogic: canvas: add support for Meson8, Meson8b and Meson8m2

The canvas IP on Meson8, Meson8b and Meson8m2 is mostly identical to the
one on GXBB and newer. The only known difference so far is that that the
"endianness" bits are not supported on Meson8m2 and earlier.

Add new compatible strings and a check in meson_canvas_config() to
validate that the endianness bits cannot be configured on the 32-bit
SoCs.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Maxime Jourdan <mjourdan@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/soc/amlogic/meson-canvas.c