media: ov8856: Add devicetree support
authorRobert Foss <robert.foss@linaro.org>
Mon, 11 May 2020 11:03:49 +0000 (13:03 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 25 May 2020 13:41:01 +0000 (15:41 +0200)
commit0c2c7a1e0d69221b9d489bfd8cf53262d6f82446
tree1334c0569d4c124cc0b85984b0698c82ec8b437f
parent932300e6c3e0ce80d7fb275ce32a93db41e90546
media: ov8856: Add devicetree support

Add match table, enable ov8856_probe() to support
both ACPI and DT modes.

ACPI and DT modes are primarily distinguished from
by checking for ACPI mode and by having resource like
be NULL.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov8856.c