From: Thierry Reding Subject: [PATCH 0/4] drm/dp: Introduce AUX channel infrastructure Date: Thu, 12 Dec 2013 15:53:46 +0100 Message-ID: <1386860030-1840-1-git-send-email-treding@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bk0-f47.google.com (mail-bk0-f47.google.com [209.85.214.47]) by gabe.freedesktop.org (Postfix) with ESMTP id 48C6CFA7DE for ; Thu, 12 Dec 2013 06:55:05 -0800 (PST) Received: by mail-bk0-f47.google.com with SMTP id mx12so915097bkb.34 for ; Thu, 12 Dec 2013 06:55:04 -0800 (PST) Received: from localhost (port-31954.pppoe.wtnet.de. [46.59.175.170]) by mx.google.com with ESMTPSA id lr9sm18563949bkb.2.2013.12.12.06.55.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Dec 2013 06:55:03 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Hi, This small series introduces some infrastructure to support AUX channels in a generic way. Drivers make use of it by embedding and filling in a struct drm_dp_aux. Various helpers can then be used to for example read from or write to the DPCD. Patch 1 adds the basic infrastructure as well as a couple of helpers to access the DPCD. The helper introduced in patch 2 can be used to obtain the link status as expected by various existing DP helpers. More convenience helpers are added in patch 3, which can come in handy during DP initialization. An AUX channel can also be used to implement I2C-over-AUX and patch 4 wraps a drm_dp_aux object such that it can be used with the existing i2c_dp_aux helpers. Eventually it should be possible to implement the same functionality more directly instead of going through the additional layer of indirection. Thierry Thierry Reding (4): drm/dp: Add AUX channel infrastructure drm/dp: Add drm_dp_dpcd_read_link_status() drm/dp: Add DisplayPort link helpers drm/dp: Allow registering AUX channels as I2C busses drivers/gpu/drm/drm_dp_helper.c | 203 ++++++++++++++++++++++++++++++++++++++++ include/drm/drm_dp_helper.h | 122 ++++++++++++++++++++++++ 2 files changed, 325 insertions(+) -- 1.8.4.2