Lines Matching +full:dra7 +full:- +full:dsp
1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2015-2019 Texas Instruments Incorporated - https://www.ti.com/
6 * Suman Anna <s-anna@ti.com>
31 struct device_node *np = pdev->dev.of_node; in omap_iommu_dra7_emu_swsup_config()
34 if (!of_device_is_compatible(np, "ti,dra7-dsp-iommu")) in omap_iommu_dra7_emu_swsup_config()
66 if (entry->dev == dev) { in _get_pwrdm()
67 pwrdm = entry->pwrdm; in _get_pwrdm()
77 clk = of_clk_get(dev->of_node->parent, 0); in _get_pwrdm()
85 if (!hwclk || !hwclk->clkdm_name) { in _get_pwrdm()
90 clkdm = clkdm_lookup(hwclk->clkdm_name); in _get_pwrdm()
92 dev_err(dev, "clkdm not found: %s\n", hwclk->clkdm_name); in _get_pwrdm()
98 dev_err(dev, "pwrdm not found: %s\n", clkdm->name); in _get_pwrdm()
104 entry->dev = dev; in _get_pwrdm()
105 entry->pwrdm = pwrdm; in _get_pwrdm()
107 list_add(&entry->node, &cache); in _get_pwrdm()
121 pwrdm = _get_pwrdm(&pdev->dev); in omap_iommu_set_pwrdm_constraint()
123 return -ENODEV; in omap_iommu_set_pwrdm_constraint()