mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
2025cf9e19
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms and conditions of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 263 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190529141901.208660670@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
25 lines
419 B
C
25 lines
419 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright(c) 2014 Intel Corporation.
|
|
*/
|
|
|
|
#ifndef GPIO_DW_APB_H
|
|
#define GPIO_DW_APB_H
|
|
|
|
struct dwapb_port_property {
|
|
struct fwnode_handle *fwnode;
|
|
unsigned int idx;
|
|
unsigned int ngpio;
|
|
unsigned int gpio_base;
|
|
int irq[32];
|
|
bool has_irq;
|
|
bool irq_shared;
|
|
};
|
|
|
|
struct dwapb_platform_data {
|
|
struct dwapb_port_property *properties;
|
|
unsigned int nports;
|
|
};
|
|
|
|
#endif
|