mm-only debug patch...
[mmotm.git] / include / linux / usb / m66592.h
blobcda9625e7df0683bfaff1cd2486d05d1a9986995
1 /*
2 * M66592 driver platform data
4 * Copyright (C) 2009 Renesas Solutions Corp.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
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 02110-1301 USA
21 #ifndef __LINUX_USB_M66592_H
22 #define __LINUX_USB_M66592_H
24 #define M66592_PLATDATA_XTAL_12MHZ 0x01
25 #define M66592_PLATDATA_XTAL_24MHZ 0x02
26 #define M66592_PLATDATA_XTAL_48MHZ 0x03
28 struct m66592_platdata {
29 /* one = on chip controller, zero = external controller */
30 unsigned on_chip:1;
32 /* one = big endian, zero = little endian */
33 unsigned endian:1;
35 /* (external controller only) M66592_PLATDATA_XTAL_nnMHZ */
36 unsigned xtal:2;
38 /* (external controller only) one = 3.3V, zero = 1.5V */
39 unsigned vif:1;
43 #endif /* __LINUX_USB_M66592_H */