From patchwork Tue Aug 14 13:49:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10565643 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 23EF21390 for ; Tue, 14 Aug 2018 13:53:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17A8B285CC for ; Tue, 14 Aug 2018 13:53:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B57C28712; Tue, 14 Aug 2018 13:53:41 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 A5CD1285CC for ; Tue, 14 Aug 2018 13:53:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732780AbeHNQk4 (ORCPT ); Tue, 14 Aug 2018 12:40:56 -0400 Received: from mo4-p00-ob.smtp.rzone.de ([85.215.255.25]:32217 "EHLO mo4-p00-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732667AbeHNQk4 (ORCPT ); Tue, 14 Aug 2018 12:40:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1534254818; s=strato-dkim-0002; d=fpond.eu; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=M9mfHGWoIkkAVu1Dj4Xh21COEgSE0TN6jpjF4RPo7Fw=; b=Pz+dO+lcXsHtxkOZ5k4UDe2M+FqmJiga3ODc5wQ583JsUdoQ0y21t1WHUxobNZ60PT U9tg0Qi7EOAjh6o26z+wqJtaVSEahluEH/SCj+Yg3D4dk7JcNaX52ldqrPa8Xrht1rhK Y8K2DxdMdeY+aPZBC8Q0k1bhRPRNdubJiAiL3wx/fh9KpkwgjnGtFYV3/HEglsqIontR Pkaspwy4/E9BTaJs3mfDeMmXcfOJXjY0sSiVKI7MMMhmzNIIhBKbREq03Mh4Qfuqiozk P50z2QwgPkWqolPCIG7h0g0vdtU8w9fd+g+dYHnOPeMwd4O3w6QmWyMX6T6QneEzO9iS u6vA== X-RZG-AUTH: ":OWANVUa4dPFUgKR/3dpvnYP0Np73dmm4I5W0/AvA67Ot4fvR82tad/Qd" X-RZG-CLASS-ID: mo00 Received: from groucho.site by smtp.strato.de (RZmta 43.18 DYNA|AUTH) with ESMTPSA id w02b1cu7EDoT0J4 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Tue, 14 Aug 2018 15:50:29 +0200 (CEST) From: Ulrich Hecht To: laurent.pinchart@ideasonboard.com Cc: linux-renesas-soc@vger.kernel.org, dri-devel@lists.freedesktop.org, jacopo+renesas@jmondi.org, kieran.bingham+renesas@ideasonboard.com, Ulrich Hecht Subject: [PROTO][PATCH 00/10] R-Car D3 LVDS/HDMI support (with PLL) Date: Tue, 14 Aug 2018 15:49:54 +0200 Message-Id: <1534254604-24204-1-git-send-email-uli+renesas@fpond.eu> 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 Hi! This is a prototype extension of the series "R-Car D3 LVDS/HDMI support" that includes an up-port of the LVDS PLL support in the BSP. While this is prototype-quality code, there are in my judgment no serious hacks in it. The most significant deviation in behavior between this and the BSP code is that the LVDS PLL setup is not done in two steps, but in one go as the LVDS device is enabled. This was easier to implement, and works just as fine. Instructions for testing this are found at https://elinux.org/User:Uli/D3_HDMI_Test, including links to git trees based on renesas-drivers and drm-next, as well as config files for each. CU Uli Jacopo Mondi (1): drm: rcar-du: lvds: Handle LVDS interface reset Kieran Bingham (1): arm64: dts: renesas: r8a77995: Add LVDS support Koji Matsuoka (5): drm: rcar-du: Add clk_set_rate for external clock device drm: rcar-du: Fix digital RGB routing for R8A77995 drm/bridge: adv7511: Add max-clock, min-vrefresh options drm: rcar-du: Fix procedure for extal and dotclkin selection arm64: dts: r8a77995-draak: set external clock for DU Ulrich Hecht (3): drm: rcar-du: Add r8a77995 device support drm: rcar-du: lvds: LVDS PLL support arm64: dts: renesas: r8a77995-draak: add HDMI output arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 92 +++++++++- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 56 ++++++ drivers/gpu/drm/bridge/adv7511/adv7511.h | 7 + drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 22 +++ drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 33 ++-- drivers/gpu/drm/rcar-du/rcar_du_crtc.h | 4 + drivers/gpu/drm/rcar-du/rcar_du_drv.c | 28 +++ drivers/gpu/drm/rcar-du/rcar_du_drv.h | 4 + drivers/gpu/drm/rcar-du/rcar_du_group.c | 18 +- drivers/gpu/drm/rcar-du/rcar_lvds.c | 227 +++++++++++++++++++++++++ drivers/gpu/drm/rcar-du/rcar_lvds_regs.h | 44 ++++- 11 files changed, 517 insertions(+), 18 deletions(-)