linux/include/linux/pps-gpio.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0-or-later */
   2/*
   3 * pps-gpio.h -- PPS client for GPIOs
   4 *
   5 * Copyright (C) 2011 James Nuss <jamesnuss@nanometrics.ca>
   6 */
   7
   8#ifndef _PPS_GPIO_H
   9#define _PPS_GPIO_H
  10
  11struct pps_gpio_platform_data {
  12        struct gpio_desc *gpio_pin;
  13        struct gpio_desc *echo_pin;
  14        bool assert_falling_edge;
  15        bool capture_clear;
  16        unsigned int echo_active_ms;
  17};
  18
  19#endif /* _PPS_GPIO_H */
  20