/
usr
/
src
/
kernels
/
4.18.0-553.121.1.el8_10.x86_64
/
include
/
linux
/
platform_data
/
/usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/linux/platform_data
mkdir
upload
Name
Size
Mode
Actions
media/
-
0755
rm
x86/
-
0755
rm
ad5449.h
1184
0644
edit
dl
rm
ad5755.h
2801
0644
edit
dl
rm
ad5761.h
1261
0644
edit
dl
rm
ad7266.h
1490
0644
edit
dl
rm
ad7291.h
296
0644
edit
dl
rm
ad7298.h
410
0644
edit
dl
rm
ad7303.h
458
0644
edit
dl
rm
ad7791.h
530
0644
edit
dl
rm
ad7793.h
3834
0644
edit
dl
rm
ad7879.h
1188
0644
edit
dl
rm
ad7887.h
749
0644
edit
dl
rm
adau17x1.h
3590
0644
edit
dl
rm
adp5588.h
6700
0644
edit
dl
rm
adp8860.h
4713
0644
edit
dl
rm
adp8870.h
4617
0644
edit
dl
rm
ads1015.h
1132
0644
edit
dl
rm
ads7828.h
832
0644
edit
dl
rm
apds990x.h
2487
0644
edit
dl
rm
arm-ux500-pm.h
586
0644
edit
dl
rm
asoc-imx-ssi.h
686
0644
edit
dl
rm
asoc-kirkwood.h
145
0644
edit
dl
rm
asoc-mx27vis.h
285
0644
edit
dl
rm
asoc-palm27x.h
152
0644
edit
dl
rm
asoc-s3c.h
1501
0644
edit
dl
rm
asoc-s3c24xx_simtec.h
892
0644
edit
dl
rm
asoc-ti-mcbsp.h
1488
0644
edit
dl
rm
asoc-ux500-msp.h
452
0644
edit
dl
rm
at24.h
2131
0644
edit
dl
rm
at91_adc.h
1411
0644
edit
dl
rm
ata-pxa.h
1057
0644
edit
dl
rm
ata-samsung_cf.h
962
0644
edit
dl
rm
atmel.h
646
0644
edit
dl
rm
b53.h
1145
0644
edit
dl
rm
bcmgenet.h
402
0644
edit
dl
rm
bd6107.h
414
0644
edit
dl
rm
bh1770glc.h
1818
0644
edit
dl
rm
brcmfmac.h
6790
0644
edit
dl
rm
brcmnand.h
286
0644
edit
dl
rm
bt-nokia-h4p.h
1162
0644
edit
dl
rm
clk-da8xx-cfgchip.h
504
0644
edit
dl
rm
clk-davinci-pll.h
465
0644
edit
dl
rm
clk-fch.h
299
0644
edit
dl
rm
clk-integrator.h
118
0644
edit
dl
rm
clk-u300.h
47
0644
edit
dl
rm
cpuidle-exynos.h
507
0644
edit
dl
rm
crypto-atmel.h
545
0644
edit
dl
rm
crypto-ux500.h
543
0644
edit
dl
rm
cyttsp4.h
2266
0644
edit
dl
rm
davinci_asp.h
3315
0644
edit
dl
rm
db8500_thermal.h
1093
0644
edit
dl
rm
dma-atmel.h
2512
0644
edit
dl
rm
dma-coh901318.h
2039
0644
edit
dl
rm
dma-dw.h
2633
0644
edit
dl
rm
dma-ep93xx.h
2740
0644
edit
dl
rm
dma-hsu.h
478
0644
edit
dl
rm
dma-imx-sdma.h
1558
0644
edit
dl
rm
dma-imx.h
2021
0644
edit
dl
rm
dma-mmp_tdma.h
799
0644
edit
dl
rm
dma-mv_xor.h
375
0644
edit
dl
rm
dma-s3c24xx.h
1538
0644
edit
dl
rm
dma-ste-dma40.h
6193
0644
edit
dl
rm
dmtimer-omap.h
2476
0644
edit
dl
rm
ds620.h
426
0644
edit
dl
rm
dwc3-omap.h
2012
0644
edit
dl
rm
edma.h
2794
0644
edit
dl
rm
efm32-spi.h
375
0644
edit
dl
rm
efm32-uart.h
393
0644
edit
dl
rm
ehci-sh.h
995
0644
edit
dl
rm
elm.h
1778
0644
edit
dl
rm
emif_plat.h
4156
0644
edit
dl
rm
eth-netx.h
884
0644
edit
dl
rm
fsa9480.h
656
0644
edit
dl
rm
g762.h
1366
0644
edit
dl
rm
gpio-ath79.h
476
0644
edit
dl
rm
gpio-davinci.h
1470
0644
edit
dl
rm
gpio-dwapb.h
826
0644
edit
dl
rm
gpio-htc-egpio.h
1783
0644
edit
dl
rm
gpio-omap.h
6540
0644
edit
dl
rm
gpio-ts5500.h
838
0644
edit
dl
rm
gpio_backlight.h
445
0644
edit
dl
rm
gpmc-omap.h
5821
0644
edit
dl
rm
hsmmc-omap.h
2521
0644
edit
dl
rm
hwmon-s3c.h
1358
0644
edit
dl
rm
i2c-cbus-gpio.h
790
0644
edit
dl
rm
i2c-davinci.h
835
0644
edit
dl
rm
i2c-gpio.h
1218
0644
edit
dl
rm
i2c-imx.h
420
0644
edit
dl
rm
i2c-mux-gpio.h
1383
0644
edit
dl
rm
i2c-mux-reg.h
1442
0644
edit
dl
rm
i2c-ocores.h
757
0644
edit
dl
rm
i2c-omap.h
1241
0644
edit
dl
rm
i2c-pca-platform.h
291
0644
edit
dl
rm
i2c-pxa.h
2596
0644
edit
dl
rm
i2c-s3c2410.h
3075
0644
edit
dl
rm
i2c-xiic.h
1444
0644
edit
dl
rm
ina2xx.h
546
0644
edit
dl
rm
intel-mid_wdt.h
620
0644
edit
dl
rm
intel-spi.h
751
0644
edit
dl
rm
invensense_mpu6050.h
1272
0644
edit
dl
rm
iommu-omap.h
567
0644
edit
dl
rm
irda-pxaficp.h
704
0644
edit
dl
rm
irda-sa11x0.h
557
0644
edit
dl
rm
isl9305.h
704
0644
edit
dl
rm
itco_wdt.h
569
0644
edit
dl
rm
keyboard-pxa930_rotary.h
642
0644
edit
dl
rm
keyboard-spear.h
3897
0644
edit
dl
rm
keypad-ep93xx.h
1071
0644
edit
dl
rm
keypad-nomadik-ske.h
1200
0644
edit
dl
rm
keypad-omap.h
1478
0644
edit
dl
rm
keypad-pxa27x.h
2213
0644
edit
dl
rm
keypad-w90p910.h
380
0644
edit
dl
rm
keyscan-davinci.h
1182
0644
edit
dl
rm
lcd-mipid.h
586
0644
edit
dl
rm
leds-kirkwood-netxbig.h
1102
0644
edit
dl
rm
leds-kirkwood-ns2.h
742
0644
edit
dl
rm
leds-lm355x.h
1461
0644
edit
dl
rm
leds-lm3642.h
823
0644
edit
dl
rm
leds-lp55xx.h
2090
0644
edit
dl
rm
leds-omap.h
498
0644
edit
dl
rm
leds-pca963x.h
1254
0644
edit
dl
rm
leds-s3c24xx.h
669
0644
edit
dl
rm
lm3630a_bl.h
1683
0644
edit
dl
rm
lm3639_bl.h
1545
0644
edit
dl
rm
lm8323.h
1372
0644
edit
dl
rm
lp855x.h
4171
0644
edit
dl
rm
lp8727.h
1623
0644
edit
dl
rm
lp8755.h
1654
0644
edit
dl
rm
ltc4245.h
538
0644
edit
dl
rm
lv5207lp.h
419
0644
edit
dl
rm
macb.h
799
0644
edit
dl
rm
max197.h
757
0644
edit
dl
rm
max732x.h
573
0644
edit
dl
rm
max3421-hcd.h
808
0644
edit
dl
rm
max6639.h
433
0644
edit
dl
rm
max6697.h
1058
0644
edit
dl
rm
mcs.h
913
0644
edit
dl
rm
mdio-bcm-unimac.h
275
0644
edit
dl
rm
mdio-gpio.h
273
0644
edit
dl
rm
mfd-mcp-sa11x0.h
418
0644
edit
dl
rm
microchip-ksz.h
962
0644
edit
dl
rm
mlxcpld.h
885
0644
edit
dl
rm
mlxreg.h
7654
0644
edit
dl
rm
mmc-davinci.h
736
0644
edit
dl
rm
mmc-esdhc-imx.h
1592
0644
edit
dl
rm
mmc-mxcmmc.h
1099
0644
edit
dl
rm
mmc-omap.h
3463
0644
edit
dl
rm
mmc-pxamci.h
1036
0644
edit
dl
rm
mmc-s3cmci.h
2084
0644
edit
dl
rm
mmc-sdhci-s3c.h
2278
0644
edit
dl
rm
mmp_audio.h
492
0644
edit
dl
rm
mmp_dma.h
419
0644
edit
dl
rm
mouse-pxa930_trkball.h
226
0644
edit
dl
rm
mtd-davinci-aemif.h
769
0644
edit
dl
rm
mtd-davinci.h
3006
0644
edit
dl
rm
mtd-mxc_nand.h
1275
0644
edit
dl
rm
mtd-nand-omap2.h
2195
0644
edit
dl
rm
mtd-nand-pxa3xx.h
812
0644
edit
dl
rm
mtd-nand-s3c2410.h
2235
0644
edit
dl
rm
mtd-orion_nand.h
561
0644
edit
dl
rm
mv88e6xxx.h
390
0644
edit
dl
rm
mv_usb.h
1281
0644
edit
dl
rm
net-cw1200.h
2781
0644
edit
dl
rm
nfcmrvl.h
1262
0644
edit
dl
rm
ntc_thermistor.h
1937
0644
edit
dl
rm
nxp-nci.h
816
0644
edit
dl
rm
omap-twl4030.h
1675
0644
edit
dl
rm
omap-wd-timer.h
1108
0644
edit
dl
rm
omap1_bl.h
229
0644
edit
dl
rm
omapdss.h
1104
0644
edit
dl
rm
pca953x.h
690
0644
edit
dl
rm
pca954x.h
1567
0644
edit
dl
rm
pcf857x.h
1825
0644
edit
dl
rm
pcmcia-pxa2xx_viper.h
200
0644
edit
dl
rm
phy-da8xx-usb.h
474
0644
edit
dl
rm
pinctrl-single.h
339
0644
edit
dl
rm
pixcir_i2c_ts.h
1486
0644
edit
dl
rm
pm33xx.h
976
0644
edit
dl
rm
pwm_omap_dmtimer.h
3403
0644
edit
dl
rm
pxa2xx_udc.h
983
0644
edit
dl
rm
pxa_sdhci.h
1798
0644
edit
dl
rm
regulator-haptic.h
837
0644
edit
dl
rm
remoteproc-omap.h
1748
0644
edit
dl
rm
rtc-ds2404.h
467
0644
edit
dl
rm
rtc-v3020.h
1057
0644
edit
dl
rm
s3c-hsotg.h
1210
0644
edit
dl
rm
s3c-hsudc.h
1161
0644
edit
dl
rm
sa11x0-serial.h
874
0644
edit
dl
rm
sc18is602.h
543
0644
edit
dl
rm
sdhci-pic32.h
757
0644
edit
dl
rm
serial-imx.h
945
0644
edit
dl
rm
serial-omap.h
1231
0644
edit
dl
rm
serial-sccnxp.h
2149
0644
edit
dl
rm
shmob_drm.h
2843
0644
edit
dl
rm
sht3x.h
801
0644
edit
dl
rm
shtc1.h
720
0644
edit
dl
rm
si5351.h
3634
0644
edit
dl
rm
simplefb.h
2312
0644
edit
dl
rm
sky81452-backlight.h
1560
0644
edit
dl
rm
spi-clps711x.h
628
0644
edit
dl
rm
spi-davinci.h
3164
0644
edit
dl
rm
spi-ep93xx.h
454
0644
edit
dl
rm
spi-imx.h
1482
0644
edit
dl
rm
spi-mt65xx.h
531
0644
edit
dl
rm
spi-nuc900.h
730
0644
edit
dl
rm
spi-omap2-mcspi.h
453
0644
edit
dl
rm
spi-s3c64xx.h
2057
0644
edit
dl
rm
ssm2518.h
489
0644
edit
dl
rm
st33zp24.h
967
0644
edit
dl
rm
st_sensors_pdata.h
730
0644
edit
dl
rm
syscon.h
163
0644
edit
dl
rm
tc35876x.h
172
0644
edit
dl
rm
tda9950.h
282
0644
edit
dl
rm
ti-aemif.h
1254
0644
edit
dl
rm
ti-sysc.h
3753
0644
edit
dl
rm
touchscreen-s3c2410.h
741
0644
edit
dl
rm
tsc2007.h
655
0644
edit
dl
rm
tsl2563.h
180
0644
edit
dl
rm
tsl2772.h
3819
0644
edit
dl
rm
uio_dmem_genirq.h
800
0644
edit
dl
rm
uio_pruss.h
827
0644
edit
dl
rm
usb-davinci.h
1068
0644
edit
dl
rm
usb-ehci-mxc.h
332
0644
edit
dl
rm
usb-ehci-orion.h
440
0644
edit
dl
rm
usb-musb-ux500.h
575
0644
edit
dl
rm
usb-mx2.h
864
0644
edit
dl
rm
usb-ohci-pxa27x.h
925
0644
edit
dl
rm
usb-ohci-s3c2410.h
1087
0644
edit
dl
rm
usb-omap.h
2880
0644
edit
dl
rm
usb-omap1.h
1505
0644
edit
dl
rm
usb-pxa3xx-ulpi.h
821
0644
edit
dl
rm
usb-s3c2410_udc.h
1221
0644
edit
dl
rm
usb3503.h
431
0644
edit
dl
rm
ux500_wdt.h
320
0644
edit
dl
rm
video-clcd-versatile.h
758
0644
edit
dl
rm
video-ep93xx.h
1525
0644
edit
dl
rm
video-imxfb.h
1796
0644
edit
dl
rm
video-mx3fb.h
1573
0644
edit
dl
rm
video-nuc900fb.h
1935
0644
edit
dl
rm
video-pxafb.h
5503
0644
edit
dl
rm
video_s3c.h
1756
0644
edit
dl
rm
voltage-omap.h
1326
0644
edit
dl
rm
wiznet.h
504
0644
edit
dl
rm
wkup_m3.h
937
0644
edit
dl
rm
zforce_ts.h
727
0644
edit
dl
rm
Edit:
/usr/src/kernels/4.18.0-553.121.1.el8_10.x86_64/include/linux/platform_data/adp5588.h
(6700B)
/* * Analog Devices ADP5588 I/O Expander and QWERTY Keypad Controller * * Copyright 2009-2010 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #ifndef _ADP5588_H #define _ADP5588_H #define DEV_ID 0x00 /* Device ID */ #define CFG 0x01 /* Configuration Register1 */ #define INT_STAT 0x02 /* Interrupt Status Register */ #define KEY_LCK_EC_STAT 0x03 /* Key Lock and Event Counter Register */ #define Key_EVENTA 0x04 /* Key Event Register A */ #define Key_EVENTB 0x05 /* Key Event Register B */ #define Key_EVENTC 0x06 /* Key Event Register C */ #define Key_EVENTD 0x07 /* Key Event Register D */ #define Key_EVENTE 0x08 /* Key Event Register E */ #define Key_EVENTF 0x09 /* Key Event Register F */ #define Key_EVENTG 0x0A /* Key Event Register G */ #define Key_EVENTH 0x0B /* Key Event Register H */ #define Key_EVENTI 0x0C /* Key Event Register I */ #define Key_EVENTJ 0x0D /* Key Event Register J */ #define KP_LCK_TMR 0x0E /* Keypad Lock1 to Lock2 Timer */ #define UNLOCK1 0x0F /* Unlock Key1 */ #define UNLOCK2 0x10 /* Unlock Key2 */ #define GPIO_INT_STAT1 0x11 /* GPIO Interrupt Status */ #define GPIO_INT_STAT2 0x12 /* GPIO Interrupt Status */ #define GPIO_INT_STAT3 0x13 /* GPIO Interrupt Status */ #define GPIO_DAT_STAT1 0x14 /* GPIO Data Status, Read twice to clear */ #define GPIO_DAT_STAT2 0x15 /* GPIO Data Status, Read twice to clear */ #define GPIO_DAT_STAT3 0x16 /* GPIO Data Status, Read twice to clear */ #define GPIO_DAT_OUT1 0x17 /* GPIO DATA OUT */ #define GPIO_DAT_OUT2 0x18 /* GPIO DATA OUT */ #define GPIO_DAT_OUT3 0x19 /* GPIO DATA OUT */ #define GPIO_INT_EN1 0x1A /* GPIO Interrupt Enable */ #define GPIO_INT_EN2 0x1B /* GPIO Interrupt Enable */ #define GPIO_INT_EN3 0x1C /* GPIO Interrupt Enable */ #define KP_GPIO1 0x1D /* Keypad or GPIO Selection */ #define KP_GPIO2 0x1E /* Keypad or GPIO Selection */ #define KP_GPIO3 0x1F /* Keypad or GPIO Selection */ #define GPI_EM1 0x20 /* GPI Event Mode 1 */ #define GPI_EM2 0x21 /* GPI Event Mode 2 */ #define GPI_EM3 0x22 /* GPI Event Mode 3 */ #define GPIO_DIR1 0x23 /* GPIO Data Direction */ #define GPIO_DIR2 0x24 /* GPIO Data Direction */ #define GPIO_DIR3 0x25 /* GPIO Data Direction */ #define GPIO_INT_LVL1 0x26 /* GPIO Edge/Level Detect */ #define GPIO_INT_LVL2 0x27 /* GPIO Edge/Level Detect */ #define GPIO_INT_LVL3 0x28 /* GPIO Edge/Level Detect */ #define Debounce_DIS1 0x29 /* Debounce Disable */ #define Debounce_DIS2 0x2A /* Debounce Disable */ #define Debounce_DIS3 0x2B /* Debounce Disable */ #define GPIO_PULL1 0x2C /* GPIO Pull Disable */ #define GPIO_PULL2 0x2D /* GPIO Pull Disable */ #define GPIO_PULL3 0x2E /* GPIO Pull Disable */ #define CMP_CFG_STAT 0x30 /* Comparator Configuration and Status Register */ #define CMP_CONFG_SENS1 0x31 /* Sensor1 Comparator Configuration Register */ #define CMP_CONFG_SENS2 0x32 /* L2 Light Sensor Reference Level, Output Falling for Sensor 1 */ #define CMP1_LVL2_TRIP 0x33 /* L2 Light Sensor Hysteresis (Active when Output Rising) for Sensor 1 */ #define CMP1_LVL2_HYS 0x34 /* L3 Light Sensor Reference Level, Output Falling For Sensor 1 */ #define CMP1_LVL3_TRIP 0x35 /* L3 Light Sensor Hysteresis (Active when Output Rising) For Sensor 1 */ #define CMP1_LVL3_HYS 0x36 /* Sensor 2 Comparator Configuration Register */ #define CMP2_LVL2_TRIP 0x37 /* L2 Light Sensor Reference Level, Output Falling for Sensor 2 */ #define CMP2_LVL2_HYS 0x38 /* L2 Light Sensor Hysteresis (Active when Output Rising) for Sensor 2 */ #define CMP2_LVL3_TRIP 0x39 /* L3 Light Sensor Reference Level, Output Falling For Sensor 2 */ #define CMP2_LVL3_HYS 0x3A /* L3 Light Sensor Hysteresis (Active when Output Rising) For Sensor 2 */ #define CMP1_ADC_DAT_R1 0x3B /* Comparator 1 ADC data Register1 */ #define CMP1_ADC_DAT_R2 0x3C /* Comparator 1 ADC data Register2 */ #define CMP2_ADC_DAT_R1 0x3D /* Comparator 2 ADC data Register1 */ #define CMP2_ADC_DAT_R2 0x3E /* Comparator 2 ADC data Register2 */ #define ADP5588_DEVICE_ID_MASK 0xF /* Configuration Register1 */ #define ADP5588_AUTO_INC (1 << 7) #define ADP5588_GPIEM_CFG (1 << 6) #define ADP5588_OVR_FLOW_M (1 << 5) #define ADP5588_INT_CFG (1 << 4) #define ADP5588_OVR_FLOW_IEN (1 << 3) #define ADP5588_K_LCK_IM (1 << 2) #define ADP5588_GPI_IEN (1 << 1) #define ADP5588_KE_IEN (1 << 0) /* Interrupt Status Register */ #define ADP5588_CMP2_INT (1 << 5) #define ADP5588_CMP1_INT (1 << 4) #define ADP5588_OVR_FLOW_INT (1 << 3) #define ADP5588_K_LCK_INT (1 << 2) #define ADP5588_GPI_INT (1 << 1) #define ADP5588_KE_INT (1 << 0) /* Key Lock and Event Counter Register */ #define ADP5588_K_LCK_EN (1 << 6) #define ADP5588_LCK21 0x30 #define ADP5588_KEC 0xF #define ADP5588_MAXGPIO 18 #define ADP5588_BANK(offs) ((offs) >> 3) #define ADP5588_BIT(offs) (1u << ((offs) & 0x7)) /* Put one of these structures in i2c_board_info platform_data */ #define ADP5588_KEYMAPSIZE 80 #define GPI_PIN_ROW0 97 #define GPI_PIN_ROW1 98 #define GPI_PIN_ROW2 99 #define GPI_PIN_ROW3 100 #define GPI_PIN_ROW4 101 #define GPI_PIN_ROW5 102 #define GPI_PIN_ROW6 103 #define GPI_PIN_ROW7 104 #define GPI_PIN_COL0 105 #define GPI_PIN_COL1 106 #define GPI_PIN_COL2 107 #define GPI_PIN_COL3 108 #define GPI_PIN_COL4 109 #define GPI_PIN_COL5 110 #define GPI_PIN_COL6 111 #define GPI_PIN_COL7 112 #define GPI_PIN_COL8 113 #define GPI_PIN_COL9 114 #define GPI_PIN_ROW_BASE GPI_PIN_ROW0 #define GPI_PIN_ROW_END GPI_PIN_ROW7 #define GPI_PIN_COL_BASE GPI_PIN_COL0 #define GPI_PIN_COL_END GPI_PIN_COL9 #define GPI_PIN_BASE GPI_PIN_ROW_BASE #define GPI_PIN_END GPI_PIN_COL_END #define ADP5588_GPIMAPSIZE_MAX (GPI_PIN_END - GPI_PIN_BASE + 1) struct adp5588_gpi_map { unsigned short pin; unsigned short sw_evt; }; struct adp5588_kpad_platform_data { int rows; /* Number of rows */ int cols; /* Number of columns */ const unsigned short *keymap; /* Pointer to keymap */ unsigned short keymapsize; /* Keymap size */ unsigned repeat:1; /* Enable key repeat */ unsigned en_keylock:1; /* Enable Key Lock feature */ unsigned short unlock_key1; /* Unlock Key 1 */ unsigned short unlock_key2; /* Unlock Key 2 */ const struct adp5588_gpi_map *gpimap; unsigned short gpimapsize; const struct adp5588_gpio_platform_data *gpio_data; }; struct i2c_client; /* forward declaration */ struct adp5588_gpio_platform_data { int gpio_start; /* GPIO Chip base # */ const char *const *names; unsigned irq_base; /* interrupt base # */ unsigned pullup_dis_mask; /* Pull-Up Disable Mask */ int (*setup)(struct i2c_client *client, unsigned gpio, unsigned ngpio, void *context); int (*teardown)(struct i2c_client *client, unsigned gpio, unsigned ngpio, void *context); void *context; }; #endif
Save
cmd:
run