• Sameer Pujar's avatar
    dmaengine: tegra210-adma: prepare for supporting newer Tegra chips · ded1f3db
    Sameer Pujar authored
    This is a preparatory patch to add support for Tegra186 and Tegra194 chips.
    Following changes are necessary to make driver code generic.
     * chip_data structure is enhanced to have chip specific details and
       following are the additions to the structure
       * Offset addresses for ADMA global and channel registers
       * Offset values for Tx and Rx channel selection
       * Maximum supported Tx and Rx channels
       * Tx and Rx channel request mask
       * ADMA channel register space size
     * Make use of above chip_data to generalise the driver code
    
    Support for Tegra186 and Tegra194 will be added in subsequent patches of
    the series.
    Signed-off-by: default avatarSameer Pujar <spujar@nvidia.com>
    Reviewed-by: default avatarJon Hunter <jonathanh@nvidia.com>
    Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
    ded1f3db
tegra210-adma.c 21.3 KB