Received: by 10.223.185.116 with SMTP id b49csp1754758wrg; Thu, 15 Feb 2018 00:41:35 -0800 (PST) X-Google-Smtp-Source: AH8x224gv+R7bpNuEgVkcBG4J6eHjFhH8Ypx4lm0sI0nuiXPvertCBeEMUU8EagH3BGiLKJAsyTQ X-Received: by 2002:a17:902:2cc3:: with SMTP id n61-v6mr1829180plb.440.1518684095839; Thu, 15 Feb 2018 00:41:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518684095; cv=none; d=google.com; s=arc-20160816; b=fTLIaPFL/dY1x4zoW9pgMBNc8JNOTJ8KtTcLIGsDXiu71rtOwN/N0CD1Rp0UE8oLC1 AYGEvx08Tj8p/Ds/vBL8YHrnMxnZYoxIMfPeJ1vb/IH0chp44wjQtBemUWUxpDuhhg+S nw6kRU5CZj+5nnCj26+NMpc0bhFUD/FCuqr5siKeaY9xzLbJfuQtsvfIdaAmqO7tX9ZJ Sngjx+rUf+3Au3lWhlcw0y28dC/PPk4yZD42+ufIulfIGIHmGz0o6aHMvJ/OpxllkMNg AL84XnM61ESN8JI6XbqHGW706FaZXLc+xOCl8MrPHotNK50Mv8mVuAjyGgnsOST4KF8q wBOA== 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=ounxuftKkWfYyb1MmIiwhOGJ9+wzBJvprbDNLmQxAds=; b=hjWFp9y5s7XLpJ3dBM0tH3kkYTOnGDc3LDcUtNP8wf0Kiil37Z3Tew/y+mtsSOSRKx wiLaJXXwu2oe+L1ZdfWxS6I+HHBx7JsmH1vsu6I4zV6L0qdNAQo5QWSaT/uPu6POgn6j qzJBleXC1/6MLx0dxLkgt6zbl6Thjdy0IcmlqHUcewQlUMrroDqO/zOE52cy5nD9Rjdv M9TR1NUNySWwUo/5ajPeGkADpH+MeBc6/l+ZrCW9S7KvgTCZRK4lgAQF4ZMMl0/uaNT/ MyK8nOeFpW1OSckTi01ySq/gGKVM3jap3QJ+qQw2nx1eP147JXtHht/Gj4R1z63pnT7E racg== 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 d9-v6si1194352pln.115.2018.02.15.00.41.21; Thu, 15 Feb 2018 00:41:35 -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 S1755327AbeBOIiv (ORCPT + 99 others); Thu, 15 Feb 2018 03:38:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:57932 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755293AbeBOIit (ORCPT ); Thu, 15 Feb 2018 03:38:49 -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 52F3021776; Thu, 15 Feb 2018 08:38:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 52F3021776 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 5/8] arm64: dts: renesas: r8a77995: Add LVDS support Date: Thu, 15 Feb 2018 08:38:20 +0000 Message-Id: <1518683903-10681-6-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 The r8a77995 D3 platform has 2 LVDS channels connected to the DU. Signed-off-by: Kieran Bingham --- arch/arm64/boot/dts/renesas/r8a77995.dtsi | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi b/arch/arm64/boot/dts/renesas/r8a77995.dtsi index a57d5fecf79c..7851e37cfff1 100644 --- a/arch/arm64/boot/dts/renesas/r8a77995.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77995.dtsi @@ -773,18 +773,70 @@ port@1 { reg = <1>; du_out_lvds0: endpoint { + remote-endpoint = <&du_out_lvds0>; }; }; port@2 { reg = <2>; du_out_lvds1: endpoint { + remote-endpoint = <&du_out_lvds1>; }; }; }; }; }; + lvds0: lvds@feb90000 { + compatible = "renesas,lvds-r8a77995"; + reg = <0 0xfeb90000 0 0x20>; + clocks = <&cpg CPG_MOD 727>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + lvds0_in: endpoint { + remote-endpoint = <&du_out_lvds0>; + }; + }; + + port@1 { + reg = <1>; + lvds0_out: endpoint { + }; + }; + }; + }; + + lvds1: lvds@feb90100 { + compatible = "renesas,lvds-r8a77995"; + reg = <0 0xfeb90100 0 0x20>; + clocks = <&cpg CPG_MOD 727>; + status = "disabled"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + lvds1_in: endpoint { + remote-endpoint = <&du_out_lvds1>; + }; + }; + + port@1 { + reg = <1>; + lvds1_out: endpoint { + }; + }; + }; + }; + timer { compatible = "arm,armv8-timer"; interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, -- 2.7.4