6735_gpio.h 584 B

12345678910111213141516
  1. #ifndef _6735_GPIO_H
  2. #define _6735_GPIO_H
  3. #include <mt_gpio_base.h>
  4. #include <linux/slab.h>
  5. #include <linux/device.h>
  6. extern ssize_t mt_gpio_show_pin(struct device *dev, struct device_attribute *attr, char *buf);
  7. extern ssize_t mt_gpio_store_pin(struct device *dev, struct device_attribute *attr, const char *buf, size_t count);
  8. struct device_node *get_gpio_np(void);
  9. extern long gpio_pull_select_unsupport[MAX_GPIO_PIN];
  10. extern long gpio_pullen_unsupport[MAX_GPIO_PIN];
  11. extern long gpio_smt_unsupport[MAX_GPIO_PIN];
  12. void mt_get_md_gpio_debug(char *str);
  13. #endif /*_6735_GPIO_H*/