Showing the changes to include/linux/platform_data (2 of 4047 files). Show all
Unified · Split
| @@ -0,0 +1,27 @@ | ||
| 1 | +/* | |
| 2 | + * atmel platform data | |
| 3 | + * | |
| 4 | + * GPL v2 Only | |
| 5 | + */ | |
| 6 | + | |
| 7 | +#ifndef __ATMEL_H__ | |
| 8 | +#define __ATMEL_H__ | |
| 9 | + | |
| 10 | +#include <linux/mtd/nand.h> | |
| 11 | + | |
| 12 | + /* NAND / SmartMedia */ | |
| 13 | +struct atmel_nand_data { | |
| 14 | + int enable_pin; /* chip enable */ | |
| 15 | + int det_pin; /* card detect */ | |
| 16 | + int rdy_pin; /* ready/busy */ | |
| 17 | + u8 rdy_pin_active_low; /* rdy_pin value is inverted */ | |
| 18 | + u8 ale; /* address line number connected to ALE */ | |
| 19 | + u8 cle; /* address line number connected to CLE */ | |
| 20 | + u8 bus_width_16; /* buswidth is 16 bit */ | |
| 21 | + u8 ecc_mode; /* ecc mode */ | |
| 22 | + u8 on_flash_bbt; /* bbt on flash */ | |
| 23 | + struct mtd_partition *parts; | |
| 24 | + unsigned int num_parts; | |
| 25 | +}; | |
| 26 | + | |
| 27 | +#endif /* __ATMEL_H__ */ | |
| @@ -0,0 +1,26 @@ | ||
| 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 */ | |