diff options
author | Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com> | 2025-09-03 12:01:36 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-06 15:49:10 +0200 |
commit | fc6a5b540c02d1ec624e4599f45a17f2941a5c00 (patch) | |
tree | ac21df809850471ded9ed8ebeac03f4991663da2 /drivers/infiniband/hw/ionic/ionic_datapath.c | |
parent | 5a66087107b80ac4e58a94f37d9b8d12e22b4071 (diff) |
serial: qcom-geni: Add DFS clock mode support to GENI UART driver
GENI UART driver currently supports only non-DFS (Dynamic Frequency
Scaling) mode for source frequency selection. However, to operate correctly
in DFS mode, the GENI SCLK register must be programmed with the appropriate
DFS index. Failing to do so can result in incorrect frequency selection
Add support for Dynamic Frequency Scaling (DFS) mode in the GENI UART
driver by configuring the GENI_CLK_SEL register with the appropriate DFS
index. This ensures correct frequency selection when operating in DFS mode.
Replace the UART driver-specific logic for clock selection with the GENI
common driver function to obtain the desired frequency and corresponding
clock index. This improves maintainability and consistency across
GENI-based drivers.
Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250903063136.3015237-1-viken.dadhaniya@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions