mbox series

[v2,0/2] media: rcar-vin: Mask access to VNCSI_IFMD register

Message ID 20201116110428.27338-1-jacopo+renesas@jmondi.org (mailing list archive)
Headers show
Series media: rcar-vin: Mask access to VNCSI_IFMD register | expand

Message

Jacopo Mondi Nov. 16, 2020, 11:04 a.m. UTC
As reported in patch 2/2 commit message the the VNCSI_IFMD register
has the following limitations according to chip manual revision 2.20

- V3M, V3H and E3 do not support the DES1 field has they do not feature
a CSI20 receiver.
- D3 only supports parallel input, and the whole register shall always
be written as 0.

This patch upports the BSP change commit f54697394457
("media: rcar-vin: Fix VnCSI_IFMD register access for r8a77990") from
Koji Matsuoka

Tested on r-car E3 Ebisu.

v1 -> v2:
- Inspect the channel routing table to deduce the availability of DES1/DES0
  bits as suggested by Niklas.

Thanks
   j

Jacopo Mondi (2):
  media: rcar-vin: Remove unused macro
  media: rcar-vin: Mask VNCSI_IFMD register

 drivers/media/platform/rcar-vin/rcar-dma.c | 27 ++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

--
2.29.1