mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-27 03:58:31 -04:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
27
include/linux/platform_data/atmel.h
Normal file
27
include/linux/platform_data/atmel.h
Normal file
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
* atmel platform data
|
||||
*
|
||||
* GPL v2 Only
|
||||
*/
|
||||
|
||||
#ifndef __ATMEL_H__
|
||||
#define __ATMEL_H__
|
||||
|
||||
#include <linux/mtd/nand.h>
|
||||
|
||||
/* NAND / SmartMedia */
|
||||
struct atmel_nand_data {
|
||||
int enable_pin; /* chip enable */
|
||||
int det_pin; /* card detect */
|
||||
int rdy_pin; /* ready/busy */
|
||||
u8 rdy_pin_active_low; /* rdy_pin value is inverted */
|
||||
u8 ale; /* address line number connected to ALE */
|
||||
u8 cle; /* address line number connected to CLE */
|
||||
u8 bus_width_16; /* buswidth is 16 bit */
|
||||
u8 ecc_mode; /* ecc mode */
|
||||
u8 on_flash_bbt; /* bbt on flash */
|
||||
struct mtd_partition *parts;
|
||||
unsigned int num_parts;
|
||||
};
|
||||
|
||||
#endif /* __ATMEL_H__ */
|
||||
26
include/linux/platform_data/spear_thermal.h
Normal file
26
include/linux/platform_data/spear_thermal.h
Normal file
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* SPEAr thermal driver platform data.
|
||||
*
|
||||
* Copyright (C) 2011-2012 ST Microelectronics
|
||||
* Author: Vincenzo Frascino <vincenzo.frascino@st.com>
|
||||
*
|
||||
* This software is licensed under the terms of the GNU General Public
|
||||
* License version 2, as published by the Free Software Foundation, and
|
||||
* may be copied, distributed, and modified under those terms.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
*/
|
||||
#ifndef SPEAR_THERMAL_H
|
||||
#define SPEAR_THERMAL_H
|
||||
|
||||
/* SPEAr Thermal Sensor Platform Data */
|
||||
struct spear_thermal_pdata {
|
||||
/* flags used to enable thermal sensor */
|
||||
unsigned int thermal_flags;
|
||||
};
|
||||
|
||||
#endif /* SPEAR_THERMAL_H */
|
||||
Reference in New Issue
Block a user