Received: by 10.223.185.116 with SMTP id b49csp1029697wrg; Fri, 16 Feb 2018 11:06:37 -0800 (PST) X-Google-Smtp-Source: AH8x2275GeQ/983p9E/81wc+aH8zW99PBLuC31fNV+ALFWuSuj7K3xJPcnmrIAXpZOGIVYbYX/JZ X-Received: by 10.101.101.84 with SMTP id a20mr5999839pgw.163.1518807997507; Fri, 16 Feb 2018 11:06:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518807997; cv=none; d=google.com; s=arc-20160816; b=rpw9/jZzvMyqcyxaszxZCF2c2oLeLya8I2mpEGlfC6RobfhHbb97s/1/Mm9bovrvhD 8kNXjrCVVhVbSlda8JIVAGLu/YEtEspgA++tWjO5H7wf+klgpfpHcUjZbr0YyyVGGzhQ dUCOpngoJAYAmuGZuiDA86Di4d24ESNRb2MDIqxaAvofyU0G/nMKn2++bWREHXZnZecg XeqXS4dSH/m7xkT90y5Hla+isNmsUspZgyfRA3b3RRZ2RK1FyQ2TcX9ihQbMKy9Lz6Qh nShUtF3bUqSAfEJWN7ipbMLLU3V+8RxuqrBP1lPYLGc7JTFbsi8NBh4Lvzt7z/SlBwrW Udgw== 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=ABjwLkrOajle3cT+luijHf9S2Q5hVliGmein2UNA+Ns=; b=wN7tVMV2qNFtoVIDyP65fZpJvUMQA1ICZdxunV/8mJC4W+IZvXt9YE0PnZdgSCotwR XdJ74LinCLjRcvIzK0W5GrO0DI4vb/7vwbpBuVH32oQrsu4bkxrq2wxj0gNcC65hpmQl 2YQmSm/nTlhXVOCBFAVrN4NZUuCLSAWkgnZv3034GedotkW3ZVZ4o1evCs13XmFS+env R0Wg1W3bZfzuG2TVwvtqs62pjrCTfczF2h0STQHJKpUhQg2p4ZsmXIa7l8zVJB3qFxUt c69GaFz62CIRZViI+ZPPuzTAqjHFWdmnvJXpmsTffNLpllAyywPxKXSGGn4qhJ666tdl 5NpA== 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 s26si1996456pfg.264.2018.02.16.11.06.22; Fri, 16 Feb 2018 11:06:37 -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 S966603AbeBPMcu (ORCPT + 99 others); Fri, 16 Feb 2018 07:32:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:54196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966392AbeBPMcq (ORCPT ); Fri, 16 Feb 2018 07:32:46 -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 4B16B2175C; Fri, 16 Feb 2018 12:32:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B16B2175C 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 , Simon Horman , Laurent Pinchart Cc: Kieran Bingham , Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2] arm64: dts: renesas: r8a77995-draak: Enable DU Date: Fri, 16 Feb 2018 12:32:35 +0000 Message-Id: <1518784355-17272-1-git-send-email-kbingham@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518683903-10681-7-git-send-email-kbingham@kernel.org> References: <1518683903-10681-7-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 Reviewed-by: Laurent Pinchart --- Just a v2 update to fix the PFC name, and collect Laurent's RB tag. The remainder of the series will likely be postponed due to dependencies on LVDS changes etc. v2: - Update du_dot_clk_0 name to match Ulrich's PFC configuration. 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..37025251078a 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_clk_out_0"; + 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