From patchwork Thu Nov 1 20:00:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10664481 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D4D6F13B5 for ; Thu, 1 Nov 2018 20:01:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2E562C0DE for ; Thu, 1 Nov 2018 20:01:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B68022C0E9; Thu, 1 Nov 2018 20:01:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 562942C0DE for ; Thu, 1 Nov 2018 20:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hHlTP3Er03mBs5JSSSyt39hIpUIJPBXU5X6+32utDoU=; b=Tr+zHD8PGhhcRn z5SBacVB4Wv+lHI4PGV4BmOqQkAFqpnN45+yIx4Cb0CnVg69wPzmqvT1IU4duxEv5yiAGG0hfVP4w EkSeKmpactrHDH5U/M2swJ1SU3SuHc5g2XOmx9sDKyUD6rEYCc6mL9l3E1q1zkky5hi4LjHnEb7GF izEWA6BmfMg25ZxUUAUdNd6h/bgaTCDzmkRc1MitcjEGk4E/waXrdUhrr4JZ3f2Abxt5UByaG19E2 xbM6/o/82ANNWbeDGDQHRe2C0b8r+XCixeDRltQbo2O0pIs5DvA9IEI1ElZd2eGiRgvzeyupdX3IC 3kVXCzLAIg498Fm60JgA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIJ9Q-00041D-T6; Thu, 01 Nov 2018 20:01:08 +0000 Received: from leonov.paulk.fr ([185.233.101.22]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gIJ9O-0003zr-5N for linux-arm-kernel@lists.infradead.org; Thu, 01 Nov 2018 20:01:08 +0000 Received: from gagarine.paulk.fr (gagarine [192.168.1.127]) by leonov.paulk.fr (Postfix) with ESMTPS id 94744BFDF8 for ; Thu, 1 Nov 2018 21:00:48 +0100 (CET) Received: by gagarine.paulk.fr (Postfix, from userid 114) id 1889EC1063; Thu, 1 Nov 2018 21:00:48 +0100 (CET) Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id 342A2C101E; Thu, 1 Nov 2018 21:00:33 +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 Subject: [PATCH v2 0/7] BL035-RGB-002 3.5" LCD sunxi DRM support Date: Thu, 1 Nov 2018 21:00:38 +0100 Message-Id: <20181101200045.6078-1-contact@paulk.fr> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181101_130106_397475_E4915163 X-CRM114-Status: GOOD ( 15.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , David Airlie , linux-sunxi@googlegroups.com, Rob Herring , Paul Kocialkowski , Maxime Ripard , Chen-Yu Tsai , Thierry Reding Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 v1: * 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 (7): drm/sun4i: tcon: Pass encoder instead of using panel for 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 | 7 ++ .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm/boot/dts/sun7i-a20-bananapi.dts | 89 +++++++++++++++++++ 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, 151 insertions(+), 14 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/lemaker,bl035-rgb-002.txt