[PATCH v3 0/2] tc358767 test mode

From: Andrey Smirnov
Date: Mon Dec 09 2019 - 00:10:58 EST


Everyone:

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

Changes since [v2]:

- Series rebased on 5.4 kernel

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
enabled

- Added comment explaining data format expected by "tstctl"

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

- Original commit split into two

- Minor formatting changes

Thanks,
Andrey Smirnov

[v1] lore.kernel.org/r/20190826182524.5064-1-andrew.smirnov@xxxxxxxxx
[v2] lore.kernel.org/r/20190912013740.5638-1-andrew.smirnov@xxxxxxxxx

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(-)

--
2.21.0