mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
[ Upstream commit 2f4d3e293392571e02b106c8b431b638bd029276 ] New code should solely use firmware nodes for the specifics and not any callbacks. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Stable-dep-of: 7cef813a91c4 ("gpio: pca953x: log an error when failing to get the reset GPIO") Signed-off-by: Sasha Levin <sashal@kernel.org>
19 lines
360 B
C
19 lines
360 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _LINUX_PCA953X_H
|
|
#define _LINUX_PCA953X_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/i2c.h>
|
|
|
|
/* platform data for the PCA9539 16-bit I/O expander driver */
|
|
|
|
struct pca953x_platform_data {
|
|
/* number of the first GPIO */
|
|
unsigned gpio_base;
|
|
|
|
/* interrupt base */
|
|
int irq_base;
|
|
};
|
|
|
|
#endif /* _LINUX_PCA953X_H */
|