From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932503AbdEKX4d (ORCPT ); Thu, 11 May 2017 19:56:33 -0400 Received: from anholt.net ([50.246.234.109]:58252 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752505AbdEKX4a (ORCPT ); Thu, 11 May 2017 19:56:30 -0400 From: Eric Anholt To: dri-devel@lists.freedesktop.org, Thierry Reding , Rob Herring , Mark Rutland , Archit Taneja , Andrzej Hajda , Laurent Pinchart , devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Eric Anholt Subject: [PATCH 0/4] Raspberry Pi Touchscreen bridge/panel drivers Date: Thu, 11 May 2017 16:56:21 -0700 Message-Id: <20170511235625.22427-1-eric@anholt.net> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here's the rewrite of the Raspberry Pi display support to split out a bridge driver representing the toshiba+atmel pair. It depends on the panel-bridge layer I've submitted. The RPi DSI stack isn't completely working yet -- I've got some flickery pixels on the display where it seems some color values are unstable (on the default debian swirl desktop image, they're particularly visible as pink sparkles near the edge of the swirls). So far messing with clocks, not setting clocks at all, forcing the firmware's DSI timings, and a bunch of other hacks haven't managed to resolve it. Still, I think this driver stack is useful to have, and I assume that fixing this will be a small bugfix somewhere later. Eric Anholt (4): drm/vc4: Adjust modes in DSI to work around the integer PLL divider. dt-bindings: Document the Raspberry Pi Touchscreen nodes. drm/bridge: Add support for the Raspberry Pi 7" Touchscreen. drm/panel: Add the Raspberry Pi 7" touchscreen's panel. .../raspberrypi,7inch-touchscreen-bridge.txt | 68 +++ .../panel/raspberrypi,7inch-touchscreen-panel.txt | 7 + drivers/gpu/drm/bridge/Kconfig | 9 + drivers/gpu/drm/bridge/Makefile | 1 + drivers/gpu/drm/bridge/raspberrypi-touchscreen.c | 460 +++++++++++++++++++++ drivers/gpu/drm/panel/panel-simple.c | 30 ++ drivers/gpu/drm/vc4/vc4_dsi.c | 112 +++-- 7 files changed, 661 insertions(+), 26 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/bridge/raspberrypi,7inch-touchscreen-bridge.txt create mode 100644 Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen-panel.txt create mode 100644 drivers/gpu/drm/bridge/raspberrypi-touchscreen.c -- 2.11.0