Received: by 10.223.185.116 with SMTP id b49csp1741384wrg; Thu, 15 Feb 2018 00:23:52 -0800 (PST) X-Google-Smtp-Source: AH8x2265UCq9GfB8nm3XfA+VZoVLFKfwMwSLVwGowv6UecIsI60l9TR6yi1MKz3A9hNF4otyCmUs X-Received: by 10.101.87.132 with SMTP id b4mr1586221pgr.332.1518683031972; Thu, 15 Feb 2018 00:23:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518683031; cv=none; d=google.com; s=arc-20160816; b=twmNEW5kRtduABIju2ESaYnqONCAwg4bXoAtaaasOm/beTI/Ih9FkN1n9UgPb85CSG BeSpXZ9/8FgXktioXR3Xqc0dppUUC5RqX3vk8ZsEl4XMbFBqahDk4rZ/+zP47WM3PV6a PhkWB5zpfJxuT3FvLgIv9kOlDkZfnwcSNIstDqmqneIL5WfeRggKiMF65dGql9s67p+P 3mW6bQgqC2ZrxxiOryzlJ/rdbvySvrPe4cJD/bO3+xcL/iUN6fnIqp0gaLGHK3LR3xP0 15kPJwwfppO8JBubUt3qy8OFaGUpLfLgUeASKvV+CAmlW8wrd2/t6G0+dH2ueBgQcjCG 7Gpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=8/0CnYDl+tpvfRlxhGGkO09ytKnnDWB8Cvoa5FZieRk=; b=SFuuRdfEJ4OjKVGBnrZXXwyYP0Foat+kiOySzQjI0kUH8EBWXzntGZ9cAV1iS31AdI zaJwyVCO621zvp62yarLq+aZkRk4hYSG7YUXq9e+sR+6CxKJDIsI2MNADnf9wrVtJsL4 wo1sXcSBAy5dLcvAWLU9PaB0aPKtolfRP8+WQPyQzQTLd+SXov5z77WFSm08VIWNd77k FajXWq7TJr3IaHf99/5rDnASbLb7HmzkD7v13Q08wbOhFJ2wKURkP+xAwdVC0GqbgO2c U9TMomHwGHgZlgImDQr0ufA8+k4jfqVDqRLxFIU6WfYjJkus0ncwuuBq1RzRjcxoqg/F Ugyw== 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 63si955955pgi.596.2018.02.15.00.23.37; Thu, 15 Feb 2018 00:23:51 -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 S1755003AbeBOIVP (ORCPT + 99 others); Thu, 15 Feb 2018 03:21:15 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:42161 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754852AbeBOIVM (ORCPT ); Thu, 15 Feb 2018 03:21:12 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w1F8J2tJ018462; Thu, 15 Feb 2018 09:20:56 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2g22s061r0-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Feb 2018 09:20:56 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4F54B31; Thu, 15 Feb 2018 08:20:56 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2AFF42560; Thu, 15 Feb 2018 08:20:56 +0000 (GMT) Received: from SAFEX1HUBCAS24.st.com (10.75.90.94) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 15 Feb 2018 09:20:55 +0100 Received: from localhost (10.129.6.172) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 15 Feb 2018 09:20:54 +0100 From: Philippe Cornu To: Rob Herring , Mark Rutland , Russell King , Maxime Coquelin , Alexandre Torgue , , , CC: Benjamin Gaignard , Yannick Fertre , Philippe Cornu , "Vincent Abriou" Subject: [PATCH 3/3] ARM: dts: stm32: Add display support on stm32f469-disco Date: Thu, 15 Feb 2018 09:20:14 +0100 Message-ID: <20180215082014.30383-4-philippe.cornu@st.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180215082014.30383-1-philippe.cornu@st.com> References: <20180215082014.30383-1-philippe.cornu@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.129.6.172] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-15_03:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Philippe CORNU Add display support on the stm32f469-disco board. Signed-off-by: Philippe Cornu --- arch/arm/boot/dts/stm32f469-disco.dts | 51 ++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts index 7d53b794d27b..9bfb040e9909 100644 --- a/arch/arm/boot/dts/stm32f469-disco.dts +++ b/arch/arm/boot/dts/stm32f469-disco.dts @@ -46,7 +46,7 @@ */ /dts-v1/; -#include "stm32f429.dtsi" +#include "stm32f469.dtsi" #include "stm32f469-pinctrl.dtsi" #include @@ -89,6 +89,55 @@ clock-frequency = <8000000>; }; +&dsi { + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + dsi_in: endpoint { + remote-endpoint = <<dc_out_dsi>; + }; + }; + + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&dsi_panel_in>; + }; + }; + }; + + panel-dsi@0 { + compatible = "orisetech,otm8009a"; + reg = <0>; /* dsi virtual channel (0..3) */ + reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>; + status = "okay"; + + port { + dsi_panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; +}; + +<dc { + dma-ranges; + status = "okay"; + + port { + ltdc_out_dsi: endpoint@0 { + remote-endpoint = <&dsi_in>; + }; + }; +}; + &rtc { status = "okay"; }; -- 2.15.1