diff options
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r-- | include/linux/platform_data/adau1977.h | 45 | ||||
-rw-r--r-- | include/linux/platform_data/asoc-s3c.h | 3 | ||||
-rw-r--r-- | include/linux/platform_data/asoc-s3c24xx_simtec.h | 3 | ||||
-rw-r--r-- | include/linux/platform_data/ata-samsung_cf.h | 9 | ||||
-rw-r--r-- | include/linux/platform_data/atmel.h | 1 | ||||
-rw-r--r-- | include/linux/platform_data/bt-nokia-h4p.h | 38 | ||||
-rw-r--r-- | include/linux/platform_data/clk-integrator.h | 1 | ||||
-rw-r--r-- | include/linux/platform_data/davinci_asp.h | 4 | ||||
-rw-r--r-- | include/linux/platform_data/gpio-davinci.h | 4 | ||||
-rw-r--r-- | include/linux/platform_data/max310x.h | 64 | ||||
-rw-r--r-- | include/linux/platform_data/mtd-davinci-aemif.h | 5 | ||||
-rw-r--r-- | include/linux/platform_data/serial-imx.h | 2 | ||||
-rw-r--r-- | include/linux/platform_data/spi-s3c64xx.h | 9 | ||||
-rw-r--r-- | include/linux/platform_data/touchscreen-s3c2410.h | 17 | ||||
-rw-r--r-- | include/linux/platform_data/video-imxfb.h | 12 |
15 files changed, 108 insertions, 109 deletions
diff --git a/include/linux/platform_data/adau1977.h b/include/linux/platform_data/adau1977.h new file mode 100644 index 000000000000..bed11d908f92 --- /dev/null +++ b/include/linux/platform_data/adau1977.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * ADAU1977/ADAU1978/ADAU1979 driver | ||
3 | * | ||
4 | * Copyright 2014 Analog Devices Inc. | ||
5 | * Author: Lars-Peter Clausen <lars@metafoo.de> | ||
6 | * | ||
7 | * Licensed under the GPL-2. | ||
8 | */ | ||
9 | |||
10 | #ifndef __LINUX_PLATFORM_DATA_ADAU1977_H__ | ||
11 | #define __LINUX_PLATFORM_DATA_ADAU1977_H__ | ||
12 | |||
13 | /** | ||
14 | * enum adau1977_micbias - ADAU1977 MICBIAS pin voltage setting | ||
15 | * @ADAU1977_MICBIAS_5V0: MICBIAS is set to 5.0 V | ||
16 | * @ADAU1977_MICBIAS_5V5: MICBIAS is set to 5.5 V | ||
17 | * @ADAU1977_MICBIAS_6V0: MICBIAS is set to 6.0 V | ||
18 | * @ADAU1977_MICBIAS_6V5: MICBIAS is set to 6.5 V | ||
19 | * @ADAU1977_MICBIAS_7V0: MICBIAS is set to 7.0 V | ||
20 | * @ADAU1977_MICBIAS_7V5: MICBIAS is set to 7.5 V | ||
21 | * @ADAU1977_MICBIAS_8V0: MICBIAS is set to 8.0 V | ||
22 | * @ADAU1977_MICBIAS_8V5: MICBIAS is set to 8.5 V | ||
23 | * @ADAU1977_MICBIAS_9V0: MICBIAS is set to 9.0 V | ||
24 | */ | ||
25 | enum adau1977_micbias { | ||
26 | ADAU1977_MICBIAS_5V0 = 0x0, | ||
27 | ADAU1977_MICBIAS_5V5 = 0x1, | ||
28 | ADAU1977_MICBIAS_6V0 = 0x2, | ||
29 | ADAU1977_MICBIAS_6V5 = 0x3, | ||
30 | ADAU1977_MICBIAS_7V0 = 0x4, | ||
31 | ADAU1977_MICBIAS_7V5 = 0x5, | ||
32 | ADAU1977_MICBIAS_8V0 = 0x6, | ||
33 | ADAU1977_MICBIAS_8V5 = 0x7, | ||
34 | ADAU1977_MICBIAS_9V0 = 0x8, | ||
35 | }; | ||
36 | |||
37 | /** | ||
38 | * struct adau1977_platform_data - Platform configuration data for the ADAU1977 | ||
39 | * @micbias: Specifies the voltage for the MICBIAS pin | ||
40 | */ | ||
41 | struct adau1977_platform_data { | ||
42 | enum adau1977_micbias micbias; | ||
43 | }; | ||
44 | |||
45 | #endif | ||
diff --git a/include/linux/platform_data/asoc-s3c.h b/include/linux/platform_data/asoc-s3c.h index 9efc04dd255a..709c6f7e2f8c 100644 --- a/include/linux/platform_data/asoc-s3c.h +++ b/include/linux/platform_data/asoc-s3c.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* arch/arm/plat-samsung/include/plat/audio.h | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2009 Samsung Electronics Co. Ltd | 2 | * Copyright (c) 2009 Samsung Electronics Co. Ltd |
4 | * Author: Jaswinder Singh <jassi.brar@samsung.com> | 3 | * Author: Jaswinder Singh <jassi.brar@samsung.com> |
5 | * | 4 | * |
diff --git a/include/linux/platform_data/asoc-s3c24xx_simtec.h b/include/linux/platform_data/asoc-s3c24xx_simtec.h index 376af5286a3e..d220e54123aa 100644 --- a/include/linux/platform_data/asoc-s3c24xx_simtec.h +++ b/include/linux/platform_data/asoc-s3c24xx_simtec.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* arch/arm/plat-samsung/include/plat/audio-simtec.h | 1 | /* |
2 | * | ||
3 | * Copyright 2008 Simtec Electronics | 2 | * Copyright 2008 Simtec Electronics |
4 | * http://armlinux.simtec.co.uk/ | 3 | * http://armlinux.simtec.co.uk/ |
5 | * Ben Dooks <ben@simtec.co.uk> | 4 | * Ben Dooks <ben@simtec.co.uk> |
diff --git a/include/linux/platform_data/ata-samsung_cf.h b/include/linux/platform_data/ata-samsung_cf.h index 2a3855a8372a..c2049e3d7444 100644 --- a/include/linux/platform_data/ata-samsung_cf.h +++ b/include/linux/platform_data/ata-samsung_cf.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-samsung/include/plat/ata.h | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 2 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com | 3 | * http://www.samsung.com |
5 | * | 4 | * |
@@ -10,8 +9,8 @@ | |||
10 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
11 | */ | 10 | */ |
12 | 11 | ||
13 | #ifndef __ASM_PLAT_ATA_H | 12 | #ifndef __ATA_SAMSUNG_CF_H |
14 | #define __ASM_PLAT_ATA_H __FILE__ | 13 | #define __ATA_SAMSUNG_CF_H __FILE__ |
15 | 14 | ||
16 | /** | 15 | /** |
17 | * struct s3c_ide_platdata - S3C IDE driver platform data. | 16 | * struct s3c_ide_platdata - S3C IDE driver platform data. |
@@ -33,4 +32,4 @@ extern void s3c64xx_ide_setup_gpio(void); | |||
33 | extern void s5pc100_ide_setup_gpio(void); | 32 | extern void s5pc100_ide_setup_gpio(void); |
34 | extern void s5pv210_ide_setup_gpio(void); | 33 | extern void s5pv210_ide_setup_gpio(void); |
35 | 34 | ||
36 | #endif /*__ASM_PLAT_ATA_H */ | 35 | #endif /*__ATA_SAMSUNG_CF_H */ |
diff --git a/include/linux/platform_data/atmel.h b/include/linux/platform_data/atmel.h index cea9f70133c5..e26b0c14edea 100644 --- a/include/linux/platform_data/atmel.h +++ b/include/linux/platform_data/atmel.h | |||
@@ -84,6 +84,7 @@ struct atmel_uart_data { | |||
84 | short use_dma_rx; /* use receive DMA? */ | 84 | short use_dma_rx; /* use receive DMA? */ |
85 | void __iomem *regs; /* virt. base address, if any */ | 85 | void __iomem *regs; /* virt. base address, if any */ |
86 | struct serial_rs485 rs485; /* rs485 settings */ | 86 | struct serial_rs485 rs485; /* rs485 settings */ |
87 | int rts_gpio; /* optional RTS GPIO */ | ||
87 | }; | 88 | }; |
88 | 89 | ||
89 | /* Touchscreen Controller */ | 90 | /* Touchscreen Controller */ |
diff --git a/include/linux/platform_data/bt-nokia-h4p.h b/include/linux/platform_data/bt-nokia-h4p.h new file mode 100644 index 000000000000..30d169dfadf3 --- /dev/null +++ b/include/linux/platform_data/bt-nokia-h4p.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | * This file is part of Nokia H4P bluetooth driver | ||
3 | * | ||
4 | * Copyright (C) 2010 Nokia Corporation. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * version 2 as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, but | ||
11 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | * General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | ||
18 | * 02110-1301 USA | ||
19 | * | ||
20 | */ | ||
21 | |||
22 | |||
23 | /** | ||
24 | * struct hci_h4p_platform data - hci_h4p Platform data structure | ||
25 | */ | ||
26 | struct hci_h4p_platform_data { | ||
27 | int chip_type; | ||
28 | int bt_sysclk; | ||
29 | unsigned int bt_wakeup_gpio; | ||
30 | unsigned int host_wakeup_gpio; | ||
31 | unsigned int reset_gpio; | ||
32 | int reset_gpio_shared; | ||
33 | unsigned int uart_irq; | ||
34 | phys_addr_t uart_base; | ||
35 | const char *uart_iclk; | ||
36 | const char *uart_fclk; | ||
37 | void (*set_pm_limits)(struct device *dev, bool set); | ||
38 | }; | ||
diff --git a/include/linux/platform_data/clk-integrator.h b/include/linux/platform_data/clk-integrator.h index 280edac9d0a5..addd48cac625 100644 --- a/include/linux/platform_data/clk-integrator.h +++ b/include/linux/platform_data/clk-integrator.h | |||
@@ -1,3 +1,2 @@ | |||
1 | void integrator_clk_init(bool is_cp); | ||
2 | void integrator_impd1_clk_init(void __iomem *base, unsigned int id); | 1 | void integrator_impd1_clk_init(void __iomem *base, unsigned int id); |
3 | void integrator_impd1_clk_exit(unsigned int id); | 2 | void integrator_impd1_clk_exit(unsigned int id); |
diff --git a/include/linux/platform_data/davinci_asp.h b/include/linux/platform_data/davinci_asp.h index 5245992b0367..85ad68f9206a 100644 --- a/include/linux/platform_data/davinci_asp.h +++ b/include/linux/platform_data/davinci_asp.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #include <linux/genalloc.h> | 19 | #include <linux/genalloc.h> |
20 | 20 | ||
21 | struct snd_platform_data { | 21 | struct davinci_mcasp_pdata { |
22 | u32 tx_dma_offset; | 22 | u32 tx_dma_offset; |
23 | u32 rx_dma_offset; | 23 | u32 rx_dma_offset; |
24 | int asp_chan_q; /* event queue number for ASP channel */ | 24 | int asp_chan_q; /* event queue number for ASP channel */ |
@@ -87,6 +87,8 @@ struct snd_platform_data { | |||
87 | int tx_dma_channel; | 87 | int tx_dma_channel; |
88 | int rx_dma_channel; | 88 | int rx_dma_channel; |
89 | }; | 89 | }; |
90 | /* TODO: Fix arch/arm/mach-davinci/ users and remove this define */ | ||
91 | #define snd_platform_data davinci_mcasp_pdata | ||
90 | 92 | ||
91 | enum { | 93 | enum { |
92 | MCASP_VERSION_1 = 0, /* DM646x */ | 94 | MCASP_VERSION_1 = 0, /* DM646x */ |
diff --git a/include/linux/platform_data/gpio-davinci.h b/include/linux/platform_data/gpio-davinci.h index fbe2f7535741..6ace3fd32b6a 100644 --- a/include/linux/platform_data/gpio-davinci.h +++ b/include/linux/platform_data/gpio-davinci.h | |||
@@ -21,10 +21,6 @@ | |||
21 | 21 | ||
22 | #include <asm-generic/gpio.h> | 22 | #include <asm-generic/gpio.h> |
23 | 23 | ||
24 | enum davinci_gpio_type { | ||
25 | GPIO_TYPE_TNETV107X = 0, | ||
26 | }; | ||
27 | |||
28 | struct davinci_gpio_platform_data { | 24 | struct davinci_gpio_platform_data { |
29 | u32 ngpio; | 25 | u32 ngpio; |
30 | u32 gpio_unbanked; | 26 | u32 gpio_unbanked; |
diff --git a/include/linux/platform_data/max310x.h b/include/linux/platform_data/max310x.h deleted file mode 100644 index dd11dcd1a184..000000000000 --- a/include/linux/platform_data/max310x.h +++ /dev/null | |||
@@ -1,64 +0,0 @@ | |||
1 | /* | ||
2 | * Maxim (Dallas) MAX3107/8/9, MAX14830 serial driver | ||
3 | * | ||
4 | * Copyright (C) 2012 Alexander Shiyan <shc_work@mail.ru> | ||
5 | * | ||
6 | * Based on max3100.c, by Christian Pellegrin <chripell@evolware.org> | ||
7 | * Based on max3110.c, by Feng Tang <feng.tang@intel.com> | ||
8 | * Based on max3107.c, by Aavamobile | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License as published by | ||
12 | * the Free Software Foundation; either version 2 of the License, or | ||
13 | * (at your option) any later version. | ||
14 | */ | ||
15 | |||
16 | #ifndef _MAX310X_H_ | ||
17 | #define _MAX310X_H_ | ||
18 | |||
19 | /* | ||
20 | * Example board initialization data: | ||
21 | * | ||
22 | * static struct max310x_pdata max3107_pdata = { | ||
23 | * .driver_flags = MAX310X_EXT_CLK, | ||
24 | * .uart_flags[0] = MAX310X_ECHO_SUPRESS | MAX310X_AUTO_DIR_CTRL, | ||
25 | * .frequency = 3686400, | ||
26 | * .gpio_base = -1, | ||
27 | * }; | ||
28 | * | ||
29 | * static struct spi_board_info spi_device_max3107[] = { | ||
30 | * { | ||
31 | * .modalias = "max3107", | ||
32 | * .irq = IRQ_EINT3, | ||
33 | * .bus_num = 1, | ||
34 | * .chip_select = 1, | ||
35 | * .platform_data = &max3107_pdata, | ||
36 | * }, | ||
37 | * }; | ||
38 | */ | ||
39 | |||
40 | #define MAX310X_MAX_UARTS 4 | ||
41 | |||
42 | /* MAX310X platform data structure */ | ||
43 | struct max310x_pdata { | ||
44 | /* Flags global to driver */ | ||
45 | const u8 driver_flags; | ||
46 | #define MAX310X_EXT_CLK (0x00000001) /* External clock enable */ | ||
47 | /* Flags global to UART port */ | ||
48 | const u8 uart_flags[MAX310X_MAX_UARTS]; | ||
49 | #define MAX310X_LOOPBACK (0x00000001) /* Loopback mode enable */ | ||
50 | #define MAX310X_ECHO_SUPRESS (0x00000002) /* Enable echo supress */ | ||
51 | #define MAX310X_AUTO_DIR_CTRL (0x00000004) /* Enable Auto direction | ||
52 | * control (RS-485) | ||
53 | */ | ||
54 | /* Frequency (extrenal clock or crystal) */ | ||
55 | const int frequency; | ||
56 | /* GPIO base number (can be negative) */ | ||
57 | const int gpio_base; | ||
58 | /* Called during startup */ | ||
59 | void (*init)(void); | ||
60 | /* Called before finish */ | ||
61 | void (*exit)(void); | ||
62 | }; | ||
63 | |||
64 | #endif | ||
diff --git a/include/linux/platform_data/mtd-davinci-aemif.h b/include/linux/platform_data/mtd-davinci-aemif.h index 05b293443097..97948ac2bb9b 100644 --- a/include/linux/platform_data/mtd-davinci-aemif.h +++ b/include/linux/platform_data/mtd-davinci-aemif.h | |||
@@ -10,6 +10,8 @@ | |||
10 | #ifndef _MACH_DAVINCI_AEMIF_H | 10 | #ifndef _MACH_DAVINCI_AEMIF_H |
11 | #define _MACH_DAVINCI_AEMIF_H | 11 | #define _MACH_DAVINCI_AEMIF_H |
12 | 12 | ||
13 | #include <linux/platform_device.h> | ||
14 | |||
13 | #define NRCSR_OFFSET 0x00 | 15 | #define NRCSR_OFFSET 0x00 |
14 | #define AWCCR_OFFSET 0x04 | 16 | #define AWCCR_OFFSET 0x04 |
15 | #define A1CR_OFFSET 0x10 | 17 | #define A1CR_OFFSET 0x10 |
@@ -31,6 +33,5 @@ struct davinci_aemif_timing { | |||
31 | u8 ta; | 33 | u8 ta; |
32 | }; | 34 | }; |
33 | 35 | ||
34 | int davinci_aemif_setup_timing(struct davinci_aemif_timing *t, | 36 | int davinci_aemif_setup(struct platform_device *pdev); |
35 | void __iomem *base, unsigned cs); | ||
36 | #endif | 37 | #endif |
diff --git a/include/linux/platform_data/serial-imx.h b/include/linux/platform_data/serial-imx.h index 4adec9b154dd..3cc2e3c40914 100644 --- a/include/linux/platform_data/serial-imx.h +++ b/include/linux/platform_data/serial-imx.h | |||
@@ -23,8 +23,6 @@ | |||
23 | #define IMXUART_IRDA (1<<1) | 23 | #define IMXUART_IRDA (1<<1) |
24 | 24 | ||
25 | struct imxuart_platform_data { | 25 | struct imxuart_platform_data { |
26 | int (*init)(struct platform_device *pdev); | ||
27 | void (*exit)(struct platform_device *pdev); | ||
28 | unsigned int flags; | 26 | unsigned int flags; |
29 | void (*irda_enable)(int enable); | 27 | void (*irda_enable)(int enable); |
30 | unsigned int irda_inv_rx:1; | 28 | unsigned int irda_inv_rx:1; |
diff --git a/include/linux/platform_data/spi-s3c64xx.h b/include/linux/platform_data/spi-s3c64xx.h index 8447f634c7f5..d3889b98a1a1 100644 --- a/include/linux/platform_data/spi-s3c64xx.h +++ b/include/linux/platform_data/spi-s3c64xx.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* linux/arch/arm/plat-samsung/include/plat/s3c64xx-spi.h | 1 | /* |
2 | * | ||
3 | * Copyright (C) 2009 Samsung Electronics Ltd. | 2 | * Copyright (C) 2009 Samsung Electronics Ltd. |
4 | * Jaswinder Singh <jassi.brar@samsung.com> | 3 | * Jaswinder Singh <jassi.brar@samsung.com> |
5 | * | 4 | * |
@@ -8,8 +7,8 @@ | |||
8 | * published by the Free Software Foundation. | 7 | * published by the Free Software Foundation. |
9 | */ | 8 | */ |
10 | 9 | ||
11 | #ifndef __S3C64XX_PLAT_SPI_H | 10 | #ifndef __SPI_S3C64XX_H |
12 | #define __S3C64XX_PLAT_SPI_H | 11 | #define __SPI_S3C64XX_H |
13 | 12 | ||
14 | #include <linux/dmaengine.h> | 13 | #include <linux/dmaengine.h> |
15 | 14 | ||
@@ -68,4 +67,4 @@ extern int s3c64xx_spi2_cfg_gpio(void); | |||
68 | extern struct s3c64xx_spi_info s3c64xx_spi0_pdata; | 67 | extern struct s3c64xx_spi_info s3c64xx_spi0_pdata; |
69 | extern struct s3c64xx_spi_info s3c64xx_spi1_pdata; | 68 | extern struct s3c64xx_spi_info s3c64xx_spi1_pdata; |
70 | extern struct s3c64xx_spi_info s3c64xx_spi2_pdata; | 69 | extern struct s3c64xx_spi_info s3c64xx_spi2_pdata; |
71 | #endif /* __S3C64XX_PLAT_SPI_H */ | 70 | #endif /*__SPI_S3C64XX_H */ |
diff --git a/include/linux/platform_data/touchscreen-s3c2410.h b/include/linux/platform_data/touchscreen-s3c2410.h index 26fdb22e0fc2..58dc7c5ae63b 100644 --- a/include/linux/platform_data/touchscreen-s3c2410.h +++ b/include/linux/platform_data/touchscreen-s3c2410.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* arch/arm/plat-samsung/include/plat/ts.h | 1 | /* |
2 | * | ||
3 | * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org> | 2 | * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org> |
4 | * | 3 | * |
5 | * This program is free software; you can redistribute it and/or modify | 4 | * This program is free software; you can redistribute it and/or modify |
@@ -7,14 +6,14 @@ | |||
7 | * published by the Free Software Foundation. | 6 | * published by the Free Software Foundation. |
8 | */ | 7 | */ |
9 | 8 | ||
10 | #ifndef __ASM_ARM_TS_H | 9 | #ifndef __TOUCHSCREEN_S3C2410_H |
11 | #define __ASM_ARM_TS_H | 10 | #define __TOUCHSCREEN_S3C2410_H |
12 | 11 | ||
13 | struct s3c2410_ts_mach_info { | 12 | struct s3c2410_ts_mach_info { |
14 | int delay; | 13 | int delay; |
15 | int presc; | 14 | int presc; |
16 | int oversampling_shift; | 15 | int oversampling_shift; |
17 | void (*cfg_gpio)(struct platform_device *dev); | 16 | void (*cfg_gpio)(struct platform_device *dev); |
18 | }; | 17 | }; |
19 | 18 | ||
20 | extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); | 19 | extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); |
@@ -22,4 +21,4 @@ extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); | |||
22 | /* defined by architecture to configure gpio */ | 21 | /* defined by architecture to configure gpio */ |
23 | extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev); | 22 | extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev); |
24 | 23 | ||
25 | #endif /* __ASM_ARM_TS_H */ | 24 | #endif /*__TOUCHSCREEN_S3C2410_H */ |
diff --git a/include/linux/platform_data/video-imxfb.h b/include/linux/platform_data/video-imxfb.h index 9de8f062ad5d..18e908324549 100644 --- a/include/linux/platform_data/video-imxfb.h +++ b/include/linux/platform_data/video-imxfb.h | |||
@@ -61,24 +61,12 @@ struct imx_fb_platform_data { | |||
61 | struct imx_fb_videomode *mode; | 61 | struct imx_fb_videomode *mode; |
62 | int num_modes; | 62 | int num_modes; |
63 | 63 | ||
64 | u_int cmap_greyscale:1, | ||
65 | cmap_inverse:1, | ||
66 | cmap_static:1, | ||
67 | unused:29; | ||
68 | |||
69 | u_int pwmr; | 64 | u_int pwmr; |
70 | u_int lscr1; | 65 | u_int lscr1; |
71 | u_int dmacr; | 66 | u_int dmacr; |
72 | 67 | ||
73 | u_char * fixed_screen_cpu; | ||
74 | dma_addr_t fixed_screen_dma; | ||
75 | |||
76 | int (*init)(struct platform_device *); | 68 | int (*init)(struct platform_device *); |
77 | void (*exit)(struct platform_device *); | 69 | void (*exit)(struct platform_device *); |
78 | |||
79 | void (*lcd_power)(int); | ||
80 | void (*backlight_power)(int); | ||
81 | }; | 70 | }; |
82 | 71 | ||
83 | void set_imx_fb_info(struct imx_fb_platform_data *); | ||
84 | #endif /* ifndef __MACH_IMXFB_H__ */ | 72 | #endif /* ifndef __MACH_IMXFB_H__ */ |