summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2018-04-14 07:57:13 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-20 10:01:12 -0400
commit90dedce9bc5446411fde1229e212a9d2b07cd263 (patch)
tree39c443813a365251e3d347c05ccac02faa8f4ef5 /security
parent4394eb24a8d4088c80886a6823bbc132ac1a320c (diff)
media: rcar-vin: add function to manipulate Gen3 chsel value
On Gen3 the CSI-2 routing is controlled by the VnCSI_IFMD register. One feature of this register is that it's only present in the VIN0 and VIN4 instances. The register in VIN0 controls the routing for VIN0-3 and the register in VIN4 controls routing for VIN4-7. To be able to control routing from a media device this function is need to control runtime PM for the subgroup master (VIN0 and VIN4). The subgroup master must be switched on before the register is manipulated, once the operation is complete it's safe to switch the master off and the new routing will still be in effect. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions