From patchwork Thu Nov 11 15:45:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12692299 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CE98C433F5 for ; Thu, 11 Nov 2021 15:47:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46B9E611AD for ; Thu, 11 Nov 2021 15:47:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 46B9E611AD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=aRAsEWLMXI3i+vAyJ60tyPOwsi/fBFa6vvcO5hS7+g4=; b=gfiB7NkhGeQQ4F tfyI1U962rfGTAYkyiIRCHXZt77CSfvqTIgd4AuNScLoyqpetzceqjvyVwydK6cIs0FkHegVhBb3b VJQz3hgJjcBdKjuibWmF90VvE1ql/FhdNGJEPDLZQSR0FJAFrHWVUvrHUfluKua2iOzQbJcp/uMgq M+MDT+ShnJ99dfgrHo/9jF3D1vJWKA7RBUq7pmIVI3w/v61z151jaYM/jrLXgyxZHFDYxzQVCEsgR EDyCa+FVn6DLgi9/P6KmKAEz3oBy7nO4TJTmWsYRU3Y09H7xQma3kbi2nA25p/Nx78JIlA18CTv1U WnbpTSeFyXc5rT1PqiuQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlCHF-008HWx-9g; Thu, 11 Nov 2021 15:46:13 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlCH8-008HUs-5F for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 15:46:11 +0000 Received: by mail-pl1-x633.google.com with SMTP id o14so6079718plg.5 for ; Thu, 11 Nov 2021 07:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IHt50f9mlyj2/SGCeb4ttMHVOWoii0nmE+uZwCQwvss=; b=pJ+aj0QcW5CArcwgJ/NlNf7LjHw/5Dte0pH8KK1eCFpa3e3bzsXEOjr0mZfAd97E87 wneccpy8j5SVG3wQuitDaYXf3q+k4h3nGJYGTDSsR/tMAZyDl4IFpSOQvlzkInw3kAR2 Md4gPyfxT+6FZ+yPkZo0DiItVLsxp4GaQPqB0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=IHt50f9mlyj2/SGCeb4ttMHVOWoii0nmE+uZwCQwvss=; b=aAGhw7Q5FWMvonFEQQqUaU9NJJ93VJdQKTZt6Xdqq4vRloDS+/n64X8y1Sw+WQ6TRi MyHI3UnQe+xGGRGpwIPvzSK6o5887f36AyBrUssgBciwu3cN12XSos5pHZMaRhm9cxqR nXVcA/4xby3/+sKqkzWbxLuklJA+fkp6rRL04uJ0jMeekNFyXbVJzz3ivWEAWVerEIkM nnHV8oIa0+DBdSJBmoR/A96Gi9XZAO7pNZQsoGSNN79M68kSu9f8hxNuS6yVaMOcrito UI6MK1MNymdV+SLEM9C6BixE+bLGBrlEdJ8HhzB05vqTCZdf60Os/VYznD1djBv8FRYu P7xg== X-Gm-Message-State: AOAM5329GdljQc97isnHym/bujoYze+fBW9OPTyqE0ZvnIK0YeLEr46m 1MWeKfNEOOm7zc6I6XvXXeANWV+VEH/c1w== X-Google-Smtp-Source: ABdhPJxC6ZgyozJNOpUT/48/RGwMj3ZvL6O5TXHm+OR45a6ap3fs4/22wlkQl/SgvLOHLCzAQ+3q/Q== X-Received: by 2002:a17:90a:17a5:: with SMTP id q34mr27153922pja.122.1636645564865; Thu, 11 Nov 2021 07:46:04 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:3041:135c:4e21:846c]) by smtp.gmail.com with ESMTPSA id m15sm2782122pjf.49.2021.11.11.07.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 07:46:04 -0800 (PST) From: Jagan Teki To: Rob Herring , Maxime Coquelin , Alexandre Torgue Cc: devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-amarula@amarulasolutions.com, Matteo Lisi , Jagan Teki Subject: [PATCH 1/3] ARM: dts: stm32: Enable LVDS panel on i.Core STM32MP1 EDIMM2.2 Date: Thu, 11 Nov 2021 21:15:55 +0530 Message-Id: <20211111154557.852637-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211111_074606_370344_2F414020 X-CRM114-Status: GOOD ( 11.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit has plugged with 7" LVDS panel. Engicam i.Core STM32MP1 SoM has SN65DSI84 DSI to LVDS bridge. This patch adds a display pipeline to connect DSI to SN65DSI84 to 7" LVDS panel. Signed-off-by: Jagan Teki --- .../stm32mp157a-icore-stm32mp1-edimm2.2.dts | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts index ec9f1d1cd50f..d80b4415e761 100644 --- a/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts +++ b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dts @@ -24,6 +24,91 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&gpiod 13 GPIO_ACTIVE_HIGH>; + default-on; + }; + + panel { + compatible = "yes-optoelectronics,ytc700tlag-05-201c"; + backlight = <&backlight>; + power-supply = <&v3v3>; + + port { + panel_out_bridge: endpoint { + remote-endpoint = <&bridge_out_panel>; + }; + }; + }; +}; + +&dsi { + status = "okay"; + phy-dsi-supply = <®18>; + + ports { + port@0 { + reg = <0>; + dsi_in_ltdc: endpoint { + remote-endpoint = <<dc_out_dsi>; + }; + }; + + port@1 { + reg = <1>; + dsi_out_bridge: endpoint { + remote-endpoint = <&bridge_in_dsi>; + }; + }; + }; +}; + +&i2c6 { + i2c-scl-falling-time-ns = <20>; + i2c-scl-rising-time-ns = <185>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c6_pins_a>; + pinctrl-1 = <&i2c6_sleep_pins_a>; + status = "okay"; + + bridge@2c { + compatible = "ti,sn65dsi84"; + reg = <0x2c>; + enable-gpios = <&gpiof 15 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + bridge_in_dsi: endpoint { + remote-endpoint = <&dsi_out_bridge>; + data-lanes = <0 1>; + }; + }; + + port@2 { + reg = <2>; + bridge_out_panel: endpoint { + remote-endpoint = <&panel_out_bridge>; + }; + }; + }; + }; +}; + +<dc { + status = "okay"; + + port { + ltdc_out_dsi: endpoint@0 { + reg = <0>; + remote-endpoint = <&dsi_in_ltdc>; + }; + }; }; &sdmmc1 { From patchwork Thu Nov 11 15:45:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12692297 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2067BC433FE for ; Thu, 11 Nov 2021 15:47:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E04BB61179 for ; Thu, 11 Nov 2021 15:47:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E04BB61179 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uvMINUbUcuJ5/Mvx+KM7Ihx+LFLNF79Yp14W7McdmJc=; b=Uqp/8lQ3h39z23 2fYj0h64wuVoacXH3ExGVclGqjycf3HQjAQ5TqltC/qN0GSZdFdxhtkKzLIRzifsHKXOXxuNmOtU1 MtFW7XiLCJ+5+b8bvvTcgVdHIxxgJUASSdGt4FWd9uhF7YMvq+mlpd4rixhgD7VMQo7CS6cgsYhh2 VwqsfjX/vA6YdFB22TiHIwxBuhFtN5hM5lzUEQGJrHUMlx1yNDvP4gleoUZ3qIqe4PplWXhxh1UKD OgOFi2YdPvr7UUzmZvCYBSCF3QkYuP7ysXLBdzfS7QT80uZw0Q8bkLLjaCK1lR/Z2p/jxrlemmqNQ 79/M0mCtQqC1Jfy1xwOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlCHQ-008HYt-WC; Thu, 11 Nov 2021 15:46:25 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlCHA-008HVT-ED for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 15:46:11 +0000 Received: by mail-pl1-x633.google.com with SMTP id t21so6073467plr.6 for ; Thu, 11 Nov 2021 07:46:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XH4HtUz8oW0xzhVze5j7Kybwjbu7oDVLM7iF1rNAOBM=; b=l1ul0dc4fHtFQMBujyOWfT75JAyOGkrlGEHEEj1yOZDBB55DqcWknkLtB5UQlHN3Eo KK628YsJBJWi1pann0TjFFR4ZbUTuCstlKXntWOVhqxkjh/cy7zn8M9B37ucxoBg5lrE ehEIxozpyOn9V1/hgNaoZZMC72AoBFARRAbMk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XH4HtUz8oW0xzhVze5j7Kybwjbu7oDVLM7iF1rNAOBM=; b=Mycv2XyezXloCpfTNymeXNn59SGqARwznJOqI7TYjt0hgoO2jdxvy0+Oyb7gUfQnj/ 2ojaLPTrVoii45nUJiDOpwY+SE6ECeuSL2KeE2rBSuByO6yWrypz61VqpC2VEyTH6y+F ET9CE4Qn3GjQxEMwa68FaAPWC/oJUja8t6TxzXf6m8Gj4CJqZRWTUypg7VX50vlKEf98 f5OHsbyfiLs8sEnND5KJktfnkxHFj3tHfOGIQ33i7Fcz2dRET0r0z6+6Adeqr/navaqH ew/zyQNyxpMeFBykJWmULYSFBvZgr2zbrciFoD8vKyIGUHNUpZDoX37rji2AnytYt3kX yYMg== X-Gm-Message-State: AOAM533GkCi6VqmuSDGDLIIcLkJU5ly2C2gV/SI/eZbUOhWi3HF5l0A4 JwUI2kDmFVJT5bN922ASmZwhJw== X-Google-Smtp-Source: ABdhPJwTPiI9XvS4RwFxLLTvsnKMZ6GDcL/bbEwZMlMWhin+G7wV5HeZAeO3L3i6hza3lMdnQe7U7g== X-Received: by 2002:a17:90b:4b0e:: with SMTP id lx14mr26068293pjb.160.1636645568044; Thu, 11 Nov 2021 07:46:08 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:3041:135c:4e21:846c]) by smtp.gmail.com with ESMTPSA id m15sm2782122pjf.49.2021.11.11.07.46.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 07:46:07 -0800 (PST) From: Jagan Teki To: Rob Herring , Maxime Coquelin , Alexandre Torgue Cc: devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-amarula@amarulasolutions.com, Matteo Lisi , Jagan Teki Subject: [PATCH 2/3] dt-bindings: arm: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" OF Date: Thu, 11 Nov 2021 21:15:56 +0530 Message-Id: <20211111154557.852637-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211111154557.852637-1-jagan@amarulasolutions.com> References: <20211111154557.852637-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211111_074608_498498_492E0080 X-CRM114-Status: GOOD ( 10.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org i.Core STM32MP1 is an EDIMM SoM based on STM32MP157A from Engicam. C.TOUCH 2.0 is a general purpose carrier board with capacitive touch interface support. 10.1" OF is a capacitive touch 10.1" Open Frame panel solutions. i.Core STM32MP1 needs to mount on top of C.TOUCH 2.0 carrier with pluged 10.1" OF for creating complete i.Core STM32MP1 C.TOUCH 2.0 10.1" Open Frame board. Add bindings for it. Signed-off-by: Jagan Teki --- Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml index bcaf7be3ab37..d2dd3f1847bb 100644 --- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml +++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml @@ -77,6 +77,7 @@ properties: items: - enum: - engicam,icore-stm32mp1-ctouch2 # STM32MP1 Engicam i.Core STM32MP1 C.TOUCH 2.0 + - engicam,icore-stm32mp1-ctouch2-of10 # STM32MP1 Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" Open Frame - engicam,icore-stm32mp1-edimm2.2 # STM32MP1 Engicam i.Core STM32MP1 EDIMM2.2 Starter Kit - const: engicam,icore-stm32mp1 # STM32MP1 Engicam i.Core STM32MP1 SoM - const: st,stm32mp157 From patchwork Thu Nov 11 15:45:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12692298 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15EB4C43219 for ; Thu, 11 Nov 2021 15:47:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBD5D619E8 for ; Thu, 11 Nov 2021 15:47:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DBD5D619E8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=zZij3g801ALtZWUAYQm+/Gs+CX+Yn+TZ78okGTIbrLo=; b=Yv+rqEz3mj0x6J oOB1r5GNXCKpj2b5RWo0EzfzhpTPnTY4fgq3gSTXbpvHWcyM1+xlFGd97li+MzsJXy1rjHTLVBDKR /qn8YQiq4dBV8jXvHy6j95lYLADSIePCjXyMsDqhXjtvCL9AZg93acEI9yw2/yHTNmM1WW72pV+fg 3u9PJJQK/y5mdH/kOkj7ni2PrWWBxV2DWd7wAxQlXyOUKMWmnX/KkBu6rRnIh6/+DznvJc4vPBk+n yrykwPCAUXyZIn3Av+fvJPkVbZgxT20PHDDy7uYiZZvTq/5oFqN0/3GHsOL9CcdyESBovQlnOgv+/ w/ID/VI3KfXP3W6oUnQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlCHb-008HaN-0g; Thu, 11 Nov 2021 15:46:35 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mlCHE-008HWt-9l for linux-arm-kernel@lists.infradead.org; Thu, 11 Nov 2021 15:46:13 +0000 Received: by mail-pj1-x102a.google.com with SMTP id gt5so4452675pjb.1 for ; Thu, 11 Nov 2021 07:46:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gdTkR49a2fjsLz2HZrs6mipLH/WYyEV/YROuBEVCTvc=; b=TcRLIlJ+XSCZ39y/QjV+b+52OgxQtLsaIBvwAFO3+lLtP2b208pm6yoqMgAjSDP8gm 8+ZmRw6cQqpNCx/uFNKcZhBi1AebPoIf6PTP15mMGcUpuzhvbVqPnhHQ9N8wKNUq7J1x ZFAzMrRxQCjqHq8kFOEPCL7AQBmWl1sb82bKw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gdTkR49a2fjsLz2HZrs6mipLH/WYyEV/YROuBEVCTvc=; b=XO9bcr+7bACmNwKOJ/BQ/6y7ihKnyOLlTmELf9tzoFxHw4lR7ONT44nfym8qBwRw8K ZVFkJYzfSTDJIHrBjhlgs2igRZqz1zbgnDTNcJwDNaV+19AcYbrTY2TKlU2x5SE1TsM7 y9/KJkIDlv2a3p1CnFmlmwkchU6aAIHNo+oacXb8yCbnKE6KopDAROZlvTNP3ZNvgYS6 pVOq5OpHSpejhwWkhlWkTPySddp1/Cx5AcZUfNi6NfE9GvkV3CcW4b/Zq6OM+7CUoGz3 l9u+GS4QpqCZaQTsUiphOh98l9X6pkWWELIYZoAMe+7ShPCt23J14/s6929f1wwWT5uj rIpw== X-Gm-Message-State: AOAM531pfBcMoVr5TpkwxwPAz1uMDHkQBDOF+ztQ1E8I688oDfoRvicZ 2WyQc3+tSrQENPysOKPZw1Ynaw== X-Google-Smtp-Source: ABdhPJyKSFVtrhqu4iMD2tbs6mrsV3pZeqAmyazdKIQ4OxQiHBYF0P3har+ERDcfRZXS1g8Awncltw== X-Received: by 2002:a17:902:f24a:b0:141:c6fc:2e18 with SMTP id j10-20020a170902f24a00b00141c6fc2e18mr9195025plc.55.1636645571516; Thu, 11 Nov 2021 07:46:11 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:3041:135c:4e21:846c]) by smtp.gmail.com with ESMTPSA id m15sm2782122pjf.49.2021.11.11.07.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 07:46:11 -0800 (PST) From: Jagan Teki To: Rob Herring , Maxime Coquelin , Alexandre Torgue Cc: devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-amarula@amarulasolutions.com, Matteo Lisi , Jagan Teki Subject: [PATCH 3/3] ARM: dts: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" OF Date: Thu, 11 Nov 2021 21:15:57 +0530 Message-Id: <20211111154557.852637-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211111154557.852637-1-jagan@amarulasolutions.com> References: <20211111154557.852637-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211111_074612_372726_B8412DA1 X-CRM114-Status: GOOD ( 15.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org ARM: dts: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 Engicam C.TOUCH 2.0 is an EDIMM compliant general purpose Carrier board. Genaral features: - Ethernet 10/100 - Wifi/BT - USB Type A/OTG - Audio Out - CAN - 10" LVDS Panel (SN65DSI84 DSI-LVDS bridge on SoM) i.Core STM32MP1 is an EDIMM SoM based on STM32MP157A from Engicam. 10.1" OF is a capacitive touch 10.1" Open Frame panel solutions. i.Core STM32MP1 needs to mount on top of C.TOUCH 2.0 carrier with pluged 10.1" OF for creating complete i.Core STM32MP1 C.TOUCH 2.0 10.1" Open Frame board. Add support for it. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/Makefile | 1 + ...tm32mp157a-icore-stm32mp1-ctouch2-of10.dts | 132 ++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2-of10.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 0de64f237cd8..641220e970e8 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -1140,6 +1140,7 @@ dtb-$(CONFIG_ARCH_STM32) += \ stm32mp157a-microgea-stm32mp1-microdev2.0.dtb \ stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dtb \ stm32mp157a-icore-stm32mp1-ctouch2.dtb \ + stm32mp157a-icore-stm32mp1-ctouch2-of10.dtb \ stm32mp157a-icore-stm32mp1-edimm2.2.dtb \ stm32mp157a-stinger96.dtb \ stm32mp157c-dhcom-pdk2.dtb \ diff --git a/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2-of10.dts b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2-of10.dts new file mode 100644 index 000000000000..351be43b3d39 --- /dev/null +++ b/arch/arm/boot/dts/stm32mp157a-icore-stm32mp1-ctouch2-of10.dts @@ -0,0 +1,132 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (c) STMicroelectronics 2019 - All Rights Reserved + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutons(India) + */ + +/dts-v1/; +#include "stm32mp157.dtsi" +#include "stm32mp157a-icore-stm32mp1.dtsi" +#include "stm32mp15-pinctrl.dtsi" +#include "stm32mp15xxaa-pinctrl.dtsi" +#include + +/ { + model = "Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1\" Open Frame"; + compatible = "engicam,icore-stm32mp1-ctouch2-of10", + "engicam,icore-stm32mp1", "st,stm32mp157"; + + aliases { + serial0 = &uart4; + }; + + backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&gpiod 13 GPIO_ACTIVE_HIGH>; + default-on; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + panel { + compatible = "ampire,am-1280800n3tzqw-t00h"; + backlight = <&backlight>; + power-supply = <&v3v3>; + + port { + panel_in_lvds: endpoint { + remote-endpoint = <&bridge_out>; + }; + }; + }; +}; + +&dsi { + status = "okay"; + phy-dsi-supply = <®18>; + + ports { + port@0 { + reg = <0>; + dsi_in: endpoint { + remote-endpoint = <<dc_ep0_out>; + }; + }; + + port@1 { + reg = <1>; + dsi_out: endpoint { + remote-endpoint = <&bridge_in>; + }; + }; + }; +}; + +&i2c6 { + i2c-scl-falling-time-ns = <20>; + i2c-scl-rising-time-ns = <185>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c6_pins_a>; + pinctrl-1 = <&i2c6_sleep_pins_a>; + status = "okay"; + + bridge@2c { + compatible = "ti,sn65dsi84"; + reg = <0x2c>; + enable-gpios = <&gpiof 15 GPIO_ACTIVE_HIGH>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + bridge_in: endpoint { + remote-endpoint = <&dsi_out>; + data-lanes = <0 1>; + }; + }; + + port@2 { + reg = <2>; + bridge_out: endpoint { + remote-endpoint = <&panel_in_lvds>; + }; + }; + }; + }; +}; + +<dc { + status = "okay"; + + port { + ltdc_ep0_out: endpoint@0 { + reg = <0>; + remote-endpoint = <&dsi_in>; + }; + }; +}; + +&sdmmc1 { + bus-width = <4>; + disable-wp; + pinctrl-names = "default", "opendrain", "sleep"; + pinctrl-0 = <&sdmmc1_b4_pins_a>; + pinctrl-1 = <&sdmmc1_b4_od_pins_a>; + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; + st,neg-edge; + vmmc-supply = <&v3v3>; + status = "okay"; +}; + +&uart4 { + pinctrl-names = "default", "sleep", "idle"; + pinctrl-0 = <&uart4_pins_a>; + pinctrl-1 = <&uart4_sleep_pins_a>; + pinctrl-2 = <&uart4_idle_pins_a>; + status = "okay"; +};