Files
kernel/include/linux/pps-gpio.h
T

20 lines
395 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0-or-later */
2011-11-02 13:39:38 -07:00
/*
* pps-gpio.h -- PPS client for GPIOs
*
* Copyright (C) 2011 James Nuss <jamesnuss@nanometrics.ca>
*/
#ifndef _PPS_GPIO_H
#define _PPS_GPIO_H
struct pps_gpio_platform_data {
2019-05-14 15:45:40 -07:00
struct gpio_desc *gpio_pin;
2019-05-14 15:45:46 -07:00
struct gpio_desc *echo_pin;
2011-11-02 13:39:38 -07:00
bool assert_falling_edge;
bool capture_clear;
2019-05-14 15:45:46 -07:00
unsigned int echo_active_ms;
2011-11-02 13:39:38 -07:00
};
#endif /* _PPS_GPIO_H */