Re: [PATCH v2 2/2] drm/bridge: Add tc358768 driver

2020-01-24 Thread Peter Ujfalusi
Hi Andrzej, On 24/01/2020 16.27, Andrzej Hajda wrote: >> +static void tc358768_write(struct tc358768_priv *priv, u32 reg, u32 val) >> +{ >> +size_t count = 2; >> + >> +if (priv->error) >> +return; >> + >> +/* 16-bit register? */ >> +if (reg < 0x100 || reg >= 0x600) >> +

Re: [PATCH v2 2/2] drm/bridge: Add tc358768 driver

2020-01-24 Thread Andrzej Hajda
On 24.01.2020 11:55, Peter Ujfalusi wrote: > Add basic support for the Toshiba TC358768 RGB to DSI bridge. > Not all the features of the TC358768 is implemented by the initial driver: > MIPI_DSI_MODE_VIDEO and MIPI_DSI_FMT_RGB888 is only supported and tested. > > Only write is implemented for mipi_

[PATCH v2 2/2] drm/bridge: Add tc358768 driver

2020-01-24 Thread Peter Ujfalusi
Add basic support for the Toshiba TC358768 RGB to DSI bridge. Not all the features of the TC358768 is implemented by the initial driver: MIPI_DSI_MODE_VIDEO and MIPI_DSI_FMT_RGB888 is only supported and tested. Only write is implemented for mipi_dsi_host_ops.transfer. Signed-off-by: Peter Ujfalus