Re: [PATCH 3/3] serial: msm: calculate bit clock divider

2024-04-15 Thread Robert Marko
On Mon, Apr 15, 2024 at 4:18 PM Caleb Connolly wrote: > > > > On 15/04/2024 14:05, Robert Marko wrote: > > On Mon, Apr 15, 2024 at 2:44 PM Caleb Connolly > > wrote: > >> > >> The driver currently requires the bit clock divider be hardcoded in > >> devicetree (or use the hardcoded default from apq

Re: [PATCH 3/3] serial: msm: calculate bit clock divider

2024-04-15 Thread Caleb Connolly
On 15/04/2024 14:05, Robert Marko wrote: > On Mon, Apr 15, 2024 at 2:44 PM Caleb Connolly > wrote: >> >> The driver currently requires the bit clock divider be hardcoded in >> devicetree (or use the hardcoded default from apq8016). >> >> The bit clock divider is used to derive the baud rate fro

Re: [PATCH 3/3] serial: msm: calculate bit clock divider

2024-04-15 Thread Robert Marko
On Mon, Apr 15, 2024 at 2:44 PM Caleb Connolly wrote: > > The driver currently requires the bit clock divider be hardcoded in > devicetree (or use the hardcoded default from apq8016). > > The bit clock divider is used to derive the baud rate from the core > clock: > > baudrate = clk_rate / csr_d