The downstream V2N CSI-2 nodes use the system clocks and omit power domains.
This works while the clocks remain enabled during an early built-in probe,
but a modular probe can abort when validating the lane count after unused
clocks have been disabled.
Signed-off-by: Jian Hui Lee <email address hidden>
The RZ/V2H CSI-2 nodes are not attached to the CPG PM domain. As a
result, the CPG does not manage their module clocks and cru_n_pclk
can be disabled as unused before the modular CSI-2 driver probes.
Signed-off-by: Jian Hui Lee <email address hidden>
2867dd7...
by
Tommaso Merciai <email address hidden>
UBUNTU: SAUCE: (no-up) media: i2c: ov5645: Add suspend/resume support
733c9f4...
by
Tommaso Merciai <email address hidden>
UBUNTU: SAUCE: (no-up) media: i2c: ov5645: Switch to RUNTIME_PM_OPS() and pm_ptr()
Replace SET_RUNTIME_PM_OPS() with RUNTIME_PM_OPS() and use pm_ptr()
for the power management operations. This brings the driver in line
with current kernel power management APIs and prepares for future
deprecations.
c0fb003...
by
Tommaso Merciai <email address hidden>
UBUNTU: SAUCE: (no-up) media: rzg2l-cru: Add suspend/resume support
The CRU has no system sleep hooks, leaving the device in an undefined
state across suspend/resume.
On suspend, stop the pipeline, requeue any buffers held by the hardware
back to the software queue, and assert the resets. On resume, deassert
the resets and restart streaming.
Add a bool running field to track pipeline state. stop_streaming uses it
to skip rzg2l_cru_set_stream() when the pipeline was already stopped by
a failed resume, avoiding a double-stop. Export rzg2l_cru_set_stream()
and add rzg2l_cru_requeue_active_buffers() for use by the PM callbacks.