1. 20 Nov, 2018 1 commit
  2. 14 Nov, 2018 1 commit
  3. 19 Oct, 2018 2 commits
  4. 17 Oct, 2018 1 commit
  5. 16 Oct, 2018 1 commit
  6. 31 Aug, 2018 1 commit
  7. 21 Aug, 2018 1 commit
  8. 16 Aug, 2018 1 commit
  9. 13 Aug, 2018 1 commit
    • Ye Li's avatar
      MLK-19157 imx8mm_evk: Disable dsi panel before booting kernel · 4d436d59
      Ye Li authored
      Pull down the DSI_EN gpio to disable mipi dsi panel before booting kernel.
      This avoids display full yellow screen before kernel mipi driver probes
      the device.
      
      For MIPI2HDMI card, this DSI_EN gpio is not used. So nothing impact to it.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit e73adc9a139f2e8bb92bda1631fa2f2391a8a5e3)
      4d436d59
  10. 25 Jul, 2018 1 commit
  11. 20 Jul, 2018 1 commit
  12. 19 Jul, 2018 1 commit
    • Ye Li's avatar
      MLK-18945-10 imx8mm_evk: Add splash screen support for MIPI DSI · 41f896ce
      Ye Li authored
      Add board level codes for enabling splash screen on imx8mm EVK. We
      support two different display connecting to MIPI DSI miniSAS interfaces:
      
      1. MIPI2HDMI daughter card (default)
      2. RM67191 OLED panel
      
      Users can set "panel" env vairable to "MIPI2HDMI" or "RM67191_OLED" to
      switch them after reboot.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      41f896ce
  13. 18 Jul, 2018 1 commit
  14. 16 Jul, 2018 1 commit
  15. 06 Jul, 2018 2 commits
  16. 04 Jul, 2018 3 commits
    • Luo Ji's avatar
      MA-12124 [Android] Fix build warnings for u-boot · e93d389b
      Luo Ji authored
      Fix build warnings in u-boot.
      
      Change-Id: I1944657d2d89a03c0d2303a22a09538dfaa5fd2c
      Signed-off-by: default avatarLuo Ji <ji.luo@nxp.com>
      e93d389b
    • Braden Kell's avatar
      [iot] Move i2c_setup calls to board_init · dc8239ed
      Braden Kell authored
      i2c_setup calls force_idle_bus which calls
      get_timer if SDA and SCL are not high. On the Pico
      baseboard there are level shifters that pull SDA
      and SCL high, but the test harness does not have
      pull-ups on these lines. Because
      board_early_init_f is called before timer_init the
      call to get_timer was causing a divide-by-zero
      error due to CNTFRQ not being initialized. Moving
      the i2c_setup calls to board_init fixes this
      issue. power_init_board (which uses I2C to
      configure the PMIC) is called after board_init, so
      this should be safe.
      
      Bug:
      Test: PMIC registers are read correctly on both
            boards (DEV_ID=0x30 REV_ID=0x11)
      Test: iMX7D SOM boots on Pico baseboard
      Test: iMX7D SOM boots on test harness
      Change-Id: Iecdd28f3177fe915a3b614565d8dfa6e20e6a842
      dc8239ed
    • Haoran.Wang's avatar
      [iot] Add imx8m-phanbell support · 5ffdf45d
      Haoran.Wang authored
      Change-Id: Ic0839045e3c13e6577a8f3e449c69f4f30f958b2
      Signed-off-by: default avatarHaoran.Wang <elven.wang@nxp.com>
      5ffdf45d
  17. 26 Jun, 2018 1 commit
    • Ye Li's avatar
      MLK-18654-4 imx8mm_evk: Enable SPL SDP for iMX8MM EVK board · 619dd4df
      Ye Li authored
      Enable the SPL SDP for iMX8MM EVK. So that when booting from USB serial
      download mode, the SPL will enter SDP to download FIT image from USB host
      (uuu tool) and boot into FIT image.
      
      The SDP driver needs larger malloc pool size, so extend the SPL malloc pool
      to 12KB and reduce the SPL BSS MAX to 4KB because BSS actual size is about 1KB.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      (cherry picked from commit deb9c2bbebc4958ff35157159f68272ce1746143)
      619dd4df
  18. 22 Jun, 2018 1 commit
  19. 18 Jun, 2018 1 commit
  20. 13 Jun, 2018 1 commit
    • Peng Fan's avatar
      MLK-18577-7 imx8qm: mek: support uboot in vm · a4e932ca
      Peng Fan authored
      We are targeting let uboot loading images from emmc to boot android.
      Currently only emmc1 is enabled, so other devices are disabled.
      
      Also change memory layout according to VM layout. The memory layout
      needs to be samesize as what you configured in as "memory = "3584"".
      
      Add a new dts dedicated for this kind uboot, add a new defconfig
      to select CONFIG_XEN/CONFIG_XEN_DEBUG_SERIAL, deselect CONFIG_DM_SERIAL,
      select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices
      compared with imx8qm_mek_androidauto_defconfig.
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      a4e932ca
  21. 31 May, 2018 4 commits
    • Ye Li's avatar
      MLK-18437-5 imx8mm_evk: Implement the board_ehci_usb_phy_mode · 5a4408c7
      Ye Li authored
      Add the board_ehci_usb_phy_mode in board codes to overwrite the default
      in ehci-mx6 driver. Since the DRP is enabled in tcpc, we use the feature
      in board_ehci_usb_phy_mode to detect current role. Then driver can
      assign correct role type to board_usb_init and board_usb_cleanup.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      5a4408c7
    • Ye Li's avatar
      MLK-18437-4 tcpc: Enable DRP when setting DFP or UFP · 9617e630
      Ye Li authored
      Enable the DRP, so the tcpc can try to toggle the role. This helps to
      determine the current role when we don't know whether device or host is
      connected.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      9617e630
    • Ye Li's avatar
      MLK-18437-3 imx8mm_evk: Implement the PD switch callback for NX20P3483 · 7be626ee
      Ye Li authored
      Since the PD switch callback is added to tcpc driver, we move the
      NX20P3483 settings to this callback to exit DB and set OVP.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      7be626ee
    • Ye Li's avatar
      MLK-18437-2 tcpc: Add external PD switch call back · 30004c6b
      Ye Li authored
      Introduce a callback function to setup external PD switch. When PD
      process is enabled, we call this function only when SINK_VBUS is enabled
      to avoid system power shut down.
      When PD process is disabled, since the tcpc and external PD switch may
      still in dead battery mode, set them to exit dead battery.
      
      This patch is used to fix two issues on iMX8MM EVK:
      
      1. When power on the board, by default the PTN5110 and NX20P3483 will
         enter dead battery mode. But for some cases, like timing issue for PTN5110
         and NX20P3483 (refer rework instructions CQ6), and when dual port are plugin
         power sources. There are possibility the PTN5110 does not enter dead battery mode,
         but NX20P3483 is in dead battery. So for the USB2 primary power port, we has to check
         SINK_VBUS before NX20P3483 exits dead battery, otherwise the system power will shut down
      
      2. For the USB1 port, when dual port are plugin power sources. We need to set both
         PTN5110 and NX20P3483 exit dead battery. Otherwise this port can't work for normal
         host/device mode.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      30004c6b
  22. 29 May, 2018 1 commit
  23. 24 May, 2018 2 commits
  24. 18 May, 2018 1 commit
  25. 17 May, 2018 1 commit
  26. 15 May, 2018 2 commits
  27. 11 May, 2018 4 commits
    • Ye Li's avatar
      MLK-18290-5 imx8mm_evk: Add board codes for USB · 62dab684
      Ye Li authored
      Enable the USB host and device support, add relvent board level codes
      and settings.
      
      For device mode, the gadget is fixed on USB device 0. Can't support
      gadget on USB device 1.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Acked-by: default avatarPeng Fan <peng.fan@nxp.com>
      62dab684
    • Ye Li's avatar
      MLK-18289-2 imx8mm_evk: Add codes to setup typec PD charging · e3579303
      Ye Li authored
      On iMX8MM EVK, the USB2 port is the primary power supply, when USB2 is charging,
      the 3483_EN_SNK1 is not enabled. In the board, we init the tcpc of USB2 first with
      PD enabled. If it is charging, when init the tcpc of USB1 we disable the PD,
      otherwise we enable PD on USB1.
      
      The USB PD switch NX20P3438 needs to exit dead battery mode before
      enable EN_SINK, otherwise the OVP is fixed at 6.8V. Also the OVP threshold needs set to
      23V, when we switch to use 20V VBUS input.
      
      Due to HW issue, after we switched to 9V/20V, set on/off button to off then set back it to
      on, the board can't power up. In this patch we limit the voltage to 5V, will change back
      to 9V/20V when HW fixes the issue.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Acked-by: default avatarPeng Fan <peng.fan@nxp.com>
      e3579303
    • Ye Li's avatar
      MLK-18289-1 tcpc: Update driver to support two ports logic · 867b0263
      Ye Li authored
      On iMX8MM EVK, there are two USB ports. Both can support USB PD, but
      with USB2 has HW priority.
      
      So we Change tcpc_pd_sink_check_charging to public function and
      use it to know whether the USB tcpc is power charging.
      
      Additional, add disable_pd to init config. So we can disable PD session
      for uncharged or lower priority port.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      867b0263
    • Ye Li's avatar
      MLK-18288 imx8mm_evk: Fix USDHC2 CD issue · a5dd1efd
      Ye Li authored
      The CD pin on SD2 socket is not connected by hardware, because this pin
      is used as ALERT pin of PTN5110. So we have to use DAT3 for CD detection.
      
      Since the USDHC driver does not support using DAT3 for CD, we have set this
      port to non-removable in DTS. In SPL, we switch the pad setting of DAT3 for
      CD detecting.
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      a5dd1efd
  28. 10 May, 2018 1 commit