02 Aug, 2023

2 commits


08 May, 2023

1 commit


03 May, 2023

1 commit


15 Nov, 2022

1 commit

  • As the eDMA can NOT work well on i.MX93 A0 silicon, lpuart/lpspi use
    CPU mode for data transfer. when the cpuidle is enabled, the IRQ
    response latency will increase, then lead to lpuart/lpspi test failure
    in high baudrate mode.

    Enlarge the cpuidle latency setting to let cpu has less changce to enter
    low powe mode state to mitigate the latency impacted for lpuart/lpspi
    high baudrate mode as much as possible.

    this is just a workaround to partially improve the case, it can works
    well most of the time. it is not a solid fix. if still meet issue in real
    case on A0 silicon, user should use cpu_dma_latency setting or disable cpuidle
    as needed.

    Signed-off-by: Jacky Bai
    Reviewed-by: Peng Fan
    Acked-by: Jason Liu

    Jacky Bai
     

10 Nov, 2022

1 commit

  • Without this patch, the initial video_pll1 rate is 594MHz, so the pixel
    clock rate of RM67199 MIPI DSI panel would derive from it and get 118.8MHz.
    With that pixel clock rate, it turns out the panel fails to show weston
    GUI at the first time weston GUI starts though the Linux boot logo penguins
    can be shown correctly. Based on experiments, the issue can be avoided
    if the panel driver does not call mipi_dsi_dcs_get_display_brightness()
    in ->get_brightness() callback at the Linux boot logo penguin stage. If
    the system finishes a full reboot cycle, the issue doesn't happen since
    the backlight brightness won't be gotten at that boot logo stage. The
    root cause of the issue is unclear. To workaround this issue, align the
    pixel clock rate with the same panel's pixel clock rate on i.MX8mp EVK,
    which is 115.5MHz and derived from 1.0395GHz video PLL. RM67191 MIPI DSI
    panel display and ADV7535 DSI to HDMI display are ok after applying this
    patch. The only impact is the refresh rate of the MIPI DSI panels would
    be a little bit lower, but it aligns with i.MX8mp EVK.

    Reviewed-by: Sandor Yu
    Signed-off-by: Liu Ying
    Acked-by: Jason Liu

    Liu Ying
     

07 Nov, 2022

3 commits

  • Up until now, the external MDIO controller frequency values relied
    either on the default ones out of reset or on those setup by u-boot.
    Let's just properly specify the MDC frequency in the DTS so that even
    without u-boot's intervention Linux can drive the MDIO bus.

    Fixes: 0420dde30a90 ("arm64: dts: ls208xa: add the external MDIO nodes")
    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     
  • Up until now, the external MDIO controller frequency values relied
    either on the default ones out of reset or on those setup by u-boot.
    Let's just properly specify the MDC frequency in the DTS so that even
    without u-boot's intervention Linux can drive the MDIO bus.

    Fixes: bbe75af7b092 ("arm64: dts: ls1088a: add external MDIO device nodes")
    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     
  • Up until now, the external MDIO controller frequency values relied
    either on the default ones out of reset or on those setup by u-boot.
    Let's just properly specify the MDC frequency in the DTS so that even
    without u-boot's intervention Linux can drive the MDIO bus.

    Fixes: 6e1b8fae892d ("arm64: dts: lx2160a: add emdio1 node")
    Fixes: 5705b9dcda57 ("arm64: dts: lx2160a: add emdio2 node")
    Signed-off-by: Ioana Ciornei

    Ioana Ciornei
     

26 Oct, 2022

2 commits


25 Oct, 2022

4 commits

  • NXP vendor tree is using a private busfreq [1] driver to do ddr and
    bus fabric scalling rather than using upstream ddrc & interconnect
    driver which is still immature. And actually there's no i.MX driver users
    of ICC in current vendor kernel. So removing them in order to avoid
    confusing to customers.

    Some other vendor dtbs using those nodes are also disabled to avoid
    build break.

    1. drivers/soc/imx/busfreq-imx8mq.c

    Reviewed-by: Jacky Bai
    Reviewed-by: Peng Fan
    Signed-off-by: Dong Aisheng

    Dong Aisheng
     
  • NXP vendor tree is using a private busfreq [1] driver to do ddr and
    bus fabric scalling rather than using upstream ddrc & interconnect
    driver which is still immature. And actually there's no i.MX driver users
    of ICC in current vendor kernel. So removing them in order to avoid
    confusing to customers.

    Some other vendor dtbs using those nodes are also disabled to avoid
    build break.

    1. drivers/soc/imx/busfreq-imx8mq.c

    Reviewed-by: Jacky Bai
    Reviewed-by: Peng Fan
    Signed-off-by: Dong Aisheng

    Dong Aisheng
     
  • NXP vendor tree is using a private busfreq [1] driver to do ddr and
    bus fabric scalling rather than using upstream ddrc & interconnect
    driver which is still immature. And actually there's no i.MX driver users
    of ICC in current vendor kernel. So removing them in order to avoid
    confusing to customers.

    Some other vendor dtbs using those nodes are also disabled to avoid
    build break.

    1. drivers/soc/imx/busfreq-imx8mq.c

    Reviewed-by: Jacky Bai
    Reviewed-by: Peng Fan
    Signed-off-by: Dong Aisheng

    Dong Aisheng
     
  • NXP vendor tree is using a private busfreq [1] driver to do ddr and
    bus fabric scalling rather than using upstream ddrc & interconnect
    driver which is still immature. And actually there's no i.MX driver users
    of ICC in current vendor kernel. So removing them in order to avoid
    confusing to customers.

    Some other vendor dtbs using those nodes are also disabled to avoid
    build break.

    1. drivers/soc/imx/busfreq-imx8mq.c

    Reviewed-by: Jacky Bai
    Reviewed-by: Peng Fan
    Signed-off-by: Dong Aisheng

    Dong Aisheng
     

21 Oct, 2022

3 commits


20 Oct, 2022

1 commit


19 Oct, 2022

3 commits


18 Oct, 2022

1 commit


17 Oct, 2022

2 commits


14 Oct, 2022

1 commit

  • Currently, hsio_root clock rate is 24MHz which is not on its optimal
    status. Change it to 133MHz.

    Before:
    osc_24m 9 9 0 24000000 0 0 50000 Y
    hsio_root 2 2 0 24000000 0 0 50000 Y
    usb_controller 1 1 0 24000000 0 0 50000 Y

    After:
    sys_pll_pfd1 1 1 0 800000000 0 0 50000 Y
    sys_pll_pfd1_div2 8 9 0 400000000 0 0 50000 Y
    hsio_root 1 1 0 133333334 0 0 50000 Y
    usb_controller 0 0 0 133333334 0 0 50000 N

    Signed-off-by: Xu Yang
    Reviewed-by: Li Jun

    Xu Yang
     

13 Oct, 2022

1 commit

  • Need to support IW612 on imx8mn evk board through the micro-sd slot.
    - insert IW612 2EL module + muRata M.2-to-usd adapter into micro-SD slot
    - no BT support

    Note: Since IW612 wifi chip needs more delay than other wifi chips to
    complete the host interface initialization after power up, otherwise the
    internal state of IW612 may be unstable, resulting in the failure of the
    SDIO3.0 switch voltage, so need to add 20ms regulator startup delay for
    IW612.

    Signed-off-by: Sherry Sun
    Reviewed-by: Haibo Chen

    Sherry Sun
     

12 Oct, 2022

7 commits


11 Oct, 2022

2 commits


10 Oct, 2022

4 commits

  • The SCMI PD for HIFI4 DSP is missed. DSP can work after boot, because
    SPL has enabled its PS and SRAM by default, and ATF enables HIFI4 PS
    with DSI PS and keeps SRAM during APD suspend/resume. But once RTD is
    suspend/resume, HIFI4's SRAM power is disabled, and no one will enable
    it, this causes issue to use DSP afterward.

    Signed-off-by: Ye Li
    Reviewed-by: Jacky Bai

    Ye Li
     
  • There are two issues in current USDHC clocks setting:
    1. The PLL3 PFD2 maximum frequency is 332Mhz, we can't set it to 389Mhz
    as USDHC clock parent. Because PLL3 PFD0 is used for NIC, PFD1 is used
    for audio, the only choice is PFD3 which can reach to 400Mhz.

    2. USDHC1 and USDHC2 maximum PCC clock rate is 200Mhz in OD, and 100Mhz in
    ND/LD, when PTE or PTF is used.

    The patch adjusts clock parent to PLL3 PFD3 DIV1 for USDHC0, PLL3
    PFD3 DIV2 for USDHC1 and USDHC2. And set the max rate to meet restrictions.

    Signed-off-by: Ye Li
    Reviewed-by: Haibo Chen

    Ye Li
     
  • The audio power enable pin for wm8962 sound card is GPIO16 of pcal6524
    IO expander.

    Reviewed-by: Shengjiu Wang
    Signed-off-by: Chancel Liu

    Chancel Liu
     
  • Enabe wm8962 sound card on imx93-9x9 quick start board. The SAI used
    by this card works on synchronous mode. Both the transmitter and
    receiver use the receiver bit clock and frame sync in this mode.

    Reviewed-by: Shengjiu Wang
    Signed-off-by: Chancel Liu

    Chancel Liu