Received: by 10.223.185.116 with SMTP id b49csp1753280wrg; Thu, 15 Feb 2018 00:39:39 -0800 (PST) X-Google-Smtp-Source: AH8x227KRAMzEe0PgNSyLFb2LRKUCRhKpDniF2DsCkuylRrmLzv36NX/lC3AtCZcv9HhZ6IlveDY X-Received: by 2002:a17:902:57d8:: with SMTP id g24-v6mr1826500plj.381.1518683979175; Thu, 15 Feb 2018 00:39:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518683979; cv=none; d=google.com; s=arc-20160816; b=X9Ws9E+OX4IUsf5Cc1RnvwlKjfWfPGbMkXi4iMB3NVttEMX2Fu9dvTRqh7FwZZ2Kdv rO0+oSZm/zk6w2RUwC357DQJev3k7V+vfUjlRtxRr4fHnm2lTYWQ1qiar0vf9aoR+aBX Wp6n0ueO7baIInkm6c8FkvdpvgFslbxqq0fQ6T8bRO+FuQQOmYGhuasqMc4YX1VUJRjb GeqsQhr0yCaqpzpJ3rRtGpAQEpdiI4i4UQkc10OafGZGfD64pptdoWkYfYB85zNqj/E/ +YKNK3BMCc9QqT7D4XHrzRKS4Q0M0/FTCVirqli1OFUcmqdgaidLScZkMmYPhUAmRYuT FOdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:arc-authentication-results; bh=6u0S3JYBQoRpz1T18ZDNgYifNBDdsiTIW2z35b3YK10=; b=tviSEhePPFsrQ7dGQI/u1KL42/2JtaNOrqpGNwFGdZAo3wuRiBsQJZckD+S4OQNdkp YUO5jVK6vxUc1bSx7AggDeABV91qEJuYixX1Bp0dH4Um+43tKijF/uUHV7s8kUXmD+4S rOS16Ygmp3KBnW+3hS5OXg+Znx8xHexhwFMFSwKu5kGC017KGnBbCVchiew3nIePYucf QRHLmfehblAgZG5qZJUJEh52ARNioAVj6dPybEkby/qiLS3J9mYCmc21v50NOmOrS6+c +lE3LvfsZ/5FTfcjtPRKofvtRGQ7RQ6dolGyDpueeUQH+xpuZeuRvvGmBlPAXtpjcKxn HT/Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si726054pgp.442.2018.02.15.00.39.25; Thu, 15 Feb 2018 00:39:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755343AbeBOIiz (ORCPT + 99 others); Thu, 15 Feb 2018 03:38:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:57962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755222AbeBOIiw (ORCPT ); Thu, 15 Feb 2018 03:38:52 -0500 Received: from localhost.localdomain (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 735F8217B6; Thu, 15 Feb 2018 08:38:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 735F8217B6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=kbingham@kernel.org From: Kieran Bingham To: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Kieran Bingham Cc: Laurent Pinchart , Simon Horman , geert@glider.be, Kieran Bingham , Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 6/8] arm64: dts: renesas: r8a77995-draak: Enable DU Date: Thu, 15 Feb 2018 08:38:21 +0000 Message-Id: <1518683903-10681-7-git-send-email-kbingham@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518683903-10681-1-git-send-email-kbingham@kernel.org> References: <1518683903-10681-1-git-send-email-kbingham@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kieran Bingham Enable the DU, providing only the VGA output for now. Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 51 ++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index af07da240be0..668e246dfc5d 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -27,6 +27,38 @@ stdout-path = "serial0:115200n8"; }; + vga { + compatible = "vga-connector"; + + port { + vga_in: endpoint { + remote-endpoint = <&adv7123_out>; + }; + }; + }; + + vga-encoder { + compatible = "adi,adv7123"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + adv7123_in: endpoint { + remote-endpoint = <&du_out_rgb>; + }; + }; + port@1 { + reg = <1>; + adv7123_out: endpoint { + remote-endpoint = <&vga_in>; + }; + }; + }; + }; + memory@48000000 { device_type = "memory"; /* first 128MB is reserved for secure area. */ @@ -46,6 +78,11 @@ }; }; + du_pins: du { + groups = "du_rgb888", "du_sync", "du_disp", "du_dotclkout0"; + function = "du"; + }; + i2c0_pins: i2c0 { groups = "i2c0"; function = "i2c0"; @@ -95,6 +132,20 @@ status = "okay"; }; +&du { + pinctrl-0 = <&du_pins>; + pinctrl-names = "default"; + status = "okay"; + + ports { + port@0 { + endpoint { + remote-endpoint = <&adv7123_in>; + }; + }; + }; +}; + &ehci0 { status = "okay"; }; -- 2.7.4