2013-03-13 19:32:13 +08:00
|
|
|
/*
|
|
|
|
* Renesas R-Car GPIO Support
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Magnus Damm
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __GPIO_RCAR_H__
|
|
|
|
#define __GPIO_RCAR_H__
|
|
|
|
|
|
|
|
struct gpio_rcar_config {
|
2013-05-10 22:48:36 +08:00
|
|
|
int gpio_base;
|
2013-03-13 19:32:13 +08:00
|
|
|
unsigned int irq_base;
|
|
|
|
unsigned int number_of_pins;
|
2013-03-10 10:27:00 +08:00
|
|
|
const char *pctl_name;
|
2013-03-13 19:32:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __GPIO_RCAR_H__ */
|