1. 25 Nov, 2019 1 commit
  2. 19 Nov, 2019 1 commit
  3. 06 Nov, 2019 1 commit
    • Dmitry Petrov's avatar
      KNT: ARM: dts: samx7: fix CSI camera. · 4b5803e2
      Dmitry Petrov authored
      Add "mipi-mode" for csi@30710000 node.
      
      Add dummy clocks for mipi-csi@30750000 to get rid of warnings:
      mxc_mipi-csi 30750000.mipi-csi: Could not get disp_axi clock
      mxc_mipi-csi 30750000.mipi-csi: Could not get disp apb clock
      4b5803e2
  4. 05 Nov, 2019 3 commits
  5. 24 Oct, 2019 1 commit
  6. 23 Oct, 2019 1 commit
  7. 22 Oct, 2019 2 commits
    • Dmitry Petrov's avatar
      KNT: mtd: fsl-quadspi: use fixed memory mapping · cabade33
      Dmitry Petrov authored
      
      
      fsl-quadspi uses size of last registered SPI-NOR flash
      for preparing equally-sized address mappings for each chip
      (this means that only flash with equal size are supported).
      
      Rework this by making static mappings of 64M for each
      chip. This optimizes chip accesses as this map is never
      recalculated and also since it's large enough it
      should allow for differently sized SPI-NOR chips.
      Signed-off-by: default avatarDmitry Artamonov <dartamonov@dev.rtsoft.ru>
      cabade33
    • Dmitry Petrov's avatar
      KNT: rtc: rv8803: fix hang up after wakeup · f06944f3
      Dmitry Petrov authored
      from the suspend-to-RAM state.
      
      The problem is the I2C bus is not ready when IRQ handler is executed.
      As result board hangs in "rv8803_write_reg" routine.
      
      Add "resume_noirq" phase with a short delay to let the I2C bus bring up.
      f06944f3
  8. 16 Oct, 2019 1 commit
    • Dmitry Petrov's avatar
      KNT: fix compilation warnings · a5fb88e1
      Dmitry Petrov authored
      drivers/spi/spi-imx.c: In function ‘mx51_ecspi_config’:
      drivers/spi/spi-imx.c:548:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
        u32 testreg;
        ^
      drivers/video/fbdev/mxc/sn65dsi85.c: In function ‘sn65dsi85_dsi2lvds_enable’:
      drivers/video/fbdev/mxc/sn65dsi85.c:118:6: warning: unused variable ‘i’ [-Wunused-variable]
        int i;
            ^
      drivers/video/fbdev/mxc/sn65dsi85.c: In function ‘sn65dsi85_dsi2lvds_postpoweron’:
      drivers/video/fbdev/mxc/sn65dsi85.c:205:11: warning: unused variable ‘retry’ [-Wunused-variable]
        unsigned retry = 0;
                 ^
      drivers/video/fbdev/mxc/sn65dsi85.c: In function ‘sn65dsi85_i2c_probe’:
      drivers/video/fbdev/mxc/sn65dsi85.c:413:6: warning: unused variable ‘i’ [-Wunused-variable]
        int i, err = 0;
            ^
      sound/soc/fsl/imx-wm8904.c: In function ‘imx_wm8904_probe’:
      sound/soc/fsl/imx-wm8904.c:71:6: warning: unused variable ‘width’ [-Wunused-variable]
        u32 width;
            ^
      a5fb88e1
  9. 14 Oct, 2019 2 commits
  10. 09 Oct, 2019 3 commits
  11. 08 Oct, 2019 2 commits
    • Yadviga Grigoryeva's avatar
      KNT: mtd: spi-nor: activate a single mode for on-board w25q16fw SPI flash with · d5c152a0
      Yadviga Grigoryeva authored and Dmitry Petrov's avatar Dmitry Petrov committed
      U-Boot
      
      On new revisions of sAMX7 module, a w25q16fw SPI flash is installed instead of
      w25q16dw. And this new flash chip does not work even in dual mode. To work
      around the problem, a single mode is activated.
      
      The problem is that both w25q16dw and w25q16fw have the same device ID and it
      is not possible to distinguish them in software. As a result, the single mode
      will be activated on both old and new sAMX7 modules.
      d5c152a0
    • Dmitry Petrov's avatar
      KNT: watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout · 12455fab
      Dmitry Petrov authored
      After switching to 4.14 kernel and applying workaround e5c0c33a
      (revert "watchdog: imx2: Convert to use infrastructure triggered keepalives"),
      the watchdog started to trigger with huge delay because a timeout value
      is not calculated properly.
      
      The problem can be fixed by replacing "max_hw_heartbeat_ms" with constant.
      This is already done in the mainstream kernel, so a following
      patch has been ported:
      144783a8 watchdog: imx2_wdt: fix min() calculation in imx2_wdt_set_timeout
      12455fab
  12. 01 Oct, 2019 1 commit
    • Yadviga Grigoryeva's avatar
      KNT: PCI: imx6: adapt existing workarounds for Pericom switch to 4.14 kernel · e59a806c
      Yadviga Grigoryeva authored and Dmitry Petrov's avatar Dmitry Petrov committed
      After QA validation it was discovered that the existing PCIe fixes do not work
      on new kernel. Moreover it is not possible to adjust them on the fly as some
      code was relocated to "common" designware driver. So this driver has been
      adjusted as well.
      
      The essence of workaround can be formulated as follows:
       - Run host init many times until L0 state has been reached. As PCIe controller
         may stuck in rcvlock state;
       - Use a desighware link_up routine instead of the existing one in pci-imx6.c,
         as that functions does not consider a link training state;
       - Enable a reset routine for iMX7;
       - Wait for change of speed link during gen1-gen2 transition;
       - Herewith run deassert_core_reset only once.
      e59a806c
  13. 19 Sep, 2019 8 commits
  14. 12 Sep, 2019 13 commits