Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Nov 18, 2022
  2. Oct 28, 2022
  3. Oct 27, 2022
  4. Oct 25, 2022
  5. Oct 21, 2022
  6. Oct 18, 2022
    • LCPD Auto Merger's avatar
      Merged TI feature platform_base into ti-linux-5.10.y-cicd · 018bd514
      LCPD Auto Merger authored
      TI-Feature: platform_base
      TI-Branch: platform-ti-linux-5.10.y
      
      * 'platform-ti-linux-5.10.y' of ssh://bitbucket.itg.ti.com/lcpdpublicdom/platform
      
      :
        dmaengine: k3-udma: Add system suspend/resume support
        arm64: dts: ti: k3-j784s4-*: Add GPU node
        arm64: dts: ti: Add support for AM62A7-SK
        arm64: dts: ti: Introduce AM62A7 family of SoCs
        dt-bindings: pinctrl: k3: Introduce pinmux definitions for AM62A
        dt-bindings: arm: ti: Add bindings for AM62A7 SoC
        dt-bindings: arm: ti: Rearrange IOPAD macros alphabetically
      
      Signed-off-by: default avatarLCPD Auto Merger <lcpd_integration@list.ti.com>
      018bd514
    • Vignesh Raghavendra's avatar
      dmaengine: k3-udma: Add system suspend/resume support · 0d12c035
      Vignesh Raghavendra authored
      The K3 platforms configure the DMA resources with the
      help of the TI's System Firmware's Device Manager(DM)
      over TISCI. The group of DMA related Resource Manager[1]
      TISCI messages includes: INTA, RINGACC, UDMAP, and PSI-L.
      This configuration however, does not persist in the DM
      after leaving from Suspend-to-RAM state. We have to restore
      the DMA channel configuration over TISCI for all configured
      channels when entering suspend.
      
      The TISCI resource management calls for each DMA type (UDMA,
      PKTDMA, BCDMA) happen in device_free_chan_resources() and
      device_alloc_chan_resources(). In pm_suspend() we store
      the current udma_chan_config for channels that still have
      attached clients and call device_free_chan_resources().
      In pm_resume() restore the udma_channel_config from backup
      and call device_alloc_chan_resources() for those channels.
      Drivers like CPSW do their own DMA resource management,
      so use the late system suspend/resume hooks.
      
      [1] https://software-dl.ti.com/tisci/esd/latest/2_tisci_msgs/index.html#resource-management-rm
      
      
      
      Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
      [g-vlaev@ti.com: Add udma_chan_config backup]
      [g-vlaev@ti.com: Supend only channels with clients]
      Signed-off-by: default avatarGeorgi Vlaev <g-vlaev@ti.com>
      0d12c035