You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
617 B
25 lines
617 B
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __LINUX_HTCPLD_H
|
|
#define __LINUX_HTCPLD_H
|
|
|
|
struct htcpld_chip_platform_data {
|
|
unsigned int addr;
|
|
unsigned int reset;
|
|
unsigned int num_gpios;
|
|
unsigned int gpio_out_base;
|
|
unsigned int gpio_in_base;
|
|
unsigned int irq_base;
|
|
unsigned int num_irqs;
|
|
};
|
|
|
|
struct htcpld_core_platform_data {
|
|
unsigned int int_reset_gpio_hi;
|
|
unsigned int int_reset_gpio_lo;
|
|
unsigned int i2c_adapter_id;
|
|
|
|
struct htcpld_chip_platform_data *chip;
|
|
unsigned int num_chip;
|
|
};
|
|
|
|
#endif /* __LINUX_HTCPLD_H */
|
|
|
|
|