2015-03-16 22:49:03 +00:00
|
|
|
/*
|
|
|
|
* fwnode.h - Firmware device node object handle type definition.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015, Intel Corporation
|
|
|
|
* Author: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _LINUX_FWNODE_H_
|
|
|
|
#define _LINUX_FWNODE_H_
|
|
|
|
|
|
|
|
enum fwnode_type {
|
|
|
|
FWNODE_INVALID = 0,
|
|
|
|
FWNODE_OF,
|
|
|
|
FWNODE_ACPI,
|
2015-08-27 02:36:14 +00:00
|
|
|
FWNODE_ACPI_DATA,
|
2016-11-21 10:01:33 +00:00
|
|
|
FWNODE_ACPI_STATIC,
|
2015-04-03 14:05:11 +00:00
|
|
|
FWNODE_PDATA,
|
2016-11-21 10:01:33 +00:00
|
|
|
FWNODE_IRQCHIP
|
2015-03-16 22:49:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct fwnode_handle {
|
|
|
|
enum fwnode_type type;
|
2015-04-03 21:23:37 +00:00
|
|
|
struct fwnode_handle *secondary;
|
2015-03-16 22:49:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|