Server IP : 172.67.216.182 / Your IP : 108.162.226.225 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-5.15.0-143/include/linux/platform_data/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2012 Texas Instruments * * Simple driver for Texas Instruments LM355x LED driver chip * * Author: G.Shark Jeong <[email protected]> * Daniel Jeong <[email protected]> */ #define LM355x_NAME "leds-lm355x" #define LM3554_NAME "leds-lm3554" #define LM3556_NAME "leds-lm3556" /* lm3554 : strobe def. on */ enum lm355x_strobe { LM355x_PIN_STROBE_DISABLE = 0x00, LM355x_PIN_STROBE_ENABLE = 0x01, }; enum lm355x_torch { LM355x_PIN_TORCH_DISABLE = 0, LM3554_PIN_TORCH_ENABLE = 0x80, LM3556_PIN_TORCH_ENABLE = 0x10, }; enum lm355x_tx2 { LM355x_PIN_TX_DISABLE = 0, LM3554_PIN_TX_ENABLE = 0x20, LM3556_PIN_TX_ENABLE = 0x40, }; enum lm355x_ntc { LM355x_PIN_NTC_DISABLE = 0, LM3554_PIN_NTC_ENABLE = 0x08, LM3556_PIN_NTC_ENABLE = 0x80, }; enum lm355x_pmode { LM355x_PMODE_DISABLE = 0, LM355x_PMODE_ENABLE = 0x04, }; /* * struct lm3554_platform_data * @pin_strobe: strobe input * @pin_torch : input pin * lm3554-tx1/torch/gpio1 * lm3556-torch * @pin_tx2 : input pin * lm3554-envm/tx2/gpio2 * lm3556-tx pin * @ntc_pin : output pin * lm3554-ledi/ntc * lm3556-temp pin * @pass_mode : pass mode */ struct lm355x_platform_data { enum lm355x_strobe pin_strobe; enum lm355x_torch pin_tx1; enum lm355x_tx2 pin_tx2; enum lm355x_ntc ntc_pin; enum lm355x_pmode pass_mode; };