hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/include/linux/platform_data/iommu-omap.h
....@@ -1,13 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * omap iommu: main structures
34 *
45 * Copyright (C) 2008-2009 Nokia Corporation
56 *
67 * 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.
118 */
129
1310 #include <linux/platform_device.h>
....@@ -16,4 +13,8 @@
1613 const char *reset_name;
1714 int (*assert_reset)(struct platform_device *pdev, const char *name);
1815 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);
1920 };