From patchwork Thu Jan 2 14:12:43 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 11315829 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E1C55109A for ; Thu, 2 Jan 2020 14:12:57 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C9E2720848 for ; Thu, 2 Jan 2020 14:12:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C9E2720848 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 23F696E0FD; Thu, 2 Jan 2020 14:12:55 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by gabe.freedesktop.org (Postfix) with ESMTPS id DCFCD6E0FE for ; Thu, 2 Jan 2020 14:12:53 +0000 (UTC) Received: from ramsan ([84.195.182.253]) by xavier.telenet-ops.be with bizsmtp id lSCn2100L5USYZQ01SCnNQ; Thu, 02 Jan 2020 15:12:51 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1in1DT-0006OS-BB; Thu, 02 Jan 2020 15:12:47 +0100 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1in1DT-00006r-91; Thu, 02 Jan 2020 15:12:47 +0100 From: Geert Uytterhoeven To: =?utf-8?q?Noralf_Tr=C3=B8nnes?= , David Lechner , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Rob Herring , Mark Rutland Subject: [PATCH 0/3] drm: Add support for Okaya RH128128T Date: Thu, 2 Jan 2020 15:12:43 +0100 Message-Id: <20200102141246.370-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Chris Brandt , Geert Uytterhoeven , dri-devel@lists.freedesktop.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi all, This patch series adds support for the Okaya RH128128T LCD to the existing ST7735R driver. This is a 128x128 1.4" TFT display driven by a Sitronix ST7715R TFT Controller/Driver. It is used on the "lcd-pmod" display module that is shipped with Renesas RSK+RZA1 development boards, and with several other Renesas starter kits, for RX, Synergy, and RZ/T1 MCUs and SoCs. I'm not 100% sure about the actual Okaya part number, but this is the only display listed on the Okaya website that matches the specifications. Patch 2 depends on "[PATCH] drm/mipi_dbi: Fix off-by-one bugs in mipi_dbi_blank()"[1], which I sent earlier this week. This has been tested using the r7s72100-rskrza1-pmod-spi.dtso and r7s72100-rskrza1-pmod2-lcd.dtso DT overlays[2]. Note that for using this on RSK+RZA1, there is a dependency on RSPI cs-gpios support[3]. With DT overlays, this also depends on DT overlays[4] and gpio-hog overlay support[5]. Thanks for your comments! [1] https://lore.kernel.org/lkml/20191230130604.31006-1-geert+renesas@glider.be/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/renesas-overlays [3] "[PATCH 0/6] spi: rspi: Add support for multiple native and GPIO chip selects" https://lore.kernel.org/lkml/20200102133822.29346-1-geert+renesas@glider.be/ [4] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/overlays [5] "[PATCH/RFC 0/2] gpio: of: Add DT overlay support for GPIO hogs" https://lore.kernel.org/lkml/20191230133852.5890-1-geert+renesas@glider.be/ Geert Uytterhoeven (3): dt-bindings: display: sitronix,st7735r: Add Okaya rh128128t drm/mipi_dbi: Add support for display offsets drm: tiny: st7735r: Add support for Okaya RH128128T .../bindings/display/sitronix,st7735r.txt | 4 +- drivers/gpu/drm/drm_mipi_dbi.c | 30 ++++++--- drivers/gpu/drm/tiny/st7735r.c | 65 ++++++++++++++++--- include/drm/drm_mipi_dbi.h | 12 ++++ 4 files changed, 90 insertions(+), 21 deletions(-)