[PATCH v2 0/2] tc358767 test mode

Andrey Smirnov andrew.smirnov at gmail.com
Thu Sep 12 01:37:38 UTC 2019


This series is a couple of patches exposing TestCtl register of
tc358767, which can be pretty handy when troubleshooting link problems.

Changes since [v1]:

    - Debugfs moved into a standalone directory and is now created as
      a part of probe()

    - Added tstctl_lock to ensure mutual exclusion of tstctl code and
      bridge's enable/disable methods

    - tc_tstctl_set() changed to function only if bridge was previosly

    - Added comment explaining data format expected by "tstctl"

    - Debugfs permission changed to reflect write-only nature of this

    - Original commit split into two

    - Minor formatting changes

Andrey Smirnov

[v1] lore.kernel.org/r/20190826182524.5064-1-andrew.smirnov at gmail.com

Andrey Smirnov (2):
  drm/bridge: tc358767: Introduce __tc_bridge_enable/disable()
  drm/bridge: tc358767: Expose test mode functionality via debugfs

 drivers/gpu/drm/bridge/tc358767.c | 184 ++++++++++++++++++++++++------
 1 file changed, 148 insertions(+), 36 deletions(-)


More information about the dri-devel mailing list