Add preliminary driver for touchscreen. And start of major changes in CyIO

This commit is contained in:
mlt
2010-05-07 19:12:16 +00:00
committed by Godzil
parent a55a73c5d1
commit 73a653c3d6
11 changed files with 1894 additions and 1266 deletions

View File

@@ -667,20 +667,6 @@ static unsigned int s3c24xx_serial_getclk(struct uart_port *port,
struct baud_calc *resptr, *best, *sptr;
int i;
/* Ralph added compile flag to disable it for BK060B00 */
#ifndef CONFIG_QISDA_BK060B00
/*Qisda Qube for smart card*/
if(port->irq==73&&port->uartclk==1)
{
//force uart 1 clock= pclk
cfg->clocks_size=1;
}
/*Qisda Qube for smart card*/
#endif
//printk("\n\n\s3c24xx_serial_getclk\n\n\n");
//printk("\n\n\n\n hwport= %ld \n\n\n\\n",cfg->hwport);
//printk("\n\n\n\n hwport= %ld \n\n\n\\n",baud);
clkp = cfg->clocks;
best = NULL;
@@ -784,18 +770,6 @@ static void s3c24xx_serial_set_termios(struct uart_port *port,
baud = uart_get_baud_rate(port, termios, old, 0, 115200*8);
/* Ralph added compile flag to disable it for BK060B00 */
#ifndef CONFIG_QISDA_BK060B00
/*Qisda Qube for smart card*/
if(port->irq==73&&port->uartclk==1)
{
//force uart1 to 38400
baud=38400;
}
/*Qisda Qube for smart card*/
#endif
if (baud == 38400 && (port->flags & UPF_SPD_MASK) == UPF_SPD_CUST)
quot = port->custom_divisor;
else