1. 21 Sep, 2020 17 commits
  2. 20 Sep, 2020 20 commits
  3. 19 Sep, 2020 3 commits
    • Linus Torvalds's avatar
      Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux · c8d1a46f
      Linus Torvalds authored
      Pull i2c fixes from Wolfram Sang:
       "Another bunch of fixes for I2C.
      
        Jean's i801 patch is a cleanup on top of Volker's i801 patch, but it
        will make dependency handling much easier if those two go together"
      
      * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
        i2c: mxs: use MXS_DMA_CTRL_WAIT4END instead of DMA_CTRL_ACK
        i2c: mediatek: Send i2c master code at more than 1MHz
        i2c: mediatek: Fix generic definitions for bus frequency
        i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()
        i2c: i801: Simplify the suspend callback
        i2c: i801: Fix resume bug
        i2c: aspeed: Mask IRQ status to relevant bits
      c8d1a46f
    • Palmer Dabbelt's avatar
      RISC-V: Resurrect the MMIO timer implementation for M-mode systems · d5be89a8
      Palmer Dabbelt authored
      The K210 doesn't implement rdtime in M-mode, and since that's where Linux runs
      in the NOMMU systems that means we can't use rdtime.  The K210 is the only
      system that anyone is currently running NOMMU or M-mode on, so here we're just
      inlining the timer read directly.
      
      This also adds the CLINT driver as an !MMU dependency, as it's currently the
      only timer driver availiable for these systems and without it we get a build
      failure for some configurations.
      Tested-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      d5be89a8
    • Damien Le Moal's avatar
      riscv: Fix Kendryte K210 device tree · f025d9d9
      Damien Le Moal authored
      The Kendryte K210 SoC CLINT is compatible with Sifive clint v0
      (sifive,clint0). Fix the Kendryte K210 device tree clint entry to be
      inline with the sifive timer definition documented in
      Documentation/devicetree/bindings/timer/sifive,clint.yaml.
      The device tree clint entry is renamed similarly to u-boot device tree
      definition to improve compatibility with u-boot defined device tree.
      To ensure correct initialization, the interrup-cells attribute is added
      and the interrupt-extended attribute definition fixed.
      
      This fixes boot failures with Kendryte K210 SoC boards.
      
      Note that the clock referenced is kept as K210_CLK_ACLK, which does not
      necessarilly match the clint MTIME increment rate. This however does not
      seem to cause any problem for now.
      Signed-off-by: default avatarDamien Le Moal <damien.lemoal@wdc.com>
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      f025d9d9