root/include/linux/platform_data/leds-pca963x.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-only */
   2 /*
   3  * PCA963X LED chip driver.
   4  *
   5  * Copyright 2012 bct electronic GmbH
   6  * Copyright 2013 Qtechnology A/S
   7  */
   8 
   9 #ifndef __LINUX_PCA963X_H
  10 #define __LINUX_PCA963X_H
  11 #include <linux/leds.h>
  12 
  13 enum pca963x_outdrv {
  14         PCA963X_OPEN_DRAIN,
  15         PCA963X_TOTEM_POLE, /* aka push-pull */
  16 };
  17 
  18 enum pca963x_blink_type {
  19         PCA963X_SW_BLINK,
  20         PCA963X_HW_BLINK,
  21 };
  22 
  23 enum pca963x_direction {
  24         PCA963X_NORMAL,
  25         PCA963X_INVERTED,
  26 };
  27 
  28 struct pca963x_platform_data {
  29         struct led_platform_data leds;
  30         enum pca963x_outdrv outdrv;
  31         enum pca963x_blink_type blink_type;
  32         enum pca963x_direction dir;
  33 };
  34 
  35 #endif /* __LINUX_PCA963X_H*/

/* [<][>][^][v][top][bottom][index][help] */