From patchwork Fri Aug 2 07:33:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 11072747 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 C20CD912 for ; Fri, 2 Aug 2019 07:34:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1436287C2 for ; Fri, 2 Aug 2019 07:34:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 940A9287D1; Fri, 2 Aug 2019 07:34:34 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD417287C2 for ; Fri, 2 Aug 2019 07:34:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733176AbfHBHed (ORCPT ); Fri, 2 Aug 2019 03:34:33 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:28820 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727656AbfHBHed (ORCPT ); Fri, 2 Aug 2019 03:34:33 -0400 X-IronPort-AV: E=Sophos;i="5.64,337,1559487600"; d="scan'208";a="22931900" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 02 Aug 2019 16:34:30 +0900 Received: from fabrizio-dev.ree.adwin.renesas.com (unknown [10.226.36.196]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id D292D4007528; Fri, 2 Aug 2019 16:34:25 +0900 (JST) From: Fabrizio Castro To: Geert Uytterhoeven , Laurent Pinchart , Kieran Bingham , Jacopo Mondi , David Airlie , Daniel Vetter , Rob Herring , Mark Rutland , Thierry Reding Cc: Fabrizio Castro , Sam Ravnborg , Simon Horman , Magnus Damm , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, Chris Paterson , Biju Das , linux-kernel@vger.kernel.org, ebiharaml@si-linux.co.jp Subject: [PATCH/RFC 00/12] Add dual-LVDS panel support to EK874 Date: Fri, 2 Aug 2019 08:33:57 +0100 Message-Id: <1564731249-22671-1-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Dear All, this series adds support for dual-LVDS panel IDK-2121WR from Advantech: https://buy.advantech.eu/Displays/Embedded-LCD-Kits-High-Brightness/model-IDK-2121WR-K2FHA2E.htm Dual link support is very recent for R-Car Gen3, and I couldn't find much on dual link panels in the kernel either, therefore comments are very welcome to get this right. The panel doesn't come with the EK874 kit, but it's advertised as supported, therefore this series adds a new dts file to support the configuration of the EK874 + IDK-2121WR. Finally, this series depends on a fix that's still pending: https://patchwork.kernel.org/patch/11054755/ Thanks, Fab Fabrizio Castro (12): dt-bindings: display: renesas: lvds: RZ/G2E needs renesas,companion too dt-bindings: display: renesas: lvds: Document renesas,swap-data dt-bindings: panel: lvds: Add dual-link LVDS display support dt-bindings: display: Add bindings for Advantech IDK-2121WR drm: rcar-du: lvds: Add data swap support drm: rcar-du: lvds: Do not look at ports for identifying bridges drm: rcar-du: lvds: Add support for dual link panels drm: rcar-du: lvds: Fix bridge_to_rcar_lvds drm: rcar-du: lvds: Fix companion's mode arm64: dts: renesas: r8a774c0: Point LVDS0 to its companion LVDS1 arm64: dts: renesas: cat874: Add definition for 12V regulator arm64: dts: renesas: Add EK874 board with idk-2121wr display support .../bindings/display/bridge/renesas,lvds.txt | 11 +- .../display/panel/advantech,idk-2121wr.txt | 62 ++++++++++++ .../bindings/display/panel/panel-lvds.txt | 91 ++++++++++++----- arch/arm64/boot/dts/renesas/Makefile | 3 +- arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 9 ++ .../boot/dts/renesas/r8a774c0-ek874-idk-2121wr.dts | 112 +++++++++++++++++++++ arch/arm64/boot/dts/renesas/r8a774c0.dtsi | 2 + drivers/gpu/drm/rcar-du/rcar_lvds.c | 65 ++++++------ 8 files changed, 291 insertions(+), 64 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/advantech,idk-2121wr.txt create mode 100644 arch/arm64/boot/dts/renesas/r8a774c0-ek874-idk-2121wr.dts