26 Feb, 2019

4 commits


25 Feb, 2019

3 commits


23 Feb, 2019

4 commits


22 Feb, 2019

10 commits

  • After fix the ADMA length mismatch issue on imx8mm, we can
    support eMMC CMDQ, so enable it. This patch also make imx8mm
    support HS400ES mode.

    Signed-off-by: Haibo Chen
    (cherry picked from commit 861d1d962e90f1244bfc8249d111c633c9c038ca)

    Haibo Chen
     
  • After system suspend, CQE is in cqhci_off state, which set the HALT bit, make
    CQE in HALT state. If the SoC do not power down the USDHC module, then when
    system resume back, this bit keep the same, still set. So need to clear this
    bit when enable CQE for the first request after system resume back. If not,
    imx8mm will stuck in the first CMDQ request after system resume back. On
    imx8qxp and imx8qm, we do not find this issue because usdhc module lost power
    during system suspend/resume, and all the register return to the default reset
    value, and the reset value of bit HALT is 0.

    Signed-off-by: Haibo Chen
    (cherry picked from commit 49d6f5d5cca3a66fa65568a50f75cbbac87ba312)

    Haibo Chen
     
  • the commit 885c943ca13d ("ENGR00288842 mmc: sdhci-esdhc-imx: add
    ADMA Length Mismatch errata fix") involve the fix of ERR004536.
    But double confirm with IC, need to clear the bit 7 of register
    0x6c rather than set this bit 7.
    here is the function of bit 7 of 0x6c:
    0: enable the new IC fix for ERR004536
    1: do not use the IC fix, keep the same as before

    Due to the reset value of this bit 7 is 0, and ROM code also do not
    touch this bit 7, so this patch directly remove the operation of this
    bit 7, make sure the fix of ERR004536 can work.

    Note, for all versons of 6DQP 6DQ 6DL and 6SL, IC do not has this
    hardware fix, so writing this bit has no effect and we keep using
    ADMA as before which has been used for several years with the
    consideration of no performance drop.

    For other SoC like imx6SLL imx6SX imx6UL/imx6ULL imx7 imx8, IC already
    contain this hareware fix, so must make sure the bit 7 of the register
    0x6c is 0. If not, we meet the ADMA length mismatch error on imx8mm-evk
    and imx8qxp-ddr3l-val board when enable CMDQ.

    Signed-off-by: Haibo Chen
    (cherry picked from commit 2ea2f2b374545ff63a714fabc16c0d7c6b3b47b6)

    Haibo Chen
     
  • the data is invalid in first read for dma registers,
    add second read to get the correct register data.

    Signed-off-by: Xianzhong
    (cherry picked from commit 90ee1cbacb7794eb4db0cfa0e8b6d0bb2ed45bf6)

    Xianzhong
     
  • The default watchdog action is partition reset now, so no need kernel
    to take care. Besides, scfw full test case may set other watchdog
    action but kernel may set it back later to default partition reset
    which scfw wouldn't expect, so avoid touching watchdog action.
    Please modify scfw code in case changing watchdog action to board
    reset.

    Signed-off-by: Robin Gong
    Reviewed-by: Anson Huang

    Robin Gong
     
  • Add new dts and dtsi file for virtual i2c driver on i.MX8QXP and i.MX8QM
    board.

    Merge fsl-imx8qm/8qxp-mek-m4.dts to fsl-imx8qm/8qxp-mek-rpmsg.dtsi. So
    delete these two files.

    Signed-off-by: Clark Wang

    Clark Wang
     
  • Enable RPBUS(i2c-rpmsg-imx.c) and RPMSG functions.

    Signed-off-by: Clark Wang

    Clark Wang
     
  • cs42xx8 will call regcache_sync to refresh its register cache. However,
    it will send a long msg which length is greater than the max buffer size
    of virtual i2c driver. It will cause the regcache_sync operation failed.
    So, use the single read/write to send i2c msg in regcache functions.

    Signed-off-by: Clark Wang

    Clark Wang
     
  • For the virtual i2c driver should be initialized in subsystem before the
    other modules initialize. So, the imx_rpmsg and virtio_rpmsg_bus should
    be initialized before virtual i2c driver. Now, use arch_initcall to
    initialize these two modules.

    Signed-off-by: Clark Wang

    Clark Wang
     
  • Add virtual i2c driver to send SRTM i2c messages to M4.
    Each virtual I2C bus has a specal bus id, which is abstracted by M4.
    Each SRTM message include a bus id for the bus which the device is on.

    Virtual i2c rpmsg bus will bind rpbus nodes with compatible string
    "fsl,i2c-rpbus". And "rpmsg-i2c-channel" will probe only one rpmsg
    channel for all rpbuses.

    This virtual i2c driver depends on CONFIG_I2C and CONFIG_RPMSG.

    Signed-off-by: Clark Wang

    Clark Wang
     

21 Feb, 2019

4 commits


20 Feb, 2019

5 commits


19 Feb, 2019

2 commits

  • The following commit:

    459a5fac54d - MLK-20263: drm/imx/dcss: fix channel-0 line shift

    removed the 5 tap filter for vertical luma/chroma when YUV formats were
    used.

    Problem is that when the 7 tap filter is used for vertical luma/chroma,
    artifacts can be seen on screen when scaling.

    RGB can, however, function correctly with only 7 tap filter.

    This patch partially reverts the above patch and also does some cosmetic
    changes when calling the dcss_scaler_filter_design() using false/true
    instead of 0/1 for use_5_taps argument.

    Signed-off-by: Laurentiu Palcu

    Laurentiu Palcu
     
  • i.MX8QXP has separated irq, and shared irq for lpuart with eDMA,
    it is better for uart to use separated irq although there has
    no function impact.

    Reviewed-by: Robin Gong
    Signed-off-by: Fugang Duan

    Andy Duan
     

18 Feb, 2019

1 commit


15 Feb, 2019

5 commits

  • Add the speeding grading fuse check to limit the highest speed
    of cpu. fuse bits value define as below:
    speed_grading bits[1:0] freq(MHz)
    0x0 800
    0x1 1000
    0x2 1300
    0x3 1500

    Signed-off-by: Jacky Bai
    Reviewed-by: Anson Huang
    (cherry picked from commit 0b42acc89cc8752c4a952c116c7905106208e92d)

    Jacky Bai
     
  • Update SCFW APIs to SCFW commit:
    004247e14afc ("SCF-341 Fix bug in setting large slice clock divider")

    Signed-off-by: Anson Huang
    Reviewed-by: Bai Ping
    Reviewed-by: Peng Fan
    (cherry picked from commit 89add27a115c3b378d7151299b2919c14a1427ef)

    Anson Huang
     
  • Update resource ID table to SCFW commit:
    004247e14afc ("SCF-341 Fix bug in setting large slice clock divider")

    Signed-off-by: Anson Huang
    Reviewed-by: Bai Ping
    Reviewed-by: Peng Fan
    (cherry picked from commit 8fa8f318eeac939604e2616fd7a6e1fd10d837a0)

    Anson Huang
     
  • Galcore kernel panic when reading from sysfs during modprobe,

    This issue occurs when gc sysfs entries are read while the modprobe
    of the galcore module is in progress.

    Register the GC debugfs attributes in sysfs after the driver data-structures
    have been initialized, instead of before.

    Add defensive sanity checks in all _show() functions used by debugfs
    attributes, to check for NULL pointers before dereferencing them.
    Return -ENXIO in case of NULL pointers.

    Signed-off-by: Xianzhong
    (cherry picked from commit 3283efbeadbc11cb38146cb7874becfecf27f981)

    Xianzhong
     
  • GPU hang will happen when run multiple test instances.

    link command could be used for context switch often,
    it is not reliable to check wait or link command only.

    need check command address first, then check command.

    Signed-off-by: Xianzhong
    (cherry picked from commit a7d6f50164039334f371fef1575de7d80d10aa58)

    Xianzhong
     

14 Feb, 2019

2 commits