1. 12 Dec, 2012 7 commits
    • Gary Zhang's avatar
      ENGR00236020-1 ALSA: add calling of trigger in machine driver · 3fd920ff
      Gary Zhang authored
      soc_pcm_trigger() calls trigger functions of cpu_dai, codec_dai
      and platform, but the trigger function of machine is not called.
      add calling of trigger in machine driver in soc_pcm_trigger()
      Signed-off-by: default avatarGary Zhang <b13634@freescale.com>
    • Zhang Jiejing's avatar
      ENGR00235817 mx6: use SNVS LPGPR register to store boot mode value. · 240f6356
      Zhang Jiejing authored
      After using POR reset, the content in SRC will be reset.
      See RM: IPP_RESET_B(POR)
      Because POR reset will reset most of register in IC, so use
      SNVS_LP General Purpose Register (LPGPR) to store the boot mode value.
      Below copy from SNVS_BlockGuide.pdf:
      The SNVS_LP General Purpose Register provides a 32 bit read write
      register, which can be used by any application for retaining 32 bit
      data during a power-down mode
      This Patch will use [7,8] bits of this register.
      Signed-off-by: default avatarZhang Jiejing <jiejing.zhang@freescale.com>
    • Chen Liangjun's avatar
      ENGR00236499 ASRC: fix build warning · bbf145bd
      Chen Liangjun authored
      Remove unused function "asrc_get_output_buffer_size()" to fix build
      Signed-off-by: default avatarChen Liangjun <b36089@freescale.com>
    • Sheng Nan's avatar
      ENGR00236196: mxc_vout: add YV12 format support in enum fmt field. · 10ca4201
      Sheng Nan authored
      Since YV12 format is supported in mxc_v4l2_capture, it should be also
      supported in mxc_vout.
      Signed-off-by: default avatarSheng Nan <b38800@freescale.com>
    • Sheng Nan's avatar
      ENGR00235665: mxc_v4l2_capture: add YV12 format support in camera driver · bad76dac
      Sheng Nan authored
      Android CTS verifier have a must requirement for YV12 format. Since IPUv3
      common driver has supported IPU_PIX_FMT_YVU420P pixel format, add the
      support of YV12 format in mxc_v4l2_capture.
      Signed-off-by: default avatarSheng Nan <b38800@freescale.com>
    • make shi's avatar
      ENGR00236031 MX6 USB :Change default USB H1 and OTG driver load order · e0f0b6b1
      make shi authored
      In current linux BSP USB H1 driver default load before otg driver load,
      which cause USBx not match the ehci controller number. like bellow:
      root@freescale /sys/devices/platform/fsl-ehci.0$ ls
      driver     modalias   pools      power      subsystem  uevent     usb2
      root@freescale /sys/devices/platform/fsl-ehci.1$ ls
      driver     modalias   pools      power      subsystem  uevent     usb1
      Signed-off-by: default avatarmake shi <b15407@freescale.com>
    • Hongzhang Yang's avatar
      ENGR00232530 Refine VPU suspend/resume according to open_count · 1bd8372f
      Hongzhang Yang authored
      1. Refine VPU suspend/resume according to open_count to completely
      fix bug: ENGR00230203 [Android_MX6DL_SD] Gallery: System hang
      after resume from suspend during video playback. 20%
      open_count == 0 case can be simplified because VPU is released
      (all instances are freed), so
      - clock is already off
      - context is no longer needed
      - power is already off on MX6
      VPU reset is removed from resume because power is ensured to be off
      before entering resume on MX6 by calling regulator API.
      2. Fix bug: VPU always busy after suspend/resume
      Error log (VPU refused to suspend due to VPU busy):
      pm_op(): platform_pm_suspend+0x0/0x54 returns -11
      PM: Device mxc_vpu failed to suspend: error -11
      PM: Some devices failed to suspend
      Root cause:
      - Suspend happened during vpu_Init(), somewhere after VPU lib started
        to download FW (when PC == 0), but before run FW. (BIT_BUSY_FLAG=1,
      - In such case, VPU resume downloaded FW and run VPU to idle because
        suspend was triggered after VPU was opened (active).
      - vpu_Init run VPU again with BIT_BUSY_FLAG=1. So VPU was trapped in
        idle loop but BIT_BUSY_FLAG was never cleared. VPU lib regarded VPU
        as always busy.
      Solution (in VPU resume):
      - run VPU FW only if VPU was opened and PC before suspend is not 0
      - restore host register is required
      - download FW is required, because program memory is lost after power
      Signed-off-by: default avatarHongzhang Yang <Hongzhang.Yang@freescale.com>
  2. 06 Dec, 2012 1 commit
  3. 05 Dec, 2012 3 commits
    • Fugang Duan's avatar
      ENGR00235626 FEC: Enable phy pause frame feature · 9bddd73f
      Fugang Duan authored
      Since some ethernet MAC flow control is relied on phy pause
      status, both link partners exchange information via auto neg to
      determine if both parties are capable of flow control.
      Advertise phy pause frame to avoid pause frame is not responsed
      by the other net node.
      Signed-off-by: default avatarFugang Duan  <B38611@freescale.com>
    • make shi's avatar
      ENGR00235630 MX6 USB :fix USB does not work when plug in device during suspend · 3f671aba
      make shi authored
      USB does not work when plug in a usb device during system suspend. Under this
      case, USB driver will be in low power mode, but WIE bit not be set if usb wake
      up is not enabled.So there are only ID change interrupt no USB wakeup interrupt
      after system resume.In current bsp, after system resume ID change status not be
      clear,and ID change interrupt will continue happen, which cause the system busy.
      No checking WIR bit if ID change interrupt happen when USB in low power mode to
      fix this issue.
      Signed-off-by: default avatarmake shi <b15407@freescale.com>
    • make shi's avatar
      ENGR00234722 USB: fix Kernel dump issue after USB driver loadable · 521a7f7a
      make shi authored
      - It is better to disable otgsc and wake up interrupt to avoid an
        abnormal interrupt happen during USB driver being removed.
      - If the USB host is already at low power mode, only need turn on
        the clock, no need turn off the clock.
      - Need discharge dp and dm during USB driver being removed ,in order
        to avoid a wakeup interrupt happen. And if the USB otg is in host
        mode, we should clear discharge dp and dm in fsl_otg_set_host()
        during system boot up.
      Signed-off-by: default avatarmake shi <b15407@freescale.com>
  4. 29 Nov, 2012 4 commits
  5. 28 Nov, 2012 17 commits
  6. 26 Nov, 2012 1 commit
  7. 20 Nov, 2012 1 commit
    • Robin Gong's avatar
      ENGR00234217 cpufreq:fix loops_per_jiffy wrong on new suspend flow of cpufreq · f7df0060
      Robin Gong authored
      Currently, we use pm_notifier to enter suspend/resume flow. But in the notifier
      we only set cpufreq, didn't tell CPUFREQ core what the current cpufreq setting
      now. So in the next time if CPUFREQ core find the current cpu frequncy is not
      the value that CPUFREQ core want to set before. CPUFREQ core will force to set
      the freqs.old with its own rule, which means the freqs.old will be MODIFYED
      unexpectedly, and this will cause wrong loops_per_jiffy. We need add cpufreq_
      notify_transition in the suspend/resume interface of cpufreq.
      Signed-off-by: default avatarRobin Gong <b38343@freescale.com>
  8. 19 Nov, 2012 6 commits