Re: [PATCH] drm/tilcdc: fix LCD pixel clock setting

2021-03-19 Thread Jyri Sarha
On 2021-03-18 23:47, Dario Binacchi wrote: Il 17/03/2021 09:19 Tomi Valkeinen ha scritto: On 14/03/2021 17:13, Dario Binacchi wrote: > As reported by TI spruh73x RM, the LCD pixel clock (LCD_PCLK) frequency > is obtained by dividing LCD_CLK, the LCD controller reference clock, > for CLKDIV: >

Re: [PATCH] drm/tilcdc: fix LCD pixel clock setting

2021-03-18 Thread Dario Binacchi
> Il 17/03/2021 09:19 Tomi Valkeinen ha scritto: > > > On 14/03/2021 17:13, Dario Binacchi wrote: > > As reported by TI spruh73x RM, the LCD pixel clock (LCD_PCLK) frequency > > is obtained by dividing LCD_CLK, the LCD controller reference clock, > > for CLKDIV: > > > > LCD_PCLK = LCD_CLK /

Re: [PATCH] drm/tilcdc: fix LCD pixel clock setting

2021-03-17 Thread Tomi Valkeinen
On 14/03/2021 17:13, Dario Binacchi wrote: As reported by TI spruh73x RM, the LCD pixel clock (LCD_PCLK) frequency is obtained by dividing LCD_CLK, the LCD controller reference clock, for CLKDIV: LCD_PCLK = LCD_CLK / CLKDIV where CLKDIV must be greater than 1. Therefore LCD_CLK must be set to

[PATCH] drm/tilcdc: fix LCD pixel clock setting

2021-03-14 Thread Dario Binacchi
As reported by TI spruh73x RM, the LCD pixel clock (LCD_PCLK) frequency is obtained by dividing LCD_CLK, the LCD controller reference clock, for CLKDIV: LCD_PCLK = LCD_CLK / CLKDIV where CLKDIV must be greater than 1. Therefore LCD_CLK must be set to 'req_rate * CLKDIV' instead of req_rate and