linux/drivers/media/i2c/adv748x
Jacopo Mondi 147d5ea15c media: i2c: adv748x: Adjust TXA data lanes number
When outputting SD-Core output through the TXA MIPI CSI-2 interface,
the number of enabled data lanes should be reduced in order to guarantee
that the two video formats produced by the SD-Core (480i and 576i)
generate a MIPI CSI-2 link clock frequency compatible with the MIPI D-PHY
specifications.

Limit the number of enabled data lanes to 2, which is guaranteed to
support 480i and 576i formats.

Cache the number of enabled data lanes to be able to report it through
the new get_mbus_config operation.

Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-08-18 15:48:50 +02:00
..
adv748x-afe.c media: adv748x: Store the TX sink in HDMI/AFE 2019-02-18 11:03:52 -05:00
adv748x-core.c media: i2c: adv748x: Adjust TXA data lanes number 2020-08-18 15:48:50 +02:00
adv748x-csi2.c media: adv748x: Store the TX sink in HDMI/AFE 2019-02-18 11:03:52 -05:00
adv748x-hdmi.c media: adv748x: Store the TX sink in HDMI/AFE 2019-02-18 11:03:52 -05:00
adv748x.h media: i2c: adv748x: Adjust TXA data lanes number 2020-08-18 15:48:50 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00