mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-29 13:57:58 -04:00
Use runtime power management hooks to save power when CSI-RX is not in use. Also, shift to goto based error handling in csi2rx_enable_streams() function Signed-off-by: Changhuang Liang <changhuang.liang@starfivetech.com> Tested-by: Rishikesh Donadkar <r-donadkar@ti.com> Reviewed-by: Rishikesh Donadkar <r-donadkar@ti.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Jai Luthra <jai.luthra@ideasonboard.com> Signed-off-by: Rishikesh Donadkar <r-donadkar@ti.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
31 lines
812 B
Plaintext
31 lines
812 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
comment "Cadence media platform drivers"
|
|
|
|
config VIDEO_CADENCE_CSI2RX
|
|
tristate "Cadence MIPI-CSI2 RX Controller"
|
|
depends on VIDEO_DEV
|
|
depends on PM
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select V4L2_FWNODE
|
|
select GENERIC_PHY
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
help
|
|
Support for the Cadence MIPI CSI2 Receiver controller.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called cdns-csi2rx.
|
|
|
|
config VIDEO_CADENCE_CSI2TX
|
|
tristate "Cadence MIPI-CSI2 TX Controller"
|
|
depends on VIDEO_DEV
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select V4L2_FWNODE
|
|
help
|
|
Support for the Cadence MIPI CSI2 Transceiver controller.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called cdns-csi2tx.
|