Received: by 10.223.185.116 with SMTP id b49csp8993272wrg; Fri, 2 Mar 2018 11:23:59 -0800 (PST) X-Google-Smtp-Source: AG47ELsht8ASqgUG7QKunUgk40bN6VfmlVOh8X1nlj/n4FlOF6kTrHe8MV4EP5wgt7nBHoWM3bHF X-Received: by 10.98.72.10 with SMTP id v10mr6642734pfa.148.1520018639163; Fri, 02 Mar 2018 11:23:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520018639; cv=none; d=google.com; s=arc-20160816; b=PzZndSaNWVp6IqvGv8Hx42cMg7tPY5c1875EwDMNYQ5lRET1LqLMd7B3dOhRByNbiw f+q50DRiWDRJAcYmcdMFhDczvuZAoVn1/LInU6TVxxdzrJDyiwDkJXwQcG2IgH+p3E4z dB4vS5mRvoTyOansYuriTWyizZKotug9AvavN/5Bcx5R5bgQind8YpR+xltbT63N4OqU DoRIi2DIkyxkJ2TidHjX7VBFVEAVDc5Sxix5cVbo+DH87JtBUaNa+zpMCEoAxt68zTgG qvrbLclYYtMWLMc1ukwhenvr1zcDjfQsW0mmCxhTf11ktZdLBHCheUU+87LOgguKnz8X xoUQ== 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=OY81cDqVyZ9+9Dc7DsEZcRPTm7OABZMcEUory5E6TSY=; b=Kp0ZUnWIncUg0hRtFyHZ8LiJoWMYQtStKkkwcjaSU6lgkclTavFerzu1414wPGoTGw YwC1xUY8YnpX6d5usM87MRx4/DcBmkpZ8hWr3+qNYEMLyT0Py8Yhtrv9csrPdpjuSPwk anqBAtbeLy8ldgMq2EV/S4c0/JoyNtkdFBQgCcc3rVvHEMV+bcdMjc8LBVgvjN7oGBO9 UBeCIah1GdKQcuM73lVpYAEpsuKgv/VyTPl32BIcPI4ayrPfmX9RItgNiWkw3vweyqtp YpWEKszKoW0whHIkPO2Ll9OvOzZalVLUDdM2Zb2WC+OsMAZMASK2WPIjF/u8KJs0/LXo buCA== 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 v22si4372894pgc.724.2018.03.02.11.23.44; Fri, 02 Mar 2018 11:23:59 -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 S1422700AbeCBPo4 (ORCPT + 99 others); Fri, 2 Mar 2018 10:44:56 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:33833 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934173AbeCBPor (ORCPT ); Fri, 2 Mar 2018 10:44:47 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w22FiO1o022136; Fri, 2 Mar 2018 16:44:29 +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 2gaytjhuw5-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 02 Mar 2018 16:44:29 +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 223E031; Fri, 2 Mar 2018 15:44:29 +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 F128F1136; Fri, 2 Mar 2018 15:44:28 +0000 (GMT) Received: from SAFEX1HUBCAS21.st.com (10.75.90.44) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 2 Mar 2018 16:44:28 +0100 Received: from localhost (10.201.23.68) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 2 Mar 2018 16:44:28 +0100 From: yannick fertre To: Vikas Manocha , Benjamin Gaignard , Yannick Fertre , Philippe Cornu , Patrice Chotard , Patrick DELAUNAY , Christophe KERELLO , Archit Taneja , Andrzej Hajda , "Laurent Pinchart" , David Airlie , Brian Norris , Bhumika Goyal , Gustavo Padovan , "Maarten Lankhorst" , Sean Paul , Albert Aribaud , "Simon Glass" , Anatolij Gustschin , Thierry Reding CC: , , Subject: [PATCH v2 09/10] arm: dts: stm32: add display for STM32F769 disco board Date: Fri, 2 Mar 2018 16:44:10 +0100 Message-ID: <1520005451-23217-10-git-send-email-yannick.fertre@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1520005451-23217-1-git-send-email-yannick.fertre@st.com> References: <1520005451-23217-1-git-send-email-yannick.fertre@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.201.23.68] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-02_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the display controller, mipi dsi bridge & panel. Set panel display timings. Signed-off-by: yannick fertre --- arch/arm/dts/stm32f769-disco.dts | 71 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) diff --git a/arch/arm/dts/stm32f769-disco.dts b/arch/arm/dts/stm32f769-disco.dts index 59c9d31..82985b9 100644 --- a/arch/arm/dts/stm32f769-disco.dts +++ b/arch/arm/dts/stm32f769-disco.dts @@ -42,6 +42,7 @@ /dts-v1/; #include "stm32f746.dtsi" +#include #include / { @@ -264,3 +265,73 @@ bus-width = <4>; max-frequency = <25000000>; }; + +<dc { + status = "okay"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + ltdc_out_dsi: endpoint@0 { + reg = <0>; + remote-endpoint = <&dsi_in>; + }; + }; +}; + +&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 = <&gpioj 15 GPIO_ACTIVE_LOW>; + status = "okay"; + + port { + dsi_panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + + display-timings { + timing@0 { + clock-frequency = <32729000>; + hactive = <480>; + hfront-porch = <120>; + hback-porch = <63>; + hsync-len = <120>; + vactive = <800>; + vfront-porch = <12>; + vback-porch = <12>; + vsync-len = <12>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <0>; + pixelclk-active = <1>; + }; + }; + }; +}; -- 1.9.1