1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* |
3 | * omap iommu: main structures |
4 | * |
5 | * Copyright (C) 2008-2009 Nokia Corporation |
6 | * |
7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> |
8 | */ |
9 | |
10 | #include <linux/platform_device.h> |
11 | |
12 | struct iommu_platform_data { |
13 | const char *reset_name; |
14 | int (*assert_reset)(struct platform_device *pdev, const char *name); |
15 | int (*deassert_reset)(struct platform_device *pdev, const char *name); |
16 | int (*device_enable)(struct platform_device *pdev); |
17 | int (*device_idle)(struct platform_device *pdev); |
18 | int (*set_pwrdm_constraint)(struct platform_device *pdev, bool request, |
19 | u8 *pwrst); |
20 | }; |
21 | |