]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: rcar-csi2: Allow specifying C-PHY line order
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 21 Nov 2024 13:41:08 +0000 (14:41 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 19 Dec 2024 11:50:14 +0000 (12:50 +0100)
commitb06ec03b7464fdf235487cb68ce0902df8c34aa6
tree8a3b32f226a805480555c1f3d57120e68dee526f
parent573b4adddbd22baf14c5022b8e4b1dd93bac22ee
media: rcar-csi2: Allow specifying C-PHY line order

Later versions of the V4H datasheet adds documentation for the line
order register needed to support all possible configurations. Extend the
driver to take the line order for each data line into account when
configuring the device.

Unfortunately not all registers initially thought to be involved in line
order configuration where directly related. One magic value is still in
the driver and left as-is, but it is not related to line order as that
procedure have now been documented.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/renesas/rcar-csi2.c