__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Definitions and platform data for Analog Devices
* Backlight drivers ADP8860
*
* Copyright 2009-2010 Analog Devices Inc.
*/
#ifndef __LINUX_I2C_ADP8860_H
#define __LINUX_I2C_ADP8860_H
#include <linux/leds.h>
#include <linux/types.h>
#define ID_ADP8860 8860
#define ADP8860_MAX_BRIGHTNESS 0x7F
#define FLAG_OFFT_SHIFT 8
/*
* LEDs subdevice platform data
*/
#define ADP8860_LED_DIS_BLINK (0 << FLAG_OFFT_SHIFT)
#define ADP8860_LED_OFFT_600ms (1 << FLAG_OFFT_SHIFT)
#define ADP8860_LED_OFFT_1200ms (2 << FLAG_OFFT_SHIFT)
#define ADP8860_LED_OFFT_1800ms (3 << FLAG_OFFT_SHIFT)
#define ADP8860_LED_ONT_200ms 0
#define ADP8860_LED_ONT_600ms 1
#define ADP8860_LED_ONT_800ms 2
#define ADP8860_LED_ONT_1200ms 3
#define ADP8860_LED_D7 (7)
#define ADP8860_LED_D6 (6)
#define ADP8860_LED_D5 (5)
#define ADP8860_LED_D4 (4)
#define ADP8860_LED_D3 (3)
#define ADP8860_LED_D2 (2)
#define ADP8860_LED_D1 (1)
/*
* Backlight subdevice platform data
*/
#define ADP8860_BL_D7 (1 << 6)
#define ADP8860_BL_D6 (1 << 5)
#define ADP8860_BL_D5 (1 << 4)
#define ADP8860_BL_D4 (1 << 3)
#define ADP8860_BL_D3 (1 << 2)
#define ADP8860_BL_D2 (1 << 1)
#define ADP8860_BL_D1 (1 << 0)
#define ADP8860_FADE_T_DIS 0 /* Fade Timer Disabled */
#define ADP8860_FADE_T_300ms 1 /* 0.3 Sec */
#define ADP8860_FADE_T_600ms 2
#define ADP8860_FADE_T_900ms 3
#define ADP8860_FADE_T_1200ms 4
#define ADP8860_FADE_T_1500ms 5
#define ADP8860_FADE_T_1800ms 6
#define ADP8860_FADE_T_2100ms 7
#define ADP8860_FADE_T_2400ms 8
#define ADP8860_FADE_T_2700ms 9
#define ADP8860_FADE_T_3000ms 10
#define ADP8860_FADE_T_3500ms 11
#define ADP8860_FADE_T_4000ms 12
#define ADP8860_FADE_T_4500ms 13
#define ADP8860_FADE_T_5000ms 14
#define ADP8860_FADE_T_5500ms 15 /* 5.5 Sec */
#define ADP8860_FADE_LAW_LINEAR 0
#define ADP8860_FADE_LAW_SQUARE 1
#define ADP8860_FADE_LAW_CUBIC1 2
#define ADP8860_FADE_LAW_CUBIC2 3
#define ADP8860_BL_AMBL_FILT_80ms 0 /* Light sensor filter time */
#define ADP8860_BL_AMBL_FILT_160ms 1
#define ADP8860_BL_AMBL_FILT_320ms 2
#define ADP8860_BL_AMBL_FILT_640ms 3
#define ADP8860_BL_AMBL_FILT_1280ms 4
#define ADP8860_BL_AMBL_FILT_2560ms 5
#define ADP8860_BL_AMBL_FILT_5120ms 6
#define ADP8860_BL_AMBL_FILT_10240ms 7 /* 10.24 sec */
/*
* Blacklight current 0..30mA
*/
#define ADP8860_BL_CUR_mA(I) ((I * 127) / 30)
/*
* L2 comparator current 0..1106uA
*/
#define ADP8860_L2_COMP_CURR_uA(I) ((I * 255) / 1106)
/*
* L3 comparator current 0..138uA
*/
#define ADP8860_L3_COMP_CURR_uA(I) ((I * 255) / 138)
struct adp8860_backlight_platform_data {
u8 bl_led_assign; /* 1 = Backlight 0 = Individual LED */
u8 bl_fade_in; /* Backlight Fade-In Timer */
u8 bl_fade_out; /* Backlight Fade-Out Timer */
u8 bl_fade_law; /* fade-on/fade-off transfer characteristic */
u8 en_ambl_sens; /* 1 = enable ambient light sensor */
u8 abml_filt; /* Light sensor filter time */
u8 l1_daylight_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
u8 l1_daylight_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
u8 l2_office_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
u8 l2_office_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
u8 l3_dark_max; /* use BL_CUR_mA(I) 0 <= I <= 30 mA */
u8 l3_dark_dim; /* typ = 0, use BL_CUR_mA(I) 0 <= I <= 30 mA */
u8 l2_trip; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */
u8 l2_hyst; /* use L2_COMP_CURR_uA(I) 0 <= I <= 1106 uA */
u8 l3_trip; /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */
u8 l3_hyst; /* use L3_COMP_CURR_uA(I) 0 <= I <= 551 uA */
/**
* Independent Current Sinks / LEDS
* Sinks not assigned to the Backlight can be exposed to
* user space using the LEDS CLASS interface
*/
int num_leds;
struct led_info *leds;
u8 led_fade_in; /* LED Fade-In Timer */
u8 led_fade_out; /* LED Fade-Out Timer */
u8 led_fade_law; /* fade-on/fade-off transfer characteristic */
u8 led_on_time;
/**
* Gain down disable. Setting this option does not allow the
* charge pump to switch to lower gains. NOT AVAILABLE on ADP8860
* 1 = the charge pump doesn't switch down in gain until all LEDs are 0.
* The charge pump switches up in gain as needed. This feature is
* useful if the ADP8863 charge pump is used to drive an external load.
* This feature must be used when utilizing small fly capacitors
* (0402 or smaller).
* 0 = the charge pump automatically switches up and down in gain.
* This provides optimal efficiency, but is not suitable for driving
* loads that are not connected through the ADP8863 diode drivers.
* Additionally, the charge pump fly capacitors should be low ESR
* and sized 0603 or greater.
*/
u8 gdwn_dis;
};
#endif /* __LINUX_I2C_ADP8860_H */
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| gpio | Folder | 0755 |
|
|
| media | Folder | 0755 |
|
|
| txx9 | Folder | 0755 |
|
|
| x86 | Folder | 0755 |
|
|
| ad5761.h | File | 1.24 KB | 0644 |
|
| ad7266.h | File | 1.33 KB | 0644 |
|
| ad7791.h | File | 530 B | 0644 |
|
| ad7793.h | File | 3.75 KB | 0644 |
|
| ad7887.h | File | 573 B | 0644 |
|
| adau17x1.h | File | 3.51 KB | 0644 |
|
| adp8860.h | File | 4.61 KB | 0644 |
|
| adp8870.h | File | 4.52 KB | 0644 |
|
| ads7828.h | File | 690 B | 0644 |
|
| amd_qdma.h | File | 943 B | 0644 |
|
| amd_xdma.h | File | 781 B | 0644 |
|
| ams-delta-fiq.h | File | 1.62 KB | 0644 |
|
| apds990x.h | File | 1.83 KB | 0644 |
|
| arm-ux500-pm.h | File | 566 B | 0644 |
|
| asoc-imx-ssi.h | File | 686 B | 0644 |
|
| asoc-kirkwood.h | File | 145 B | 0644 |
|
| asoc-pxa.h | File | 1023 B | 0644 |
|
| asoc-s3c.h | File | 1.28 KB | 0644 |
|
| asoc-ti-mcbsp.h | File | 820 B | 0644 |
|
| ata-pxa.h | File | 392 B | 0644 |
|
| atmel.h | File | 374 B | 0644 |
|
| b53.h | File | 1.13 KB | 0644 |
|
| bcm7038_wdt.h | File | 158 B | 0644 |
|
| bcmgenet.h | File | 402 B | 0644 |
|
| bd6107.h | File | 235 B | 0644 |
|
| bh1770glc.h | File | 1.18 KB | 0644 |
|
| brcmfmac.h | File | 6.63 KB | 0644 |
|
| brcmnand.h | File | 286 B | 0644 |
|
| clk-da8xx-cfgchip.h | File | 504 B | 0644 |
|
| clk-fch.h | File | 287 B | 0644 |
|
| cpuidle-exynos.h | File | 361 B | 0644 |
|
| cros_ec_chardev.h | File | 1.08 KB | 0644 |
|
| cros_ec_commands.h | File | 186.95 KB | 0644 |
|
| cros_ec_proto.h | File | 10.09 KB | 0644 |
|
| cros_ec_sensorhub.h | File | 6.11 KB | 0644 |
|
| cros_usbpd_notify.h | File | 436 B | 0644 |
|
| crypto-ux500.h | File | 526 B | 0644 |
|
| davinci-cpufreq.h | File | 556 B | 0644 |
|
| davinci_asp.h | File | 2.5 KB | 0644 |
|
| dma-dw.h | File | 2.57 KB | 0644 |
|
| dma-hsu.h | File | 321 B | 0644 |
|
| dma-iop32x.h | File | 3.27 KB | 0644 |
|
| dma-mcf-edma.h | File | 1.12 KB | 0644 |
|
| dma-mv_xor.h | File | 375 B | 0644 |
|
| dmtimer-omap.h | File | 1.94 KB | 0644 |
|
| ds620.h | File | 430 B | 0644 |
|
| dsa.h | File | 1.61 KB | 0644 |
|
| edma.h | File | 2.52 KB | 0644 |
|
| elm.h | File | 1.29 KB | 0644 |
|
| emc2305.h | File | 545 B | 0644 |
|
| emif_plat.h | File | 3.92 KB | 0644 |
|
| g762.h | File | 698 B | 0644 |
|
| gpio-htc-egpio.h | File | 1.62 KB | 0644 |
|
| gpio-omap.h | File | 5.53 KB | 0644 |
|
| gpio_backlight.h | File | 251 B | 0644 |
|
| gpmc-omap.h | File | 5.75 KB | 0644 |
|
| gsc_hwmon.h | File | 1.08 KB | 0644 |
|
| hirschmann-hellcreek.h | File | 719 B | 0644 |
|
| hsmmc-omap.h | File | 2.09 KB | 0644 |
|
| hwmon-s3c.h | File | 835 B | 0644 |
|
| i2c-gpio.h | File | 1.48 KB | 0644 |
|
| i2c-imx.h | File | 420 B | 0644 |
|
| i2c-mux-gpio.h | File | 956 B | 0644 |
|
| i2c-mux-reg.h | File | 1.13 KB | 0644 |
|
| i2c-ocores.h | File | 644 B | 0644 |
|
| i2c-omap.h | File | 1.21 KB | 0644 |
|
| i2c-pca-platform.h | File | 291 B | 0644 |
|
| i2c-pxa.h | File | 354 B | 0644 |
|
| i2c-s3c2410.h | File | 2.86 KB | 0644 |
|
| i2c-xiic.h | File | 853 B | 0644 |
|
| ina2xx.h | File | 412 B | 0644 |
|
| invensense_mpu6050.h | File | 865 B | 0644 |
|
| iommu-omap.h | File | 618 B | 0644 |
|
| isl9305.h | File | 487 B | 0644 |
|
| itco_wdt.h | File | 588 B | 0644 |
|
| keyboard-spear.h | File | 3.81 KB | 0644 |
|
| keypad-omap.h | File | 1.22 KB | 0644 |
|
| keypad-pxa27x.h | File | 2.16 KB | 0644 |
|
| lcd-mipid.h | File | 514 B | 0644 |
|
| leds-lm355x.h | File | 1.42 KB | 0644 |
|
| leds-lm3642.h | File | 818 B | 0644 |
|
| leds-lp55xx.h | File | 2.17 KB | 0644 |
|
| lenovo-yoga-c630.h | File | 1.32 KB | 0644 |
|
| lm3630a_bl.h | File | 1.63 KB | 0644 |
|
| lm3639_bl.h | File | 1.37 KB | 0644 |
|
| lm8323.h | File | 746 B | 0644 |
|
| lp855x.h | File | 3.93 KB | 0644 |
|
| lp8727.h | File | 1.44 KB | 0644 |
|
| lp8755.h | File | 1.47 KB | 0644 |
|
| ltc4245.h | File | 331 B | 0644 |
|
| lv5207lp.h | File | 271 B | 0644 |
|
| max197.h | File | 615 B | 0644 |
|
| max3421-hcd.h | File | 808 B | 0644 |
|
| max732x.h | File | 288 B | 0644 |
|
| mdio-bcm-unimac.h | File | 306 B | 0644 |
|
| mdio-gpio.h | File | 273 B | 0644 |
|
| mfd-mcp-sa11x0.h | File | 272 B | 0644 |
|
| microchip-ksz.h | File | 1.65 KB | 0644 |
|
| mlxcpld.h | File | 885 B | 0644 |
|
| mlxreg.h | File | 7.54 KB | 0644 |
|
| mmc-davinci.h | File | 736 B | 0644 |
|
| mmc-esdhc-mcf.h | File | 447 B | 0644 |
|
| mmc-mxcmmc.h | File | 1.07 KB | 0644 |
|
| mmc-omap.h | File | 3.22 KB | 0644 |
|
| mmc-pxamci.h | File | 882 B | 0644 |
|
| mmc-sdhci-s3c.h | File | 2.22 KB | 0644 |
|
| mmp_dma.h | File | 350 B | 0644 |
|
| mtd-nand-omap2.h | File | 2.19 KB | 0644 |
|
| mtd-nand-pxa3xx.h | File | 812 B | 0644 |
|
| mtd-nand-s3c2410.h | File | 2.05 KB | 0644 |
|
| mtd-orion_nand.h | File | 520 B | 0644 |
|
| mv88e6xxx.h | File | 416 B | 0644 |
|
| mv_usb.h | File | 900 B | 0644 |
|
| net-cw1200.h | File | 2.44 KB | 0644 |
|
| omap-twl4030.h | File | 990 B | 0644 |
|
| omap-wd-timer.h | File | 901 B | 0644 |
|
| omap1_bl.h | File | 179 B | 0644 |
|
| omapdss.h | File | 897 B | 0644 |
|
| pca953x.h | File | 360 B | 0644 |
|
| phy-da8xx-usb.h | File | 474 B | 0644 |
|
| pinctrl-single.h | File | 425 B | 0644 |
|
| pm33xx.h | File | 2.25 KB | 0644 |
|
| pxa2xx_udc.h | File | 1.08 KB | 0644 |
|
| pxa_sdhci.h | File | 1.45 KB | 0644 |
|
| regulator-haptic.h | File | 691 B | 0644 |
|
| s3c-hsotg.h | File | 1.04 KB | 0644 |
|
| sa11x0-serial.h | File | 856 B | 0644 |
|
| sc18is602.h | File | 401 B | 0644 |
|
| sdhci-pic32.h | File | 360 B | 0644 |
|
| serial-omap.h | File | 1 KB | 0644 |
|
| serial-sccnxp.h | File | 1.89 KB | 0644 |
|
| sgi-w1.h | File | 222 B | 0644 |
|
| sh_mmcif.h | File | 5.42 KB | 0644 |
|
| shmob_drm.h | File | 822 B | 0644 |
|
| shtc1.h | File | 303 B | 0644 |
|
| si5351.h | File | 3.65 KB | 0644 |
|
| simplefb.h | File | 2.21 KB | 0644 |
|
| spi-davinci.h | File | 2.25 KB | 0644 |
|
| spi-mt65xx.h | File | 361 B | 0644 |
|
| spi-omap2-mcspi.h | File | 406 B | 0644 |
|
| spi-s3c64xx.h | File | 1.57 KB | 0644 |
|
| st_sensors_pdata.h | File | 978 B | 0644 |
|
| tda9950.h | File | 282 B | 0644 |
|
| ti-prm.h | File | 524 B | 0644 |
|
| ti-sysc.h | File | 4.99 KB | 0644 |
|
| tmio.h | File | 1.72 KB | 0644 |
|
| touchscreen-s3c2410.h | File | 595 B | 0644 |
|
| tps68470.h | File | 785 B | 0644 |
|
| tsc2007.h | File | 655 B | 0644 |
|
| tsl2772.h | File | 3.73 KB | 0644 |
|
| uio_dmem_genirq.h | File | 397 B | 0644 |
|
| usb-davinci.h | File | 596 B | 0644 |
|
| usb-ehci-orion.h | File | 440 B | 0644 |
|
| usb-musb-ux500.h | File | 558 B | 0644 |
|
| usb-ohci-pxa27x.h | File | 925 B | 0644 |
|
| usb-ohci-s3c2410.h | File | 941 B | 0644 |
|
| usb-omap.h | File | 1.93 KB | 0644 |
|
| usb-omap1.h | File | 1.53 KB | 0644 |
|
| usb3503.h | File | 431 B | 0644 |
|
| video-ep93xx.h | File | 1.49 KB | 0644 |
|
| video-pxafb.h | File | 6.05 KB | 0644 |
|
| video_s3c.h | File | 1.71 KB | 0644 |
|
| voltage-omap.h | File | 1.08 KB | 0644 |
|
| wilco-ec.h | File | 6.91 KB | 0644 |
|
| wiznet.h | File | 511 B | 0644 |
|
| wkup_m3.h | File | 542 B | 0644 |
|
| xilinx-ll-temac.h | File | 1.29 KB | 0644 |
|
| xtalk-bridge.h | File | 437 B | 0644 |
|