diff options
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/ad7266.h | 54 | ||||
| -rw-r--r-- | include/linux/platform_data/atmel-aes.h | 22 | ||||
| -rw-r--r-- | include/linux/platform_data/i2c-nomadik.h | 39 | ||||
| -rw-r--r-- | include/linux/platform_data/leds-lm3556.h | 50 | ||||
| -rw-r--r-- | include/linux/platform_data/lp855x.h | 125 | ||||
| -rw-r--r-- | include/linux/platform_data/lp8727.h | 65 | ||||
| -rw-r--r-- | include/linux/platform_data/mv_usb.h | 9 | ||||
| -rw-r--r-- | include/linux/platform_data/s3c-hsotg.h | 5 | ||||
| -rw-r--r-- | include/linux/platform_data/spear_thermal.h | 26 |
9 files changed, 360 insertions, 35 deletions
diff --git a/include/linux/platform_data/ad7266.h b/include/linux/platform_data/ad7266.h new file mode 100644 index 000000000000..eabfdcb26992 --- /dev/null +++ b/include/linux/platform_data/ad7266.h | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | /* | ||
| 2 | * AD7266/65 SPI ADC driver | ||
| 3 | * | ||
| 4 | * Copyright 2012 Analog Devices Inc. | ||
| 5 | * | ||
| 6 | * Licensed under the GPL-2. | ||
| 7 | */ | ||
| 8 | |||
| 9 | #ifndef __IIO_ADC_AD7266_H__ | ||
| 10 | #define __IIO_ADC_AD7266_H__ | ||
| 11 | |||
| 12 | /** | ||
| 13 | * enum ad7266_range - AD7266 reference voltage range | ||
| 14 | * @AD7266_RANGE_VREF: Device is configured for input range 0V - VREF | ||
| 15 | * (RANGE pin set to low) | ||
| 16 | * @AD7266_RANGE_2VREF: Device is configured for input range 0V - 2VREF | ||
| 17 | * (RANGE pin set to high) | ||
| 18 | */ | ||
| 19 | enum ad7266_range { | ||
| 20 | AD7266_RANGE_VREF, | ||
| 21 | AD7266_RANGE_2VREF, | ||
| 22 | }; | ||
| 23 | |||
| 24 | /** | ||
| 25 | * enum ad7266_mode - AD7266 sample mode | ||
| 26 | * @AD7266_MODE_DIFF: Device is configured for full differential mode | ||
| 27 | * (SGL/DIFF pin set to low, AD0 pin set to low) | ||
| 28 | * @AD7266_MODE_PSEUDO_DIFF: Device is configured for pseudo differential mode | ||
| 29 | * (SGL/DIFF pin set to low, AD0 pin set to high) | ||
| 30 | * @AD7266_MODE_SINGLE_ENDED: Device is configured for single-ended mode | ||
| 31 | * (SGL/DIFF pin set to high) | ||
| 32 | */ | ||
| 33 | enum ad7266_mode { | ||
| 34 | AD7266_MODE_DIFF, | ||
| 35 | AD7266_MODE_PSEUDO_DIFF, | ||
| 36 | AD7266_MODE_SINGLE_ENDED, | ||
| 37 | }; | ||
| 38 | |||
| 39 | /** | ||
| 40 | * struct ad7266_platform_data - Platform data for the AD7266 driver | ||
| 41 | * @range: Reference voltage range the device is configured for | ||
| 42 | * @mode: Sample mode the device is configured for | ||
| 43 | * @fixed_addr: Whether the address pins are hard-wired | ||
| 44 | * @addr_gpios: GPIOs used for controlling the address pins, only used if | ||
| 45 | * fixed_addr is set to false. | ||
| 46 | */ | ||
| 47 | struct ad7266_platform_data { | ||
| 48 | enum ad7266_range range; | ||
| 49 | enum ad7266_mode mode; | ||
| 50 | bool fixed_addr; | ||
| 51 | unsigned int addr_gpios[3]; | ||
| 52 | }; | ||
| 53 | |||
| 54 | #endif | ||
diff --git a/include/linux/platform_data/atmel-aes.h b/include/linux/platform_data/atmel-aes.h new file mode 100644 index 000000000000..e7a1949bad26 --- /dev/null +++ b/include/linux/platform_data/atmel-aes.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #ifndef __LINUX_ATMEL_AES_H | ||
| 2 | #define __LINUX_ATMEL_AES_H | ||
| 3 | |||
| 4 | #include <mach/at_hdmac.h> | ||
| 5 | |||
| 6 | /** | ||
| 7 | * struct aes_dma_data - DMA data for AES | ||
| 8 | */ | ||
| 9 | struct aes_dma_data { | ||
| 10 | struct at_dma_slave txdata; | ||
| 11 | struct at_dma_slave rxdata; | ||
| 12 | }; | ||
| 13 | |||
| 14 | /** | ||
| 15 | * struct aes_platform_data - board-specific AES configuration | ||
| 16 | * @dma_slave: DMA slave interface to use in data transfers. | ||
| 17 | */ | ||
| 18 | struct aes_platform_data { | ||
| 19 | struct aes_dma_data *dma_slave; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif /* __LINUX_ATMEL_AES_H */ | ||
diff --git a/include/linux/platform_data/i2c-nomadik.h b/include/linux/platform_data/i2c-nomadik.h new file mode 100644 index 000000000000..c2303c3e4803 --- /dev/null +++ b/include/linux/platform_data/i2c-nomadik.h | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2009 ST-Ericsson | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify | ||
| 5 | * it under the terms of the GNU General Public License version 2, as | ||
| 6 | * published by the Free Software Foundation. | ||
| 7 | */ | ||
| 8 | #ifndef __PDATA_I2C_NOMADIK_H | ||
| 9 | #define __PDATA_I2C_NOMADIK_H | ||
| 10 | |||
| 11 | enum i2c_freq_mode { | ||
| 12 | I2C_FREQ_MODE_STANDARD, /* up to 100 Kb/s */ | ||
| 13 | I2C_FREQ_MODE_FAST, /* up to 400 Kb/s */ | ||
| 14 | I2C_FREQ_MODE_HIGH_SPEED, /* up to 3.4 Mb/s */ | ||
| 15 | I2C_FREQ_MODE_FAST_PLUS, /* up to 1 Mb/s */ | ||
| 16 | }; | ||
| 17 | |||
| 18 | /** | ||
| 19 | * struct nmk_i2c_controller - client specific controller configuration | ||
| 20 | * @clk_freq: clock frequency for the operation mode | ||
| 21 | * @slsu: Slave data setup time in ns. | ||
| 22 | * The needed setup time for three modes of operation | ||
| 23 | * are 250ns, 100ns and 10ns respectively thus leading | ||
| 24 | * to the values of 14, 6, 2 for a 48 MHz i2c clk | ||
| 25 | * @tft: Tx FIFO Threshold in bytes | ||
| 26 | * @rft: Rx FIFO Threshold in bytes | ||
| 27 | * @timeout Slave response timeout(ms) | ||
| 28 | * @sm: speed mode | ||
| 29 | */ | ||
| 30 | struct nmk_i2c_controller { | ||
| 31 | unsigned long clk_freq; | ||
| 32 | unsigned short slsu; | ||
| 33 | unsigned char tft; | ||
| 34 | unsigned char rft; | ||
| 35 | int timeout; | ||
| 36 | enum i2c_freq_mode sm; | ||
| 37 | }; | ||
| 38 | |||
| 39 | #endif /* __PDATA_I2C_NOMADIK_H */ | ||
diff --git a/include/linux/platform_data/leds-lm3556.h b/include/linux/platform_data/leds-lm3556.h new file mode 100644 index 000000000000..4b4e7d6b0527 --- /dev/null +++ b/include/linux/platform_data/leds-lm3556.h | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* | ||
| 2 | * Simple driver for Texas Instruments LM3556 LED Flash driver chip (Rev0x03) | ||
| 3 | * Copyright (C) 2012 Texas Instruments | ||
| 4 | * | ||
| 5 | * This program is free software; you can redistribute it and/or modify | ||
| 6 | * it under the terms of the GNU General Public License version 2 as | ||
| 7 | * published by the Free Software Foundation. | ||
| 8 | * | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef __LINUX_LM3556_H | ||
| 12 | #define __LINUX_LM3556_H | ||
| 13 | |||
| 14 | #define LM3556_NAME "leds-lm3556" | ||
| 15 | |||
| 16 | enum lm3556_pin_polarity { | ||
| 17 | PIN_LOW_ACTIVE = 0, | ||
| 18 | PIN_HIGH_ACTIVE, | ||
| 19 | }; | ||
| 20 | |||
| 21 | enum lm3556_pin_enable { | ||
| 22 | PIN_DISABLED = 0, | ||
| 23 | PIN_ENABLED, | ||
| 24 | }; | ||
| 25 | |||
| 26 | enum lm3556_strobe_usuage { | ||
| 27 | STROBE_EDGE_DETECT = 0, | ||
| 28 | STROBE_LEVEL_DETECT, | ||
| 29 | }; | ||
| 30 | |||
| 31 | enum lm3556_indic_mode { | ||
| 32 | INDIC_MODE_INTERNAL = 0, | ||
| 33 | INDIC_MODE_EXTERNAL, | ||
| 34 | }; | ||
| 35 | |||
| 36 | struct lm3556_platform_data { | ||
| 37 | enum lm3556_pin_enable torch_pin_en; | ||
| 38 | enum lm3556_pin_polarity torch_pin_polarity; | ||
| 39 | |||
| 40 | enum lm3556_strobe_usuage strobe_usuage; | ||
| 41 | enum lm3556_pin_enable strobe_pin_en; | ||
| 42 | enum lm3556_pin_polarity strobe_pin_polarity; | ||
| 43 | |||
| 44 | enum lm3556_pin_enable tx_pin_en; | ||
| 45 | enum lm3556_pin_polarity tx_pin_polarity; | ||
| 46 | |||
| 47 | enum lm3556_indic_mode indicator_mode; | ||
| 48 | }; | ||
| 49 | |||
| 50 | #endif /* __LINUX_LM3556_H */ | ||
diff --git a/include/linux/platform_data/lp855x.h b/include/linux/platform_data/lp855x.h new file mode 100644 index 000000000000..cc76f1f18f18 --- /dev/null +++ b/include/linux/platform_data/lp855x.h | |||
| @@ -0,0 +1,125 @@ | |||
| 1 | /* | ||
| 2 | * LP855x Backlight Driver | ||
| 3 | * | ||
| 4 | * Copyright (C) 2011 Texas Instruments | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef _LP855X_H | ||
| 13 | #define _LP855X_H | ||
| 14 | |||
| 15 | #define BL_CTL_SHFT (0) | ||
| 16 | #define BRT_MODE_SHFT (1) | ||
| 17 | #define BRT_MODE_MASK (0x06) | ||
| 18 | |||
| 19 | /* Enable backlight. Only valid when BRT_MODE=10(I2C only) */ | ||
| 20 | #define ENABLE_BL (1) | ||
| 21 | #define DISABLE_BL (0) | ||
| 22 | |||
| 23 | #define I2C_CONFIG(id) id ## _I2C_CONFIG | ||
| 24 | #define PWM_CONFIG(id) id ## _PWM_CONFIG | ||
| 25 | |||
| 26 | /* DEVICE CONTROL register - LP8550 */ | ||
| 27 | #define LP8550_PWM_CONFIG (LP8550_PWM_ONLY << BRT_MODE_SHFT) | ||
| 28 | #define LP8550_I2C_CONFIG ((ENABLE_BL << BL_CTL_SHFT) | \ | ||
| 29 | (LP8550_I2C_ONLY << BRT_MODE_SHFT)) | ||
| 30 | |||
| 31 | /* DEVICE CONTROL register - LP8551 */ | ||
| 32 | #define LP8551_PWM_CONFIG LP8550_PWM_CONFIG | ||
| 33 | #define LP8551_I2C_CONFIG LP8550_I2C_CONFIG | ||
| 34 | |||
| 35 | /* DEVICE CONTROL register - LP8552 */ | ||
| 36 | #define LP8552_PWM_CONFIG LP8550_PWM_CONFIG | ||
| 37 | #define LP8552_I2C_CONFIG LP8550_I2C_CONFIG | ||
| 38 | |||
| 39 | /* DEVICE CONTROL register - LP8553 */ | ||
| 40 | #define LP8553_PWM_CONFIG LP8550_PWM_CONFIG | ||
| 41 | #define LP8553_I2C_CONFIG LP8550_I2C_CONFIG | ||
| 42 | |||
| 43 | /* DEVICE CONTROL register - LP8556 */ | ||
| 44 | #define LP8556_PWM_CONFIG (LP8556_PWM_ONLY << BRT_MODE_SHFT) | ||
| 45 | #define LP8556_COMB1_CONFIG (LP8556_COMBINED1 << BRT_MODE_SHFT) | ||
| 46 | #define LP8556_I2C_CONFIG ((ENABLE_BL << BL_CTL_SHFT) | \ | ||
| 47 | (LP8556_I2C_ONLY << BRT_MODE_SHFT)) | ||
| 48 | #define LP8556_COMB2_CONFIG (LP8556_COMBINED2 << BRT_MODE_SHFT) | ||
| 49 | |||
| 50 | enum lp855x_chip_id { | ||
| 51 | LP8550, | ||
| 52 | LP8551, | ||
| 53 | LP8552, | ||
| 54 | LP8553, | ||
| 55 | LP8556, | ||
| 56 | }; | ||
| 57 | |||
| 58 | enum lp855x_brightness_ctrl_mode { | ||
| 59 | PWM_BASED = 1, | ||
| 60 | REGISTER_BASED, | ||
| 61 | }; | ||
| 62 | |||
| 63 | enum lp8550_brighntess_source { | ||
| 64 | LP8550_PWM_ONLY, | ||
| 65 | LP8550_I2C_ONLY = 2, | ||
| 66 | }; | ||
| 67 | |||
| 68 | enum lp8551_brighntess_source { | ||
| 69 | LP8551_PWM_ONLY = LP8550_PWM_ONLY, | ||
| 70 | LP8551_I2C_ONLY = LP8550_I2C_ONLY, | ||
| 71 | }; | ||
| 72 | |||
| 73 | enum lp8552_brighntess_source { | ||
| 74 | LP8552_PWM_ONLY = LP8550_PWM_ONLY, | ||
| 75 | LP8552_I2C_ONLY = LP8550_I2C_ONLY, | ||
| 76 | }; | ||
| 77 | |||
| 78 | enum lp8553_brighntess_source { | ||
| 79 | LP8553_PWM_ONLY = LP8550_PWM_ONLY, | ||
| 80 | LP8553_I2C_ONLY = LP8550_I2C_ONLY, | ||
| 81 | }; | ||
| 82 | |||
| 83 | enum lp8556_brightness_source { | ||
| 84 | LP8556_PWM_ONLY, | ||
| 85 | LP8556_COMBINED1, /* pwm + i2c before the shaper block */ | ||
| 86 | LP8556_I2C_ONLY, | ||
| 87 | LP8556_COMBINED2, /* pwm + i2c after the shaper block */ | ||
| 88 | }; | ||
| 89 | |||
| 90 | struct lp855x_pwm_data { | ||
| 91 | void (*pwm_set_intensity) (int brightness, int max_brightness); | ||
| 92 | int (*pwm_get_intensity) (int max_brightness); | ||
| 93 | }; | ||
| 94 | |||
| 95 | struct lp855x_rom_data { | ||
| 96 | u8 addr; | ||
| 97 | u8 val; | ||
| 98 | }; | ||
| 99 | |||
| 100 | /** | ||
| 101 | * struct lp855x_platform_data | ||
| 102 | * @name : Backlight driver name. If it is not defined, default name is set. | ||
| 103 | * @mode : brightness control by pwm or lp855x register | ||
| 104 | * @device_control : value of DEVICE CONTROL register | ||
| 105 | * @initial_brightness : initial value of backlight brightness | ||
| 106 | * @pwm_data : platform specific pwm generation functions. | ||
| 107 | Only valid when mode is PWM_BASED. | ||
| 108 | * @load_new_rom_data : | ||
| 109 | 0 : use default configuration data | ||
| 110 | 1 : update values of eeprom or eprom registers on loading driver | ||
| 111 | * @size_program : total size of lp855x_rom_data | ||
| 112 | * @rom_data : list of new eeprom/eprom registers | ||
| 113 | */ | ||
| 114 | struct lp855x_platform_data { | ||
| 115 | char *name; | ||
| 116 | enum lp855x_brightness_ctrl_mode mode; | ||
| 117 | u8 device_control; | ||
| 118 | int initial_brightness; | ||
| 119 | struct lp855x_pwm_data pwm_data; | ||
| 120 | u8 load_new_rom_data; | ||
| 121 | int size_program; | ||
| 122 | struct lp855x_rom_data *rom_data; | ||
| 123 | }; | ||
| 124 | |||
| 125 | #endif | ||
diff --git a/include/linux/platform_data/lp8727.h b/include/linux/platform_data/lp8727.h new file mode 100644 index 000000000000..ea98c6133d32 --- /dev/null +++ b/include/linux/platform_data/lp8727.h | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | /* | ||
| 2 | * LP8727 Micro/Mini USB IC with integrated charger | ||
| 3 | * | ||
| 4 | * Copyright (C) 2011 Texas Instruments | ||
| 5 | * Copyright (C) 2011 National Semiconductor | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License version 2 as | ||
| 9 | * published by the Free Software Foundation. | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef _LP8727_H | ||
| 13 | #define _LP8727_H | ||
| 14 | |||
| 15 | enum lp8727_eoc_level { | ||
| 16 | EOC_5P, | ||
| 17 | EOC_10P, | ||
| 18 | EOC_16P, | ||
| 19 | EOC_20P, | ||
| 20 | EOC_25P, | ||
| 21 | EOC_33P, | ||
| 22 | EOC_50P, | ||
| 23 | }; | ||
| 24 | |||
| 25 | enum lp8727_ichg { | ||
| 26 | ICHG_90mA, | ||
| 27 | ICHG_100mA, | ||
| 28 | ICHG_400mA, | ||
| 29 | ICHG_450mA, | ||
| 30 | ICHG_500mA, | ||
| 31 | ICHG_600mA, | ||
| 32 | ICHG_700mA, | ||
| 33 | ICHG_800mA, | ||
| 34 | ICHG_900mA, | ||
| 35 | ICHG_1000mA, | ||
| 36 | }; | ||
| 37 | |||
| 38 | /** | ||
| 39 | * struct lp8727_chg_param | ||
| 40 | * @eoc_level : end of charge level setting | ||
| 41 | * @ichg : charging current | ||
| 42 | */ | ||
| 43 | struct lp8727_chg_param { | ||
| 44 | enum lp8727_eoc_level eoc_level; | ||
| 45 | enum lp8727_ichg ichg; | ||
| 46 | }; | ||
| 47 | |||
| 48 | /** | ||
| 49 | * struct lp8727_platform_data | ||
| 50 | * @get_batt_present : check battery status - exists or not | ||
| 51 | * @get_batt_level : get battery voltage (mV) | ||
| 52 | * @get_batt_capacity : get battery capacity (%) | ||
| 53 | * @get_batt_temp : get battery temperature | ||
| 54 | * @ac, @usb : charging parameters each charger type | ||
| 55 | */ | ||
| 56 | struct lp8727_platform_data { | ||
| 57 | u8 (*get_batt_present)(void); | ||
| 58 | u16 (*get_batt_level)(void); | ||
| 59 | u8 (*get_batt_capacity)(void); | ||
| 60 | u8 (*get_batt_temp)(void); | ||
| 61 | struct lp8727_chg_param ac; | ||
| 62 | struct lp8727_chg_param usb; | ||
| 63 | }; | ||
| 64 | |||
| 65 | #endif | ||
diff --git a/include/linux/platform_data/mv_usb.h b/include/linux/platform_data/mv_usb.h index d94804aca764..944b01dd103e 100644 --- a/include/linux/platform_data/mv_usb.h +++ b/include/linux/platform_data/mv_usb.h | |||
| @@ -52,13 +52,4 @@ struct mv_usb_platform_data { | |||
| 52 | int (*set_vbus)(unsigned int vbus); | 52 | int (*set_vbus)(unsigned int vbus); |
| 53 | int (*private_init)(void __iomem *opregs, void __iomem *phyregs); | 53 | int (*private_init)(void __iomem *opregs, void __iomem *phyregs); |
| 54 | }; | 54 | }; |
| 55 | |||
| 56 | #ifndef CONFIG_HAVE_CLK | ||
| 57 | /* Dummy stub for clk framework */ | ||
| 58 | #define clk_get(dev, id) NULL | ||
| 59 | #define clk_put(clock) do {} while (0) | ||
| 60 | #define clk_enable(clock) do {} while (0) | ||
| 61 | #define clk_disable(clock) do {} while (0) | ||
| 62 | #endif | ||
| 63 | |||
| 64 | #endif | 55 | #endif |
diff --git a/include/linux/platform_data/s3c-hsotg.h b/include/linux/platform_data/s3c-hsotg.h index 97ec12c2ded4..8b79e0967f9c 100644 --- a/include/linux/platform_data/s3c-hsotg.h +++ b/include/linux/platform_data/s3c-hsotg.h | |||
| @@ -12,6 +12,9 @@ | |||
| 12 | * published by the Free Software Foundation. | 12 | * published by the Free Software Foundation. |
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #ifndef __LINUX_USB_S3C_HSOTG_H | ||
| 16 | #define __LINUX_USB_S3C_HSOTG_H | ||
| 17 | |||
| 15 | enum s3c_hsotg_dmamode { | 18 | enum s3c_hsotg_dmamode { |
| 16 | S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */ | 19 | S3C_HSOTG_DMA_NONE, /* do not use DMA at-all */ |
| 17 | S3C_HSOTG_DMA_ONLY, /* always use DMA */ | 20 | S3C_HSOTG_DMA_ONLY, /* always use DMA */ |
| @@ -33,3 +36,5 @@ struct s3c_hsotg_plat { | |||
| 33 | }; | 36 | }; |
| 34 | 37 | ||
| 35 | extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd); | 38 | extern void s3c_hsotg_set_platdata(struct s3c_hsotg_plat *pd); |
| 39 | |||
| 40 | #endif /* __LINUX_USB_S3C_HSOTG_H */ | ||
diff --git a/include/linux/platform_data/spear_thermal.h b/include/linux/platform_data/spear_thermal.h deleted file mode 100644 index 724f2e1cbbcb..000000000000 --- a/include/linux/platform_data/spear_thermal.h +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * SPEAr thermal driver platform data. | ||
| 3 | * | ||
| 4 | * Copyright (C) 2011-2012 ST Microelectronics | ||
| 5 | * Author: Vincenzo Frascino <vincenzo.frascino@st.com> | ||
| 6 | * | ||
| 7 | * This software is licensed under the terms of the GNU General Public | ||
| 8 | * License version 2, as published by the Free Software Foundation, and | ||
| 9 | * may be copied, distributed, and modified under those terms. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | */ | ||
| 17 | #ifndef SPEAR_THERMAL_H | ||
| 18 | #define SPEAR_THERMAL_H | ||
| 19 | |||
| 20 | /* SPEAr Thermal Sensor Platform Data */ | ||
| 21 | struct spear_thermal_pdata { | ||
| 22 | /* flags used to enable thermal sensor */ | ||
| 23 | unsigned int thermal_flags; | ||
| 24 | }; | ||
| 25 | |||
| 26 | #endif /* SPEAR_THERMAL_H */ | ||
