1 // SPDX-License-Identifier: GPL-2.0 << 2 /* 1 /* 3 * M66592 driver platform data 2 * M66592 driver platform data 4 * 3 * 5 * Copyright (C) 2009 Renesas Solutions Corp. 4 * Copyright (C) 2009 Renesas Solutions Corp. >> 5 * >> 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. >> 9 * >> 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. >> 14 * >> 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 >> 18 * 6 */ 19 */ 7 20 8 #ifndef __LINUX_USB_M66592_H 21 #ifndef __LINUX_USB_M66592_H 9 #define __LINUX_USB_M66592_H 22 #define __LINUX_USB_M66592_H 10 23 11 #define M66592_PLATDATA_XTAL_12MHZ 0x01 24 #define M66592_PLATDATA_XTAL_12MHZ 0x01 12 #define M66592_PLATDATA_XTAL_24MHZ 0x02 25 #define M66592_PLATDATA_XTAL_24MHZ 0x02 13 #define M66592_PLATDATA_XTAL_48MHZ 0x03 26 #define M66592_PLATDATA_XTAL_48MHZ 0x03 14 27 15 struct m66592_platdata { 28 struct m66592_platdata { 16 /* one = on chip controller, zero = ex 29 /* one = on chip controller, zero = external controller */ 17 unsigned on_chip:1; 30 unsigned on_chip:1; 18 31 19 /* one = big endian, zero = little end 32 /* one = big endian, zero = little endian */ 20 unsigned endian:1; 33 unsigned endian:1; 21 34 22 /* (external controller only) M66592_P 35 /* (external controller only) M66592_PLATDATA_XTAL_nnMHZ */ 23 unsigned xtal:2; 36 unsigned xtal:2; 24 37 25 /* (external controller only) one = 3. 38 /* (external controller only) one = 3.3V, zero = 1.5V */ 26 unsigned vif:1; 39 unsigned vif:1; 27 40 28 /* (external controller only) set one << 29 unsigned wr0_shorted_to_wr1:1; << 30 }; 41 }; 31 42 32 #endif /* __LINUX_USB_M66592_H */ 43 #endif /* __LINUX_USB_M66592_H */ 33 44 34 45
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.