| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * omap iommu: main structures |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2008-2009 Nokia Corporation |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com> |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #include <linux/platform_device.h> |
|---|
| .. | .. |
|---|
| 16 | 13 | const char *reset_name; |
|---|
| 17 | 14 | int (*assert_reset)(struct platform_device *pdev, const char *name); |
|---|
| 18 | 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); |
|---|
| 19 | 20 | }; |
|---|