WSL2-Linux-Kernel/drivers/media/i2c/adv748x
Laurent Pinchart 50eea4ab91 media: i2c: adv748x: Fix pixel rate values
The pixel rate, as reported by the V4L2_CID_PIXEL_RATE control, must
include both horizontal and vertical blanking. Both the AFE and HDMI
receiver program it incorrectly:

- The HDMI receiver goes to the trouble of removing blanking to compute
the rate of active pixels. This is easy to fix by removing the
computation and returning the incoming pixel clock rate directly.

- The AFE performs similar calculation, while it should simply return
the fixed pixel rate for analog sources, mandated by the ADV748x to be
14.3180180 MHz.

[Niklas: Update AFE fixed pixel rate]

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-25 15:19:38 -04:00
..
Makefile media: i2c: adv748x: add adv748x driver 2017-07-19 16:35:31 -04:00
adv748x-afe.c media: i2c: adv748x: Fix pixel rate values 2018-05-25 15:19:38 -04:00
adv748x-core.c media: i2c: adv748x: Add support for i2c_new_secondary_device 2018-03-21 12:08:30 -04:00
adv748x-csi2.c media: i2c: adv748x: Store the pixel rate ctrl on CSI objects 2017-12-08 10:03:00 -05:00
adv748x-hdmi.c media: i2c: adv748x: Fix pixel rate values 2018-05-25 15:19:38 -04:00
adv748x.h media: i2c: adv748x: Add support for i2c_new_secondary_device 2018-03-21 12:08:30 -04:00