msm: camera: Implements ISPIF HW reset.
1. Add version and ISPs number properties in DT ISPIF node
ISPIF driver needs to know HW version of ISPIF module and number of
ISPs to which it is connected in order to execute proper reset of
ISPIF module. For this purpose, two optional properties for these
are added to ISPIF node. Both properties are optional - if not
present, ISPIF driver will use default values.
2. Resets ISPIF HW
Force hardware reset during hardware start to ensure
all the line buffers are cleared. Reset is done once after first
open of the module. In order to reset module clocks of CSID and ISPs
connected to it should be enabled.
Change-Id: I6570ea45d1211c66fe5d6e80d1d2faa019415b68
Signed-off-by: Petar Sivenov <psiven@codeaurora.org>
7 files changed