From patchwork Tue May 15 12:20:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10400887 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9397F601F9 for ; Tue, 15 May 2018 12:20:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7FD1728773 for ; Tue, 15 May 2018 12:20:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 746B9287AE; Tue, 15 May 2018 12:20:57 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 1ACCE28773 for ; Tue, 15 May 2018 12:20:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753233AbeEOMU4 (ORCPT ); Tue, 15 May 2018 08:20:56 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33355 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752421AbeEOMU4 (ORCPT ); Tue, 15 May 2018 08:20:56 -0400 Received: by mail-wm0-f68.google.com with SMTP id x12-v6so15651291wmc.0 for ; Tue, 15 May 2018 05:20:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=3BxmixrhNmpVCoRUAvMx5GmUWQW+aFL+yX6RgyH0o7Y=; b=JmztIDG6Y/dQgQqfCLb6LLeMi0YBzVnOUyBThtM0tXiQ17hoIvy8VbRQHCl30e3krg 3O3jNSNSUp0W02VrrwSvPTk7S9Cmypoxa2RJGBk8QU5C7ixaSaJT5Yf0/AYOFGTF6ZM1 sMH73Qg6VQ+1ePiH/E+O4dyifPjDARYL3TIv2Ub4zV//X/VsTJd0nVVrDk6krhdJbxLl pw+CK5ZnhtPvxrsAJcedugxKlXxhBGsIQ1c0twD88+YYKmF7QLq3w59eimp10CqB9GRl UKU9katNKikh3bFjuV3Bswf7g64q2ukOS7MlOYf7yQEFmvVfs4BvSnWIJS3kfbLWPj08 4j0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=3BxmixrhNmpVCoRUAvMx5GmUWQW+aFL+yX6RgyH0o7Y=; b=QxYYmbTuM572oWTLj4Z/kQzEshqGdEAu6wrzQtBRmvZgTWrhsc1ZNnGFVjjRGBk0Pl McytutGCCGxo9Pp0a62ZW4hrnP3AiAUtGwHHgeAtM47cjM/l/QuuYvSwe0nNSkcFk7kW UFYL9hHhduwlbzCopNqob+boQRWtPOGsOPRei0Jgl37luzx34U0ZOjtvB1cb4le8sTQy 7uO870M3mbm+mU/OjDDd+GTMiROO2sGZnHTqhBMqeiZhY/PIO8Vlsc7HskVHfUPu5HKd XTonJHXoHDdaR0J/4TEcMleiGkTJOspj/yQ2q3X6b/O2+RnYvP1mKZlAFGzXlWoXukyP vwLQ== X-Gm-Message-State: ALKqPwfV51rs7TliO5uelaQOpWND2++JfWXzNOOoeDU9LgFGvOx0Vkh2 OP+CYzX+eQW3sjB8bQaBTafzXQQ= X-Google-Smtp-Source: AB8JxZqsq5vGAnFOyAM7Ld052J952fTjq0SPVJkiv/5w6j8UQ4oy7xqe1RFxO94pQvk+oB2mtvBIMw== X-Received: by 2002:a1c:b54c:: with SMTP id e73-v6mr7140676wmf.121.1526386854634; Tue, 15 May 2018 05:20:54 -0700 (PDT) Received: from groucho.site (ipbcc0cec6.dynamic.kabel-deutschland.de. [188.192.206.198]) by smtp.gmail.com with ESMTPSA id x81-v6sm16819357wrb.23.2018.05.15.05.20.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 15 May 2018 05:20:54 -0700 (PDT) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, Ulrich Hecht Subject: [PATCH 4/5] arm64: dts: renesas: r8a77995-draak: add HDMI output Date: Tue, 15 May 2018 14:20:39 +0200 Message-Id: <1526386840-15368-5-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1526386840-15368-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1526386840-15368-1-git-send-email-ulrich.hecht+renesas@gmail.com> 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 Adds LVDS decoder, HDMI encoder and connector for Draak boards. Signed-off-by: Ulrich Hecht Reviewed-by: Simon Horman Reviewed-by: Laurent Pinchart --- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 80 ++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index 9d73de8..b059e32 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -27,6 +27,41 @@ stdout-path = "serial0:115200n8"; }; + lvds-decoder { + compatible = "thine,thc63lvd1024"; + vcc-supply = <®_3p3v>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + thc63lvd1024_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; + + port@2 { + reg = <2>; + thc63lvd1024_out: endpoint { + remote-endpoint = <&adv7511_in>; + }; + }; + }; + }; + + hdmi-out { + compatible = "hdmi-connector"; + type = "a"; + + port { + hdmi_con_out: endpoint { + remote-endpoint = <&adv7511_out>; + }; + }; + }; + vga { compatible = "vga-connector"; @@ -154,6 +189,39 @@ reg = <0x50>; pagesize = <8>; }; + + hdmi@39 { + compatible = "adi,adv7511w"; + reg = <0x39>, <0x3f>, <0x38>, <0x3c>; + reg-names = "main", "edid", "packet", "cec"; + interrupt-parent = <&gpio1>; + interrupts = <28 IRQ_TYPE_LEVEL_LOW>; + + adi,input-depth = <8>; + adi,input-colorspace = "rgb"; + adi,input-clock = "1x"; + adi,input-style = <1>; + adi,input-justification = "evenly"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + adv7511_in: endpoint { + remote-endpoint = <&thc63lvd1024_out>; + }; + }; + + port@1 { + reg = <1>; + adv7511_out: endpoint { + remote-endpoint = <&hdmi_con_out>; + }; + }; + }; + }; }; &i2c1 { @@ -176,6 +244,18 @@ }; }; +&lvds0 { + status = "okay"; + + ports { + port@1 { + lvds0_out: endpoint { + remote-endpoint = <&thc63lvd1024_in>; + }; + }; + }; +}; + &ehci0 { status = "okay"; };