1. 30 Jan, 2019 2 commits
    • Zhou Yanjie's avatar
      Pinctrl: Ingenic: Add missing parts for JZ4770 and JZ4780. · 5de1a73e
      Zhou Yanjie authored
      Add mmc2 for JZ4770 and JZ4780:
      According to the datasheet, both JZ4770 and JZ4780 have mmc2. But this
      part of the original code is missing. It is worth noting that JZ4770's
      mmc2 supports 8bit mode while JZ4780's does not, so we added the
      corresponding code for both models.
      
      Add nemc-wait for JZ4770 and JZ4780:
      Both JZ4770 and JZ4780 have a nemc-wait pin. But this part of the
      original code is missing.
      
      Add mac for JZ4770:
      JZ4770 have a mac. But this part of the original code is missing.
      Signed-off-by: default avatarZhou Yanjie <zhouyanjie@cduestc.edu.cn>
      Reviewed-by: default avatarPaul Cercueil <paul@crapouillou.net>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      5de1a73e
    • Zhou Yanjie's avatar
      Pinctrl: Ingenic: Fix bugs caused by differences between JZ4770 and JZ4780. · ff656e47
      Zhou Yanjie authored
      Delete uart4 and i2c3/4 from JZ4770:
      According to the datasheet, only JZ4780 have uart4 and i2c3/4. So we
      remove it from the JZ4770 code and add a section corresponding the JZ4780.
      
      Fix bugs in i2c0/1:
      The pin number was wrong in the original code.
      
      Fix bugs in uart2:
      JZ4770 and JZ4780 have different uart2 pins. So the original section JZ4770
      has been modified and the corresponding section of JZ4780 has been added.
      
      Fix bugs in mmc0:
      JZ4770 and JZ4780 assigned different pins to mmc0's 4~7 data lines. So the
      original section JZ4770 has been modified and the corresponding section of
      JZ4780 has been added.
      
      Fix bugs in mmc1:
      JZ4770's mmc1 has 8bit mode, while JZ4780 doesn't. So the original
      section JZ4770 has been modified and the corresponding section of
      JZ4780 has been added.
      
      Fix bugs in nemc:
      JZ4770's nemc has 16bit mode, while JZ4780 doesn't. So the original section
      JZ4770 has been modified and the corresponding section of JZ4780 has been
      added. And add missing cs2~5 groups for JZ4770 and JZ4780.
      
      Fix bugs in cim:
      JZ4770's cim has 12bit mode, while JZ4780 doesn't. So the original
      section JZ4770 has been modified and the corresponding section of
      JZ4780 has been added.
      
      Fix bugs in lcd:
      Both JZ4770 and JZ4780 lcd should be 24bit instead of 32bit.
      Signed-off-by: default avatarZhou Yanjie <zhouyanjie@cduestc.edu.cn>
      Reviewed-by: default avatarPaul Cercueil <paul@crapouillou.net>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      ff656e47
  2. 28 Jan, 2019 9 commits
  3. 24 Jan, 2019 12 commits
  4. 22 Jan, 2019 1 commit
  5. 21 Jan, 2019 16 commits