Skip to content

Commit afbdfc7

Browse files
Rishikesh-Dpraneethbajjuri
authored andcommitted
fix: Kernel: CSI: Remove docs for hacky PM
After shifting to new architecture for suspend to RAM making CSI modules inbuilt is not required. Remove the documentation for that. Signed-off-by: Rishikesh Donadkar <[email protected]>
1 parent fc5166c commit afbdfc7

File tree

1 file changed

+0
-69
lines changed
  • source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera

1 file changed

+0
-69
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.rst

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -396,75 +396,6 @@ Enabling camera sensors
396396
The system will automatically wake-up after 5 seconds, and camera streaming
397397
should resume from where it left (as long as the sensor supports it).
398398

399-
.. attention::
400-
401-
Only TEVI OV5640 module is known to work reliably when system is
402-
suspended with capture running. And that too, with the below patch
403-
applied to prevent races between different camera pipeline devices on
404-
system resume. This is due to V4L2 framework's async notifier
405-
limitations, which currently does not support sending notifications
406-
between subdevice drivers on wakeup from suspend state.
407-
408-
409-
The Technexion TEVI-OV5640 module supports this, but it may fail to set the
410-
sensor registers in time when built as a module. You can fix this by making
411-
it a part of the kernel image:
412-
413-
.. code-block:: diff
414-
415-
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
416-
index bb3cd088db44..2262f23cd9ab 100644
417-
--- a/arch/arm64/configs/defconfig
418-
+++ b/arch/arm64/configs/defconfig
419-
@@ -805,7 +805,7 @@ CONFIG_RC_DEVICES=y
420-
CONFIG_IR_GPIO_CIR=m
421-
CONFIG_IR_MESON=m
422-
CONFIG_IR_SUNXI=m
423-
-CONFIG_MEDIA_SUPPORT=m
424-
+CONFIG_MEDIA_SUPPORT=y
425-
CONFIG_MEDIA_CAMERA_SUPPORT=y
426-
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
427-
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
428-
@@ -817,7 +817,7 @@ CONFIG_USB_VIDEO_CLASS=m
429-
CONFIG_V4L_PLATFORM_DRIVERS=y
430-
CONFIG_SDR_PLATFORM_DRIVERS=y
431-
CONFIG_V4L_MEM2MEM_DRIVERS=y
432-
-CONFIG_VIDEO_CADENCE_CSI2RX=m
433-
+CONFIG_VIDEO_CADENCE_CSI2RX=y
434-
CONFIG_VIDEO_WAVE_VPU=m
435-
CONFIG_VIDEO_IMG_VXE_ENC=m
436-
CONFIG_VIDEO_E5010_JPEG_ENC=m
437-
@@ -842,13 +842,13 @@ CONFIG_VIDEO_SAMSUNG_EXYNOS_GSC=m
438-
CONFIG_VIDEO_SAMSUNG_S5P_JPEG=m
439-
CONFIG_VIDEO_SAMSUNG_S5P_MFC=m
440-
CONFIG_VIDEO_SUN6I_CSI=m
441-
-CONFIG_VIDEO_TI_J721E_CSI2RX=m
442-
+CONFIG_VIDEO_TI_J721E_CSI2RX=y
443-
CONFIG_VIDEO_HANTRO=m
444-
CONFIG_VIDEO_IMX219=m
445-
CONFIG_VIDEO_IMX390=m
446-
CONFIG_VIDEO_IMX412=m
447-
CONFIG_VIDEO_OV2312=m
448-
-CONFIG_VIDEO_OV5640=m
449-
+CONFIG_VIDEO_OV5640=y
450-
CONFIG_VIDEO_OV5645=m
451-
CONFIG_VIDEO_OX05B1S=m
452-
CONFIG_VIDEO_DS90UB953=m
453-
@@ -1459,8 +1459,8 @@ CONFIG_PHY_XGENE=y
454-
CONFIG_PHY_CAN_TRANSCEIVER=m
455-
CONFIG_PHY_SUN4I_USB=y
456-
CONFIG_PHY_CADENCE_TORRENT=y
457-
-CONFIG_PHY_CADENCE_DPHY=m
458-
-CONFIG_PHY_CADENCE_DPHY_RX=m
459-
+CONFIG_PHY_CADENCE_DPHY=y
460-
+CONFIG_PHY_CADENCE_DPHY_RX=y
461-
CONFIG_PHY_CADENCE_SIERRA=y
462-
CONFIG_PHY_MIXEL_MIPI_DPHY=m
463-
CONFIG_PHY_FSL_IMX8M_PCIE=y
464-
465-
To re-build the kernel with above changes you can refer to the
466-
:ref:`Users Guide <users-guide-kernel-config>`.
467-
468399
.. ifconfig:: CONFIG_part_variant in ('AM62X')
469400

470401
CSI2RX testing details

0 commit comments

Comments
 (0)