Re: [PATCH v3] pch_uart: reference clock on CM-iTC
From: Denis Turischev
Date: Sun Mar 13 2011 - 09:51:21 EST
Hi Greg,
There is a patch to pch_phub.c that is absent in your linux/kernel/git/gregkh/tty-2.6.git
pch_phub: add new device ML7213
http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=c47dda7d179dde17697c3f839f150fecaf6770cb
>From which repository you want my patch to be based?
On 03/12/2011 12:25 AM, Greg KH wrote:
> On Thu, Mar 10, 2011 at 03:14:00PM +0200, Denis Turischev wrote:
>> Default clock source for UARTs on Topcliff is external UART_CLK.
>> On CM-iTC USB_48MHz is used instead. After VCO2PLL and DIV
>> manipulations UARTs will receive 192 MHz.
>> Clock manipulations on Topcliff are controlled in pch_phub.c
>>
>> v2: redone against the linux-next tree
>> v3: redone against linux/kernel/git/next/linux-next.git snapshot
>>
>> Signed-off-by: Denis Turischev <denis@xxxxxxxxxxxxxx>
>> ---
>> diff -Nru linux-next-20110310.orig/drivers/misc/pch_phub.c linux-next-20110310/drivers/misc/pch_phub.c
>> --- linux-next-20110310.orig/drivers/misc/pch_phub.c 2011-03-10 08:31:30.000000000 +0200
>> +++ linux-next-20110310/drivers/misc/pch_phub.c 2011-03-10 14:42:05.110978473 +0200
>> @@ -618,6 +626,14 @@
>> CLKCFG_CAN_50MHZ,
>> CLKCFG_CANCLK_MASK);
>>
>> + /* quirk for CM-iTC board */
>> + if (strstr(dmi_get_system_info(DMI_BOARD_NAME), "CM-iTC"))
>> + pch_phub_read_modify_write_reg(chip,
>> + (unsigned int)CLKCFG_REG_OFFSET,
>> + CLKCFG_UART_48MHZ | CLKCFG_BAUDDIV |
>> + CLKCFG_PLL2VCO | CLKCFG_UARTCLKSEL,
>> + CLKCFG_UART_MASK);
>> +
>
> This is the chunk that is causing problems. I guess someone else
> modified this file in the linux-next tree, and I can't apply it in mine.
> Any ideas who did this change? Can you look at the linux-next tree and
> see what caused this merge issue?
>
> thanks,
>
> greg k-h
--
Denis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/