1. 04 Mar, 2020 1 commit
  2. 02 Mar, 2020 3 commits
  3. 28 Feb, 2020 3 commits
  4. 27 Feb, 2020 5 commits
  5. 26 Feb, 2020 15 commits
  6. 25 Feb, 2020 4 commits
  7. 20 Feb, 2020 3 commits
  8. 19 Feb, 2020 4 commits
  9. 14 Feb, 2020 2 commits
    • Rob Herring's avatar
      of/address: Support multiple 'dma-ranges' entries · 9d55bebd
      Rob Herring authored
      Currently, the DMA offset and mask for a device are set based only on the
      first 'dma-ranges' entry. We should really be using all the entries. The
      kernel doesn't yet support multiple offsets and sizes, so the best we can
      do is to find the biggest size for a single offset. The algorithm is
      copied from acpi_dma_get_range().
      
      If there's different offsets from the first entry, then we warn and
      continue. It really should be an error, but this will likely break
      existing DTs.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      9d55bebd
    • Rob Herring's avatar
      of/address: use range parser for of_dma_get_range · 7a8b64d1
      Rob Herring authored
      of_dma_get_range() does the same ranges parsing as
      of_pci_range_parser_one(), so let's refactor of_dma_get_range() to use
      it instead.
      
      This commit is no functional change. Subsequent commits will parse more
      than the 1st dma-ranges entry.
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      7a8b64d1