media: rcar-csi2: Prepare for C-PHY support
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Mon, 24 Apr 2023 18:59:33 +0000 (20:59 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 25 May 2023 14:21:23 +0000 (16:21 +0200)
commite103484c76ab0898e6cf5067b1e3d45019a4fe0b
treec16bbf2caddf29ed7cce8e2e49c445718cca45bc
parenta73116db88299af2c2b2aa69d7df5ccf5a1c6f75
media: rcar-csi2: Prepare for C-PHY support

Gen4 will support both D-PHY and C-PHY, while Gen3 only supports D-PHY.
Add two flags to the device information structure to be able to record
what each SoC supports.

Extend the device node parsing to accept both CSI_2 D-PHY and C-PHY
buses, while at the same time taking the SoC support into account.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
[Sakari Ailus: Line wrap.]
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/renesas/rcar-vin/rcar-csi2.c