diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2012-07-10 10:54:25 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-10 10:54:25 -0400 |
| commit | e190df2400db9ac749c77ffc054b8d8ec5cf3c47 (patch) | |
| tree | 0d1038d033a33969303557c0d16a6c40019ec755 /include/linux | |
| parent | 388d037c8b8a77a7bdc84513e77ba7d2152890fb (diff) | |
| parent | b103a2e22a238085f5c50d96345e1a09bb1efd50 (diff) | |
Merge tag 'omap-devel-board-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/boards
From Tony Lindgren <tony@atomide.com>:
Board and platform data related changes for omaps
* tag 'omap-devel-board-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP3: Fix omap3evm randconfig error introduced by VBUS support
ARM: OMAP: board-omap4panda: MUX configuration for sys_nirq2
ARM: OMAP: board-4430sdp: MUX configuration for sys_nirq2
ARM: OMAP3530evm: set pendown_state and debounce time for ads7846
ARM: omap3evm: enable VBUS switch for EHCI tranceiver
ARM: OMAP3EVM: Adding USB internal LDOs board file
ARM: OMAP3EVM: Add NAND flash definition
ARM: OMAP3: cm-t35: add tvp5150 decoder support
ARM: OMAP3: cm-t35: add mt9t001 camera sensor support
omap2+: add drm device
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/platform_data/omap_drm.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/include/linux/platform_data/omap_drm.h b/include/linux/platform_data/omap_drm.h new file mode 100644 index 000000000000..3da73bdc2031 --- /dev/null +++ b/include/linux/platform_data/omap_drm.h | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | /* | ||
| 2 | * DRM/KMS platform data for TI OMAP platforms | ||
| 3 | * | ||
| 4 | * Copyright (C) 2012 Texas Instruments | ||
| 5 | * Author: Rob Clark <rob.clark@linaro.org> | ||
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify it | ||
| 8 | * under the terms of the GNU General Public License version 2 as published by | ||
| 9 | * the Free Software Foundation. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, but WITHOUT | ||
| 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 14 | * more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License along with | ||
| 17 | * this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | */ | ||
| 19 | |||
| 20 | #ifndef __PLATFORM_DATA_OMAP_DRM_H__ | ||
| 21 | #define __PLATFORM_DATA_OMAP_DRM_H__ | ||
| 22 | |||
| 23 | /* | ||
| 24 | * Optional platform data to configure the default configuration of which | ||
| 25 | * pipes/overlays/CRTCs are used.. if this is not provided, then instead the | ||
| 26 | * first CONFIG_DRM_OMAP_NUM_CRTCS are used, and they are each connected to | ||
| 27 | * one manager, with priority given to managers that are connected to | ||
| 28 | * detected devices. Remaining overlays are used as video planes. This | ||
| 29 | * should be a good default behavior for most cases, but yet there still | ||
| 30 | * might be times when you wish to do something different. | ||
| 31 | */ | ||
| 32 | struct omap_kms_platform_data { | ||
| 33 | /* overlays to use as CRTCs: */ | ||
| 34 | int ovl_cnt; | ||
| 35 | const int *ovl_ids; | ||
| 36 | |||
| 37 | /* overlays to use as video planes: */ | ||
| 38 | int pln_cnt; | ||
| 39 | const int *pln_ids; | ||
| 40 | |||
| 41 | int mgr_cnt; | ||
| 42 | const int *mgr_ids; | ||
| 43 | |||
| 44 | int dev_cnt; | ||
| 45 | const char **dev_names; | ||
| 46 | }; | ||
| 47 | |||
| 48 | struct omap_drm_platform_data { | ||
| 49 | struct omap_kms_platform_data *kms_pdata; | ||
| 50 | }; | ||
| 51 | |||
| 52 | #endif /* __PLATFORM_DATA_OMAP_DRM_H__ */ | ||
