diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:21:03 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-09 17:21:03 -0500 |
| commit | acc952c1f373bf3f66cc7a10680eee1762bed40b (patch) | |
| tree | de1135ffe304f4d8e53d282e5bb1bde5db04e0ae /include | |
| parent | 57e964e1ae9bd4f699ae1074430bcf81a9a11377 (diff) | |
| parent | 40ba95fdf158713377d47736b1b3a9d75f4f2515 (diff) | |
Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Cleanups on various subarchitectures
Cleanup patches for various ARM platforms and some of their associated
drivers, the bulk of these is for mach-91.
Arnd ended up pulling in the restart branch from Russell in order to
fix up some simple but annoying merge conflicts.
* tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (44 commits)
arm/at91: fix build of stamp9g20
ARM: u300: delete memory.h
MAINTAINERS: add maintainer entry for Picochip picoxcell
ARM: picoxcell: move io mappings to common.c
ARM: picoxcell: don't reserve irq_descs
ARM: picoxcell: remove mach/memory.h
ARM: at91: delete the pcontrol_g20_defconfig
arm/tegra: Remove code that's ifndef CONFIG_ARM_GIC
arm/tegra: remove unused defines
arm/tegra: fix variable formatting in makefile
ARM: davinci: vpif: move code to driver core header from platform
ARM: at91/gpio: fix display of number of irq setuped
ARM: at91/gpio: drop PIN_BASE
ARM: at91/udc: use gpio_is_valid to check the gpio
ARM: at91/ohci: use gpio_is_valid to check the gpio
ARM: at91/nand: use gpio_is_valid to check the gpio
ARM: at91/mmc: use gpio_is_valid to check the gpio
ARM: at91/ide: use gpio_is_valid to check the gpio
ARM: at91/pata: use gpio_is_valid to check the gpio
ARM: at91/soc: use gpio_is_valid to check the gpio
...
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/platform_data/macb.h | 17 | ||||
| -rw-r--r-- | include/media/davinci/vpif_types.h | 71 |
2 files changed, 88 insertions, 0 deletions
diff --git a/include/linux/platform_data/macb.h b/include/linux/platform_data/macb.h new file mode 100644 index 000000000000..b081c7245ec8 --- /dev/null +++ b/include/linux/platform_data/macb.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2004-2006 Atmel Corporation | ||
| 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 __MACB_PDATA_H__ | ||
| 9 | #define __MACB_PDATA_H__ | ||
| 10 | |||
| 11 | struct macb_platform_data { | ||
| 12 | u32 phy_mask; | ||
| 13 | int phy_irq_pin; /* PHY IRQ */ | ||
| 14 | u8 is_rmii; /* using RMII interface? */ | ||
| 15 | }; | ||
| 16 | |||
| 17 | #endif /* __MACB_PDATA_H__ */ | ||
diff --git a/include/media/davinci/vpif_types.h b/include/media/davinci/vpif_types.h new file mode 100644 index 000000000000..9929b05cff3a --- /dev/null +++ b/include/media/davinci/vpif_types.h | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2011 Texas Instruments Inc | ||
| 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 as published by | ||
| 6 | * the Free Software Foundation version 2. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program; if not, write to the Free Software | ||
| 15 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 16 | */ | ||
| 17 | #ifndef _VPIF_TYPES_H | ||
| 18 | #define _VPIF_TYPES_H | ||
| 19 | |||
| 20 | #define VPIF_CAPTURE_MAX_CHANNELS 2 | ||
| 21 | |||
| 22 | enum vpif_if_type { | ||
| 23 | VPIF_IF_BT656, | ||
| 24 | VPIF_IF_BT1120, | ||
| 25 | VPIF_IF_RAW_BAYER | ||
| 26 | }; | ||
| 27 | |||
| 28 | struct vpif_interface { | ||
| 29 | enum vpif_if_type if_type; | ||
| 30 | unsigned hd_pol:1; | ||
| 31 | unsigned vd_pol:1; | ||
| 32 | unsigned fid_pol:1; | ||
| 33 | }; | ||
| 34 | |||
| 35 | struct vpif_subdev_info { | ||
| 36 | const char *name; | ||
| 37 | struct i2c_board_info board_info; | ||
| 38 | u32 input; | ||
| 39 | u32 output; | ||
| 40 | unsigned can_route:1; | ||
| 41 | struct vpif_interface vpif_if; | ||
| 42 | }; | ||
| 43 | |||
| 44 | struct vpif_display_config { | ||
| 45 | int (*set_clock)(int, int); | ||
| 46 | struct vpif_subdev_info *subdevinfo; | ||
| 47 | int subdev_count; | ||
| 48 | const char **output; | ||
| 49 | int output_count; | ||
| 50 | const char *card_name; | ||
| 51 | }; | ||
| 52 | |||
| 53 | struct vpif_input { | ||
| 54 | struct v4l2_input input; | ||
| 55 | const char *subdev_name; | ||
| 56 | }; | ||
| 57 | |||
| 58 | struct vpif_capture_chan_config { | ||
| 59 | const struct vpif_input *inputs; | ||
| 60 | int input_count; | ||
| 61 | }; | ||
| 62 | |||
| 63 | struct vpif_capture_config { | ||
| 64 | int (*setup_input_channel_mode)(int); | ||
| 65 | int (*setup_input_path)(int, const char *); | ||
| 66 | struct vpif_capture_chan_config chan_config[VPIF_CAPTURE_MAX_CHANNELS]; | ||
| 67 | struct vpif_subdev_info *subdev_info; | ||
| 68 | int subdev_count; | ||
| 69 | const char *card_name; | ||
| 70 | }; | ||
| 71 | #endif /* _VPIF_TYPES_H */ | ||
