1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * w1-gpio interface to platform code
5 * Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi>
7 #ifndef _LINUX_W1_GPIO_H
8 #define _LINUX_W1_GPIO_H
13 * struct w1_gpio_platform_data - Platform-dependent data for w1-gpio
15 struct w1_gpio_platform_data {
16 struct gpio_desc *gpiod;
17 struct gpio_desc *pullup_gpiod;
18 void (*enable_external_pullup)(int enable);
19 unsigned int pullup_duration;
22 #endif /* _LINUX_W1_GPIO_H */