Re: [PATCH V2] tty: serial: imx.c: Reset UART before activating interrupts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

On Thu, Jul 30, 2015 at 3:10 AM, David Jander <david@xxxxxxxxxxx> wrote:

> Thanks for testing.
> Just to be sure, from reading Chapter 63.3.2.1 of the i.MX6Q reference manual,
> I understand that peripheral clock is needed for accessing registers, while ipg
> clock ("module clock") is used for shift registers and state-machine. AFAICS,
> enabling peripheral clock should be enough for resetting the UART. Do you agree

I have "i.MX 6Dual/6Quad Applications Processor Reference Manual, Rev.
2, 06/2014" version.

Table 64-6 shows the UART Clocks.

Clock name    Clock Root    Description
ipg_clk          ipg_clk_root    Peripheral clock
ipg_clk_s      ipg_clk_root     Peripheral access clock
ipg_perclk      uart_clk_root   Module clock

For register access I would expect that we only need ipg_clk turned on.

Not sure why your patch works by turning on ipg_perclk instead.

Regards,

Fabio Estevam
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux