Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5117552imm; Tue, 21 Aug 2018 06:36:27 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwAy3/+Ly+l0MWG6q72zXg97lBPNYUvOalznSS7F+nke3tmA2aoVlyQ8lXd91xk+0IVAC+m X-Received: by 2002:a62:fd06:: with SMTP id p6-v6mr52465191pfh.167.1534858587485; Tue, 21 Aug 2018 06:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534858587; cv=none; d=google.com; s=arc-20160816; b=JR0l0qVBwrYHMqgawk5xQW0R+IoaBYlCvZJgBVH5DIQbPvxP5rf/zFa1r8iHUZekrY 9L7ZA+Dw9KFiaUITGUwGJaWKsbSeemnLDuLENIyeB0ulTZCXEQsYKpuhNgqpfFLle+ql l/gwuyRuaGyM9u1oluAsRt9Ppy0fxkZSx5h3G2/uSWMQNzewtkTbYk4LeZNRYcBgebC5 Q7ER6WyPAjQD8L9Tqw1mpA+2yUDQWER0HKLGTuCa8yJPUbgopZiv9zi2nELSqTqbwwWB G/9ErroUwI7qkaqcoMQWDw5iGH0sqiSFrOARuJ3jma4ULCLiqku4QMPVfabIZBJN+t20 t7zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=xgi284o8PuKFTSM1dY46vK/vvwe75uNVRfMXHfWDErw=; b=JDMI9e/sYZoR+RZEb7bedllVRkgUtDA2d2in0a6dxNl0NUSis4n0L7pVCveU/rGM2R 9viobtMIXG19hFeLhibc/70TVcBxCUI7je9+8iU0A/Oz9kJXLyWmwg6mEztSlBKZmBce jYA697tsmDy7zfbdxzjqJZqblhsKggQQhYS9teIMGzst37WZCo8U2ERmVwOPHjohO4dT i+Rrt/BkUI1L3FoaQ5/S7k4z35taH5O1eKW339dXB74hvBJoQFJL5TxoIsVeFlzy8UOw +HKtaqbQ2zrzt9jwLF0f6rC6n2UzlnpbvP/p9kxzw45SVmGaQG5TJ/EVy3dZJwrOkyx9 hPcQ== 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 n13-v6si13849818pfd.50.2018.08.21.06.36.12; Tue, 21 Aug 2018 06:36:27 -0700 (PDT) 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 S1727545AbeHUQSt (ORCPT + 99 others); Tue, 21 Aug 2018 12:18:49 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:50171 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727159AbeHUQSt (ORCPT ); Tue, 21 Aug 2018 12:18:49 -0400 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 w7LCsD8Q023284; Tue, 21 Aug 2018 14:58:40 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2m0etjh9hh-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Aug 2018 14:58:40 +0200 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 2054A34; Tue, 21 Aug 2018 12:58:39 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas22.st.com [10.75.90.92]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E74405690; Tue, 21 Aug 2018 12:58:38 +0000 (GMT) Received: from SAFEX1HUBCAS24.st.com (10.75.90.95) by Safex1hubcas22.st.com (10.75.90.92) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 21 Aug 2018 14:58:38 +0200 Received: from localhost (10.201.23.97) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 21 Aug 2018 14:58:38 +0200 From: =?UTF-8?q?Yannick=20Fertr=C3=A9?= To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland , , CC: Benjamin Gaignard , Yannick Fertre , Patrice Chotard , "Philippe Cornu" Subject: [PATCH] ARM: dts: stm32: enable display on stm32mp157c-ev1 board Date: Tue, 21 Aug 2018 14:58:36 +0200 Message-ID: <1534856316-30346-1-git-send-email-yannick.fertre@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.201.23.97] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-21_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable panel raydium RM68200, DSI bridge & display controller. Signed-off-by: Yannick Fertré --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 60 +++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index 372bc2e..cd9062a 100644 --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts @@ -6,6 +6,7 @@ /dts-v1/; #include "stm32mp157c-ed1.dts" +#include / { model = "STMicroelectronics STM32MP157C eval daughter on eval mother"; @@ -19,6 +20,12 @@ serial0 = &uart4; ethernet0 = ðernet0; }; + panel_backlight: panel-backlight { + compatible = "gpio-backlight"; + gpios = <&gpiod 13 GPIO_ACTIVE_LOW>; + default-on; + status = "okay"; + }; }; ðernet0 { @@ -46,6 +53,45 @@ status = "okay"; }; +&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_ep0_out>; + }; + }; + + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&dsi_panel_in>; + }; + }; + }; + + panel-dsi@0 { + compatible = "raydium,rm68200"; + reg = <0>; + reset-gpios = <&gpiof 15 GPIO_ACTIVE_LOW>; + backlight = <&panel_backlight>; + status = "okay"; + + port { + dsi_panel_in: endpoint { + remote-endpoint = <&dsi_out>; + }; + }; + }; +}; + &i2c2 { pinctrl-names = "default"; pinctrl-0 = <&i2c2_pins_a>; @@ -62,6 +108,20 @@ status = "okay"; }; +<dc { + status = "okay"; + + port { + #address-cells = <1>; + #size-cells = <0>; + + ltdc_ep0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&dsi_in>; + }; + }; +}; + &m_can1 { pinctrl-names = "default"; pinctrl-0 = <&m_can1_pins_a>; -- 2.7.4