From: Andrey Smirnov Subject: [PATCH v2 0/2] tc358767 test mode Date: Wed, 11 Sep 2019 18:37:38 -0700 Message-ID: <20190912013740.5638-1-andrew.smirnov@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Sender: linux-kernel-owner@vger.kernel.org To: dri-devel@lists.freedesktop.org Cc: Andrey Smirnov , Andrzej Hajda , Laurent Pinchart , Tomi Valkeinen , Cory Tusar , Chris Healy , Lucas Stach , linux-kernel@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org Everyone: 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 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@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(-) -- 2.21.0