1. 04 Apr, 2014 1 commit
  2. 03 Apr, 2014 3 commits
  3. 02 Apr, 2014 8 commits
  4. 01 Apr, 2014 3 commits
  5. 27 Mar, 2014 5 commits
  6. 25 Mar, 2014 1 commit
  7. 20 Mar, 2014 1 commit
  8. 18 Mar, 2014 3 commits
  9. 17 Mar, 2014 8 commits
    • Liu Ying's avatar
      ENGR00303663 mxc v4l2 capture: Don't return error if we cannot get mipi csi2 · 4e76c040
      Liu Ying authored
      The mipi csi2 code is ugly present in the capture pipeline setup/disable
      routions with '#ifdef CONFIG_MXC_MIPI_CSI2/#endif' protected.  Whenever
      it finds mipi_csi2_info is not gotten correctly, it will return error to
      callers.  This breaks the normally routines in which mipi csi2 is not used
      and mipi csi2 driver is disabled in its devicetree node(but with the
      Kconfig CONFIG_MXC_MIPI_CSI2 defined).  A real example is the capture
      feature on the MX6 Sabreauto platforms.  We have only parallel CSI input
      on it and the mipi csi2 driver is disabled in its devicetree node but with
      the Kconfig CONFIG_MXC_MIPI_CSI2 defined.  So, a reasonable choice at present
      is not to return error if mipi_csi2_info cannot be gotten, though we could
      eventually re-organize the capture code for a better total solution in the
      future.
      Signed-off-by: 's avatarLiu Ying <Ying.Liu@freescale.com>
      (cherry picked from commit 8133b7fd26e8b068fa8ab9cd62eae090c76080be)
      4e76c040
    • Sandor Yu's avatar
      ENGR00303308 hdmi:update default video mode setting required by xserver · c855e1c0
      Sandor Yu authored
      xserver will read default video mode in command line by sysfs node
      /sys/class/graphics/fb0/mode, but the sysfs node is not initialized
      when system bootup without hdmi cable plugin
      or frame buffer register in blank state.
      Fixed:
      - Remove unused previous_mode
      - Add default_mode, initialize in disp_init function.
      - Initialize fbi->mode in disp_init function and hdmi_setup function.
      Signed-off-by: 's avatarSandor Yu <R01008@freescale.com>
      c855e1c0
    • Liu Ying's avatar
      ENGR00243315-4 MXC V4L2 Capture:Improve debug info for s_std · 94d23e32
      Liu Ying authored
      commit f8e1a3bb introduced an
      annoying kernel log by changing a pure debug info to error level.
      This patch reverts that change.
      
      Conflicts:
      
      	drivers/media/video/mxc/capture/mxc_v4l2_capture.c
      Signed-off-by: 's avatarLiu Ying <Ying.Liu@freescale.com>
      (cherry picked from commit b635fadfdff01d0f6112956ac903d80c62fd648b)
      94d23e32
    • Liu Ying's avatar
      ENGR00243315-3 MXC V4L2 Capture:Remove unnecessary mclk setting · 3e67a6ae
      Liu Ying authored
      commit f8e1a3bb added a hard
      coding for csi_parma.mclk setting to 27MHz. The comment added by
      that commit is totally wrong by telling that csi_param.mclk
      would be a kind of 'pixel clock' set in 'csi_data_dest' register.
      This patch removes the unnecessary mclk setting for csi_param.mclk
      variable, since it is only valid for CSI test mode.
      
      Conflicts:
      
      	drivers/media/video/mxc/capture/mxc_v4l2_capture.c
      Signed-off-by: 's avatarLiu Ying <Ying.Liu@freescale.com>
      (cherry picked from commit bb5afd554c50b639f1e1b94481b24f35ae8c4dc5)
      3e67a6ae
    • Liu Ying's avatar
      ENGR00243315-2 IPUv3 CSI:Remove test mode clock setting · 74135f03
      Liu Ying authored
      This patch removes test mode clock setting in function
      ipu_csi_init_interface(), since the setting is only
      necessary for function _ipu_csi_set_test_generator().
      This unnecessary setting is added wrongly by commit
      f8e1a3bb.
      Signed-off-by: 's avatarLiu Ying <Ying.Liu@freescale.com>
      (cherry picked from commit 0f395a7aecfd2845df384c7a5a0045c86c3a2e20)
      74135f03
    • Liu Ying's avatar
      ENGR00243315-1 IPUv3 CSI:Correct CCIR code1/2 for PAL and NTSC · ef93b0d9
      Liu Ying authored
      We reversed CCIR code1/2 setting before, which may brings
      captured frame quality issue(jaggy edge can be seen). This
      patch revert that change.
      Signed-off-by: 's avatarLiu Ying <Ying.Liu@freescale.com>
      (cherry picked from commit a4c2228f5428af02b9be87114d096340f9b58083)
      ef93b0d9
    • Liu Ying's avatar
      ENGR00298127-2 ARM: dtsi: imx6qdl sabreauto: Disable mipi csi · 073ced1f
      Liu Ying authored
      As the sabreauto CPU board schematics mentions, the MIPI connector
      isn't mechanically compatible with Freescale MIPI display and camera
      board, then we have no way to support MIPI features currently on
      this platform.  So, let's disable MIPI CSI.
      Signed-off-by: 's avatarLiu Ying <Ying.Liu@freescale.com>
      (cherry picked from commit 453d409281228429270b9f294728e5cad1c63ee0)
      073ced1f
    • Liu Ying's avatar
      ENGR00298127-1 ARM: dtsi: imx6qdl sabreauto: Remove v4l2_cap_1 node · 68ceced4
      Liu Ying authored
      As the sabreauto CPU board schematics mentions, the MIPI connector
      isn't mechanically compatible with Freescale MIPI display and camera
      board, then we have only the parallel CSI video input that is supported
      by the v4l2_cap_0 node.  So, let's remove the orphan one - v4l2_cap_1.
      Signed-off-by: 's avatarLiu Ying <Ying.Liu@freescale.com>
      (cherry picked from commit 1396bc28eac7e968e278a9ce36cdc7a44b0417bd)
      68ceced4
  10. 14 Mar, 2014 2 commits
    • Robby Cai's avatar
      ENGR00302869-2 ARM: imx: imx6qdl: enable cfg_clk to make MIPI CSI2 work · 109f7ee6
      Robby Cai authored
      The following error was reported.
      
      -----------------------------------------------------------
      root@imx6qdlsolo:~# /unit_tests/mxc_v4l2_capture.out -d /dev/video1 1.yuv
      in_width = 176, in_height = 144
      out_width = 176, out_height = 144
      top = 0, left = 0
      mipi csi2 can not receive sensor clk!
      sensor chip is ov5640_mipi_camera
      sensor supported frame size:
       640x480
       320x240
       720x480
       720x576
       1280x720
       1920x1080
       2592x1944
       176x144
       1024x768
      sensor frame format: UYVY
      sensor frame format: UYVY
      sensor frame format: UYVY
      sensor frame format: UYVY
      sensor frame format: UYVY
      sensor frame format: UYVY
      sensor frame format: UYVY
      sensor frame format: UYVY
      sensor frame format: UYVY
      mipi csi2 can not receive sensor clk!
      mxc_v4l2_s_param: vidioc_int_s_parm returned an error -1
      VIDIOC_S_PARM failed
      get format failed
      
      -----------------------------------------------------------
      
      Root cause analysis:
      It only happens when HDMI is not used/enabled. There is a clock named
      video_27m which are needed by HDMI (as isfrclk's parent) and MIPI-CSI2 (as
      cfg_clk's parent). MIPI-CSI2 driver is lack of enabling this clock before
      start to work and only happen to work when HDMI driver enables this clock.
      Signed-off-by: 's avatarRobby Cai <R63905@freescale.com>
      (cherry picked from commit a6bbc7d56f261ab84e04071487264c6a519df758)
      109f7ee6
    • Robby Cai's avatar
      ENGR00302869-1 ARM: dts: imx6qdl: add cfg_clk for MIPI CSI2 · 5d728eb7
      Robby Cai authored
      MIPI CSI2 depends on this clock to work.
      This patch also updates the binding document.
      Signed-off-by: 's avatarRobby Cai <R63905@freescale.com>
      (cherry picked from commit 67e7963f6f7ddb6c001bb34c6af71f2330fd0e3f)
      5d728eb7
  11. 12 Mar, 2014 1 commit
  12. 11 Mar, 2014 2 commits
  13. 06 Mar, 2014 1 commit
  14. 05 Mar, 2014 1 commit