repo: https://github.com/T-head-Semi/linux commit: b1313fe517ca3703119dcc99ef3bbf75ab42bcfb Change-Id: I6cbb35294024ea3a66140e311f4bb705fd7fd626
21 lines
618 B
C
21 lines
618 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* omap iommu: main structures
|
|
*
|
|
* Copyright (C) 2008-2009 Nokia Corporation
|
|
*
|
|
* Written by Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
|
|
*/
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
struct iommu_platform_data {
|
|
const char *reset_name;
|
|
int (*assert_reset)(struct platform_device *pdev, const char *name);
|
|
int (*deassert_reset)(struct platform_device *pdev, const char *name);
|
|
int (*device_enable)(struct platform_device *pdev);
|
|
int (*device_idle)(struct platform_device *pdev);
|
|
int (*set_pwrdm_constraint)(struct platform_device *pdev, bool request,
|
|
u8 *pwrst);
|
|
};
|