Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3438631imu; Wed, 7 Nov 2018 10:18:56 -0800 (PST) X-Google-Smtp-Source: AJdET5efwAAdCzFOewyM/25W/wS559/gawt0kC5n4zQPBqy0Rm388evJ8rJCNysLShzn77FgTe+5 X-Received: by 2002:a17:902:ac86:: with SMTP id h6-v6mr1227150plr.174.1541614736481; Wed, 07 Nov 2018 10:18:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541614736; cv=none; d=google.com; s=arc-20160816; b=I0VmVl/8tquU8hoeJG3ohGWbga7M8PDn5ovio4dK99FUFh10+yxO9Pf630nsOJOjcK cCuCbKALiE0ZzdxmietHLonBbFYsibhyC4jHbD+uAF7RgTiVZUONMe50gQKzhx62M4ps EHRa0Mic6Cc166fVU5KslSHLyDqS52n272LUbGuPWgrzbHa6qcDRlnLxvwXFtdlTof4R v8YakbiT8cQ2GfQMXOck5S6KKMbv6JrfRt/5C4hveH08IMJOr3jldhM7hXX143KSiVoO aL1yri02gSEU7yZb6d+hYHALy9zs4Uu/SV+IOouj1mvt577U0KwBzCfyeTNFwHLqYcPT Wwnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pEyJ94W9ysxmgumJlWjo03CXoEs0PD1KHmSdZiXxd8s=; b=mf0nWLknkqee6i+zdcdbyCJLy0UVRb/ZHt+CLYvnMjCIIASiVI1fg/ykDeqmueXb6G szlH+fnulnxlxgam+Dn8cK+5Wduo9MLWUiTyNfxhdkG/vrlnOwwjrG7Pkb9Pj1ZUw3is wzAjDnccoisJL2MqtYBvKMziSE/8Z/UBNzjCUKR5VOR/MWuXhoNmV7T4VWmv1/gzRvK/ ffVmB4WPG/IeKGZbdzUuM367CBawFjHZzXdmWMBz74pzvC5QbW289cVzhA95nDRZp5YN Wm9ldS5m17SrKL4Mz7rZFEUzB2CRtsy4EBcv3IZBIWc3+CtotcM0YG/lmm7REu9ZLCzO YRMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si1336942plk.407.2018.11.07.10.18.40; Wed, 07 Nov 2018 10:18:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727711AbeKHDtw (ORCPT + 99 others); Wed, 7 Nov 2018 22:49:52 -0500 Received: from leonov.paulk.fr ([185.233.101.22]:48828 "EHLO leonov.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbeKHDtw (ORCPT ); Wed, 7 Nov 2018 22:49:52 -0500 Received: from gagarine.paulk.fr (gagarine [192.168.1.127]) by leonov.paulk.fr (Postfix) with ESMTPS id 52482BFCAE; Wed, 7 Nov 2018 19:18:17 +0100 (CET) Received: by gagarine.paulk.fr (Postfix, from userid 114) id 79D4BC1075; Wed, 7 Nov 2018 19:18:16 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on gagarine.paulk.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id CCCBDC1064; Wed, 7 Nov 2018 19:17:55 +0100 (CET) From: Paul Kocialkowski To: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Thierry Reding , David Airlie , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , linux-sunxi@googlegroups.com, Mark Van den Borre , Gerry Demaret , Luc Verhaegen , Paul Kocialkowski Subject: [PATCH v3 0/8] BL035-RGB-002 3.5" LCD sunxi DRM support Date: Wed, 7 Nov 2018 19:18:35 +0100 Message-Id: <20181107181843.27628-1-contact@paulk.fr> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The series adds support for the BL035-RGB-002 LCD panel and the required device-tree bindings for using it on the BananaPi M1. Only the changes related to the DRM driver and the panel are submitted for merge, which does not include the two final commits. Changes since v2: * Split the commit using the encoder instead of panel; * Mentionned that the lemaker prefix was already used; * Included all properties in the panel binding documentation; * Fixed panel binding in BananaPi device-tree; * Switched backlight levels to a 1.8-gamma-corrected table. Changes since v1: * Rebased on drm-misc next; * Used the full name of the panel for dt bindings; * Removed helper to match flags in order to only retrieve the connector once, as it was already done. * Made the bus flags checking possible without a panel; Paul Kocialkowski (8): drm/sun4i: tcon: Pass encoder to RGB setup function drm/sun4i: tcon: Get the connector from the encoder in RGB setup drm/sun4i: tcon: Support an active-low DE signal with RGB interface dt-bindings: Add vendor prefix for LeMaker dt-bindings: Add bindings for the LeMaker BL035-RGB-002 LCD panel drm/panel: simple: Add support for the LeMaker BL035-RGB-002 3.5" LCD ARM: dts: sun7i: Add pinmux configuration for LCD0 RGB888 pins ARM: dts: sun7i-a20-bananapi: Add bindings for the LeMaker 3.5" LCD .../display/panel/lemaker,bl035-rgb-002.txt | 12 ++++ .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/sun7i-a20-bananapi.dts | 71 +++++++++++++++++++ arch/arm/boot/dts/sun7i-a20.dtsi | 11 +++ drivers/gpu/drm/panel/panel-simple.c | 27 +++++++ drivers/gpu/drm/sun4i/sun4i_tcon.c | 29 ++++---- drivers/gpu/drm/sun4i/sun4i_tcon.h | 1 + 7 files changed, 138 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/lemaker,bl035-rgb-002.txt -- 2.19.1