media: camss: Make ISPIF subdevice optional
authorRobert Foss <robert.foss@linaro.org>
Tue, 16 Mar 2021 17:19:14 +0000 (18:19 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 11:19:49 +0000 (12:19 +0100)
commit9d95baf9fcf8aa606c8cee8ac613c7aca32769de
tree2121ef2201db567769b6a60f0a52d90cdd23451c
parent96387cffeb7230e7523c5c13d90838191e89fcff
media: camss: Make ISPIF subdevice optional

This driver supports multiple architecture versions of the Qualcomm ISP.
The CAMSS architecure which this driver is name after, and with the
introduction of this series, the Titan architecture.

The ISPIF is an IP-block that is only present in the CAMSS generation of
the architecture. In order to support the Titan generation, make the
ISPIF an optional subdevice.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/qcom/camss/camss-ispif.c
drivers/media/platform/qcom/camss/camss-ispif.h
drivers/media/platform/qcom/camss/camss.c
drivers/media/platform/qcom/camss/camss.h