]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: qcom_geni_serial: Add 51.2MHz frequency support
authorsatya priya <skakit@codeaurora.org>
Fri, 29 May 2020 10:14:42 +0000 (15:44 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 May 2020 11:49:02 +0000 (13:49 +0200)
commit78f09e4698b54abaeeecf1a8b3e7899bfb85509d
treeda92fc13a819ae1aea6ebfa579cc988ec5144e51
parent121f8f93227d6c426b819bc70e29b0a05e2dbeb8
tty: serial: qcom_geni_serial: Add 51.2MHz frequency support

To support BT use case over UART at baud rate of 3.2 Mbps,
we need SE clocks to run at 51.2MHz frequency. Previously this
frequency was not available in clk src, so, we were requesting
for 102.4 MHz and dividing it internally by 2 to get 51.2MHz.

As now 51.2MHz frequency is made available in clk src,
adding this frequency to UART frequency table.

We will save significant amount of power, if 51.2 is used
because it belongs to LowSVS range whereas 102.4 fall into
Nominal category.

Signed-off-by: satya priya <skakit@codeaurora.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/1590747282-5487-1-git-send-email-skakit@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/qcom_geni_serial.c