swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 authored by Linus Torvalds on 31 May 2020, 23:49:15 UTC
Linux 5.7
Tip revision: 3d77e6a
pps-gpio.h
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * 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 {
	struct gpio_desc *gpio_pin;
	struct gpio_desc *echo_pin;
	bool assert_falling_edge;
	bool capture_clear;
	unsigned int echo_active_ms;
};

#endif /* _PPS_GPIO_H */
back to top