1. 17 May, 2022 2 commits
  2. 16 May, 2022 6 commits
  3. 15 May, 2022 3 commits
  4. 13 May, 2022 27 commits
  5. 12 May, 2022 2 commits
    • Marek Vasut's avatar
      drm/bridge: tc358767: Add DSI-to-(e)DP mode support · 3080c21a
      Marek Vasut authored
      Implement DSI-to-e(DP) mode, which is a mix of currently supported
      DSI-to-DPI and DPI-to-(e)DP modes. The input side is configured as
      either DSI or DPI, the DP AUX channel is registered for both input
      side options, and the DSI host is attached for both DPI and (e)DP
      output side options.
      
      One notable detail is that the DSI-to-(e)DP mode requires the Pixel
      PLL to be always enabled, which is not needed for DPI-to-(e)DP mode
      which gets the matching clock direct from DPI Pixel Clock instead.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Jonas Karlman <jonas@kwiboo.se>
      Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Maxime Ripard <maxime@cerno.tech>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Robert Foss <robert.foss@linaro.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220429205644.245480-2-marex@denx.de
      3080c21a
    • Marek Vasut's avatar
      drm/bridge: tc358767: Factor out DSI and DPI RX enablement · d7fd32ec
      Marek Vasut authored
      Factor out register programming to configure the chip video RX side for
      reception of video data from DSI or DPI. This is particularly useful in
      the (e)DP output mode, where the video data can be received from either
      DPI or DSI. While only the former is supported in (e)DP output mode so
      far, this patch is added in preparation for addition of the later.
      
      There is a change in the order or register programming in case of the
      DSI-to-DPI mode. The DSI RX side is now programmed and enabled all in
      one place after the output mode has been configured. Before this change,
      the DSI RX has been programmed before the output mode has been set and
      only enabled afterward. The order makes no difference however, since the
      DSI RX is only enabled at the end either way.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Jonas Karlman <jonas@kwiboo.se>
      Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
      Cc: Lucas Stach <l.stach@pengutronix.de>
      Cc: Marek Vasut <marex@denx.de>
      Cc: Maxime Ripard <maxime@cerno.tech>
      Cc: Neil Armstrong <narmstrong@baylibre.com>
      Cc: Robert Foss <robert.foss@linaro.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
      Link: https://patchwork.freedesktop.org/patch/msgid/20220429205644.245480-1-marex@denx.de
      d7fd32ec