xref: /linux/arch/arm/include/asm/mach/sharpsl_param.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
24baa9922SRussell King /*
34baa9922SRussell King  * Hardware parameter area specific to Sharp SL series devices
44baa9922SRussell King  *
54baa9922SRussell King  * Copyright (c) 2005 Richard Purdie
64baa9922SRussell King  *
74baa9922SRussell King  * Based on Sharp's 2.4 kernel patches
84baa9922SRussell King  */
94baa9922SRussell King 
104baa9922SRussell King struct sharpsl_param_info {
114baa9922SRussell King   unsigned int comadj_keyword;
124baa9922SRussell King   unsigned int comadj;
134baa9922SRussell King 
144baa9922SRussell King   unsigned int uuid_keyword;
154baa9922SRussell King   unsigned char uuid[16];
164baa9922SRussell King 
174baa9922SRussell King   unsigned int touch_keyword;
184baa9922SRussell King   unsigned int touch_xp;
194baa9922SRussell King   unsigned int touch_yp;
204baa9922SRussell King   unsigned int touch_xd;
214baa9922SRussell King   unsigned int touch_yd;
224baa9922SRussell King 
234baa9922SRussell King   unsigned int adadj_keyword;
244baa9922SRussell King   unsigned int adadj;
254baa9922SRussell King 
264baa9922SRussell King   unsigned int phad_keyword;
274baa9922SRussell King   unsigned int phadadj;
284baa9922SRussell King } __attribute__((packed));
294baa9922SRussell King 
304baa9922SRussell King 
314baa9922SRussell King extern struct sharpsl_param_info sharpsl_param;
324baa9922SRussell King extern void sharpsl_save_param(void);
334baa9922SRussell King 
34