spi-topcliff-pch: supports a spi mode setup and bit order setup by IO control
[zen-stable.git] / arch / arm / include / asm / mach / sharpsl_param.h
blob7a24ecf04220008a751be1d1d4fa1994e25b866c
1 /*
2 * Hardware parameter area specific to Sharp SL series devices
4 * Copyright (c) 2005 Richard Purdie
6 * Based on Sharp's 2.4 kernel patches
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
14 struct sharpsl_param_info {
15 unsigned int comadj_keyword;
16 unsigned int comadj;
18 unsigned int uuid_keyword;
19 unsigned char uuid[16];
21 unsigned int touch_keyword;
22 unsigned int touch_xp;
23 unsigned int touch_yp;
24 unsigned int touch_xd;
25 unsigned int touch_yd;
27 unsigned int adadj_keyword;
28 unsigned int adadj;
30 unsigned int phad_keyword;
31 unsigned int phadadj;
32 } __attribute__((packed));
35 extern struct sharpsl_param_info sharpsl_param;
36 extern void sharpsl_save_param(void);