From patchwork Fri Dec 3 16:54:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1792 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4C0073F1CD for ; Fri, 3 Dec 2021 17:54:54 +0100 (CET) Received: by mail-pj1-f70.google.com with SMTP id mn13-20020a17090b188d00b001a64f277c1esf4361742pjb.2 for ; Fri, 03 Dec 2021 08:54:54 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1638550491; cv=pass; d=google.com; s=arc-20160816; b=yTzDYe+P8eb4I8YV8eNDmAFDzlx5PuJwWxMMUBhl+ONxNPLDSjQ7dvnH0VNIINwxK2 KY5R3xuLdoXR14AHhcYF1+sSQ3k6zO4v4g+qoy5fkNSdnc9t5wDicus1GJPfbSdol7y3 MxfXtrhcObFzjkNPgbm7JzMHaNbkds5HOm3UvCG94TTgGSebcM6YL2thpUaQhhDf3ax/ N7g92iD0LhSPlcB35R4nhIElLfTsu3l+aAq+9ECiEh0Ey0g2ff4QFOEtLawXlwo1n0CE HUZQq0zFmuWP6kU6/V9WrKiEV+FtxJmO8IjLlO5F9VGFXlmnTQf47RHZ32qoye8Na+Bf LKgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:message-id:date:subject:cc:to :from:dkim-signature; bh=tAaS73lccKRINJmaVLqtZrsQyiYLzUTMVc/XRwoVp4E=; b=oDSaID+zpwPklibIHmMN1KeRtpfrZXSPezLYMz/lZ63fSuTTJsINQypoqZ0QreTu2X 8mpbjQtPpmrs/W+wZ5ozw7Cz2nO4WU7917qT3QBEtbyPhdwbcgDQfCVglHAIqoZXjtWH FGqZvIZ7wIAKCCFrgvNSlqftcmwlO0LmASNjjwvas4p2eH/eqEYxrTA8VvWddOEJZpxP F9AHbsvFx+9eS87I1ATk/leIP4j9AKWY+03Od7S7ShX17TWtv5+5v4VBKQ13Bo+LfhrR D5PY+dGKOjSMoZrNcIgBbCp9vc6dNEvKXrB7N0UDyF+XKdWK+QJcbFNjlwoDZgdf1+Jo m5rw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ooGW6c2J; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=tAaS73lccKRINJmaVLqtZrsQyiYLzUTMVc/XRwoVp4E=; b=bc/o1BDof/+kgyI9B5saecFcLf5uUDEAIGxpRbjPrq4vJWdkMwLPjPl5RSHSSvzY1M XgIUYyMLSpFYsAknonMlcPmSfoPSeRryzqKliyXhhB3adPwZl4qUwLv+7gSYXrwTcrZH S+t8X75nLCJpMwnA5tpMsYLCQ/60eQb4JijCk= 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-unsubscribe; bh=tAaS73lccKRINJmaVLqtZrsQyiYLzUTMVc/XRwoVp4E=; b=d+Rjt+IYnborX9STeaSeujah5qb22OAB9kHloYpwCI9Fk66S3JW7JDpdo6qbXH4OEo EA6/IMBunFeLGoRW8z67hnas/xtQyvuMWwqJefhidInYPF+hwVmI3Pqhw0NYLxasPoJY flRkYL4Y/pqvcJCxsx+5KmzKsVvfXYpQOYmzhzGlJLkmhkIYt860MW6jy67wqa3T4SWn osUNNBA8mMTR5JGfvO0jucPLiuLIGeEL4Nv1xs+t7oW5bXNXNvSPSLvBzeAgZm1LdUIc ZFtLnZqPFvYZPGrB0aKGdm9leFxljArBiLxVTgbxVDt7uARdW8BtFKOiKuYG6PDWEoa5 QrCw== X-Gm-Message-State: AOAM531ttdCGg6uEtGmZNWCZN0KAfWx2u4MX1stPRV+iSKRJ4rmRdQib On87eTjTfxjBMuQyKmoPcl1Hpd5/ X-Google-Smtp-Source: ABdhPJw6j9pcgxXd5jOXcWz8qemLJtLLSVBj2K9ZgplNsB3aWe+qtkDswChEJoilUy2N9LJdEpr8+g== X-Received: by 2002:a17:90b:1c8d:: with SMTP id oo13mr15651089pjb.239.1638550490109; Fri, 03 Dec 2021 08:54:50 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:6002:: with SMTP id y2ls4566814pji.1.gmail; Fri, 03 Dec 2021 08:54:49 -0800 (PST) X-Received: by 2002:a17:90b:380d:: with SMTP id mq13mr15562762pjb.110.1638550489366; Fri, 03 Dec 2021 08:54:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638550489; cv=none; d=google.com; s=arc-20160816; b=NfQmE029ecSph857yVqxc4e5nY1QIqX4Av8f+FZ/VrdmSFFokMYs9z1Kg1ANzFLf9w L5Ui8xZHNVk4woYoR0hUt4KeN9MFb5UlWEmifAh9o0CQhvshr2rQy0IbapdNiTYUIwH7 w6LOocrG8wO7TiwT6Al/zjODGoY1EY4N7odPmQi5OZGd145fQV2Za4bi3HyHOvm5Dnyn x7Dst2lZ+HQ+vMTEI2Ig16OcKZJMynXiIspK+h1phR1iPMnv5vpboqT143Iq4YXoXjyA 8v884r+m7b2htsL4DHwr6JAROOOQYcIPwXEx8RhZPzVzoX7EMqXR3OPk+wHnJL/ZZ+Ba a7uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=UA3ii36hU7CdFEgS88eAZUCDHAYVIn1jZ23qtSJM4UQ=; b=wKaI2uDoj7pDu+8NwGFkBYIAOYVOD4bGdOyEyJQMocORGBGbhkPrLYjrMrDslJto47 qEddXBJZfRznC1lotEKpDc+/9WMfjzCr/rkxtcMmz73bnwv8wLjpW/iYT2qHH/BhNNnJ pT4nR4ecJjtYrztnHhM0KPKBZrgtiqnh0G5UxB9bfVY4+TiJsY7i6AhADcAEBpwTlNUu dFY266J2ALBjNv6HKXvakxe4SpSRWV88UzM6k89ZJENKeoqMgtzVfXng7PjXE9Iqh4Rj lBdqtYseJgIYcG56FRbNyk4/tmpwUHW0VBVmeIP0OMvYVsi0qgrWn4WK6q8GclNW9fra +jTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ooGW6c2J; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id m19sor1539134pgv.67.2021.12.03.08.54.48 for (Google Transport Security); Fri, 03 Dec 2021 08:54:48 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a63:86c7:: with SMTP id x190mr5335423pgd.230.1638550488153; Fri, 03 Dec 2021 08:54:48 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:9d21:588c:4f26:8400]) by smtp.gmail.com with ESMTPSA id s72sm2783693pgc.69.2021.12.03.08.54.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 08:54:47 -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 v3 1/3] ARM: dts: stm32: Enable LVDS panel on i.Core STM32MP1 EDIMM2.2 Date: Fri, 3 Dec 2021 22:24:33 +0530 Message-Id: <20211203165435.8042-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ooGW6c2J; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- Changes for v3: - fix dtbs_check Changes for v2: - none .../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..a797eaa917b7 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 = <1 2>; + }; + }; + + 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 Fri Dec 3 16:54:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1793 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 0AA223F1CD for ; Fri, 3 Dec 2021 17:54:59 +0100 (CET) Received: by mail-pf1-f199.google.com with SMTP id i26-20020aa7909a000000b004a4c417bfa8sf2223397pfa.23 for ; Fri, 03 Dec 2021 08:54:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1638550496; cv=pass; d=google.com; s=arc-20160816; b=O2aPBxTIpXt/Fl5gQO4XXNVWlNW3Kqzxj4QOt0inwhEhAEW0jC/D7CtWYtGKViHDao fTp1JCGdl7q8TRKS9NeE/jd9VKWBEMrNu/k/gdwHFVFNoOEzHZQmKC7FUSHjhmbyEzQQ NQ97IXH+vtq579KRQxu9GZpeHfAa5wptwKLCzVMmLeiSl3ArhdTnvp/cg8FnOGaAg5dY qTj+fY5zCrI1nVVmljY3RHpnpj5wLuMlKwXHFW7zY4ntLb/JAoLQpWAqwhSOEZp+js06 MDBGHpI0eNgqRMixfws+zxglwng/nYHATdzbScusOfN3vfXG7REZ2bvjepaPaf0TLQAh ybOA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=SqtkqtfuSUf599HGEiWm+4vHJVXR2sK5f/zM2kNWs5s=; b=j4zjwSzTWOBWq7YwplVv4CXyV6c7OJE7b429UfsEmsbuZmMWfSrNt8sTPB912yJxYa pypeawwEdxwnL6JoNt07oH8/QL/8tPTp55JLL1Qb406VoHrQB+f5FdF6/3YewgaCLVx4 zisTdE5Vmpf1O5Q6/Z5UA2kyMCLhvthFvIp4RROEU1GaToxm1iRJ5Wl7eKjOUmX3br7E 8MrvhJofySEy3wZBVkasRvmp0hE8FH6A9skytoJlFUgwCy/wuzua9V1ZEP5UDSgrqs0y BKxnFTUAk1LXzWztCxadcD2v7VkxLStv5I3iuOjw3zJ71bHezRtIzNDtVqLp0PWt6aXi PSGA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p1UDPhfr; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=SqtkqtfuSUf599HGEiWm+4vHJVXR2sK5f/zM2kNWs5s=; b=qqAXogChZWyR3rvPF+btUZxzQ0fU8KGmx6Kkl5hTjikQK9qn/yc9cWjk6mhvIR7lAO TKkLTSN6+6yMVVLyoZcEgGWCxdZf4Iqrb2ItCKQct2EIRlbI1jyoq5hUPRkrcKnCo4Qe kwgo2u48l7c9of6A4p6vzlknITtsNAav3bfyY= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=SqtkqtfuSUf599HGEiWm+4vHJVXR2sK5f/zM2kNWs5s=; b=r7jRQ7U2ooytzCBt+aDv2bSReNKce9VMbAAAA+d+ki6CGjjJbSheH/rAG3NkJUjEZa bC2rEeIxPKia8yI1UJZgludPHDAJ9F+CyfMKxIj8bUDfbrHs6x+QXSCeX4UcRSYYzBoh dWSXKP/BjI7NjNUxh68nUZ+foJ45X44Qyo+rR7UO1zHfRXOm9gY2o86lgEePyVmesERg vm1CyTF9BJuxan4U7ykWuSG33f91A7rqf71Mm/8VGFmiEfexptLZC2m/vp+QC19rGkrE vcmsc+7nafv8byiIO56sbTrnC/ZtgN7yMSZWWkMf714knO5QK106CJvlAJSuDcVzvAT3 3UlQ== X-Gm-Message-State: AOAM5316ufHcrLC5fcQwIqauRVPHORS97rK0dZAtrVx0F64elknmCG0V 2q6DEX9+0fFor7yC8DzEL0HK4OkL X-Google-Smtp-Source: ABdhPJyWY+DLGxjXKJwkVwp7BM9eQ6vIOYkfHWYs4QadqXgdtla0L9FED0Sh9QbfZNtSiapCLOGhTw== X-Received: by 2002:a05:6a00:22d2:b0:4a0:93a:e165 with SMTP id f18-20020a056a0022d200b004a0093ae165mr20181180pfj.68.1638550496383; Fri, 03 Dec 2021 08:54:56 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:d6c:: with SMTP id n44ls3914427pfv.6.gmail; Fri, 03 Dec 2021 08:54:55 -0800 (PST) X-Received: by 2002:a63:1ca:: with SMTP id 193mr5424981pgb.88.1638550495729; Fri, 03 Dec 2021 08:54:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638550495; cv=none; d=google.com; s=arc-20160816; b=i3dnw3qMil3sxsxqAxcXrq0Ml3mpB2plmxC7izUUQK0GD7sJSgxVK2OCOCDBoaSpSl Z0xARDYmJOVGNrfro3nyQspDtJkUCtO/A+a49wD3EtxyH6ST0EiT9hp69TLZ1ZOvRzr4 930Qn5JfFdQz1iKqhd5kKtyFtR1CQz+xj54LOh3J3r0PmRsDrvbQFKrJJ8kAw1Iv3h0f xTCXvx7n29AGmxAerx2AJxTF8tNm+FiDfm6be/mmwcV8aAAxR3gMyjD1UeIyCHbdeBhY WTj3FlDu5gHlJp++TLx6kRdhvQT7/7w0HuMU8UnhzL9/luqCZ07pfnsozAtgwfb0JoD7 AJEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=isD7Q48pSZyTSxUPY+SX0kuqDdCvE+4V1M1EMjA4pu0=; b=QNCcx7yiGK53xwcaSk2abRsw/4plp9C6ODSiO+gcAddpV83azRk7gI2/osoldMR3yi yfBnfY+P4yORCQP0kt9/kOCUnCcRLbJXv5V/0uVrLyPF69+kAC5dKCioA/Fvwas8gOwE p5OAu8JCBUwstJzPf/hRgPp+g3qU0kHj0wkzRrFaqRiNaJ5/Kb0I4tXcs/iT2vK5tcaN 59e31Y1IFRWeml8EdaTZprrgexPQRms5CCRA1ImpFvf++DYB4FOXHtw+Qafha9rv4Y5B p1riqOlgrlUT+pb0aLBDJq+yzkxZCqQxankqj53iASxLowaO2eOvv8Xzo6glGkGVAUKq lG6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p1UDPhfr; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 198sor1535457pgc.69.2021.12.03.08.54.55 for (Google Transport Security); Fri, 03 Dec 2021 08:54:55 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a65:6799:: with SMTP id e25mr5362073pgr.293.1638550495475; Fri, 03 Dec 2021 08:54:55 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:9d21:588c:4f26:8400]) by smtp.gmail.com with ESMTPSA id s72sm2783693pgc.69.2021.12.03.08.54.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 08:54:55 -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 , Rob Herring Subject: [PATCH v3 2/3] dt-bindings: arm: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" OF Date: Fri, 3 Dec 2021 22:24:34 +0530 Message-Id: <20211203165435.8042-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211203165435.8042-1-jagan@amarulasolutions.com> References: <20211203165435.8042-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=p1UDPhfr; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 Acked-by: Rob Herring --- Changes for v3: - collect Rob A-b Changes for v2: - Fix line-length warning 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..b07720ea9611 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" OF - 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 Fri Dec 3 16:54:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1794 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E9F473F1CD for ; Fri, 3 Dec 2021 17:55:10 +0100 (CET) Received: by mail-pf1-f197.google.com with SMTP id b26-20020aa7951a000000b004a815eb3a3asf2243298pfp.16 for ; Fri, 03 Dec 2021 08:55:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1638550509; cv=pass; d=google.com; s=arc-20160816; b=D4Q9YEJqB8Fz1DZ71M2DwylThpzjXEHE/AiZUkJDdeGA9I+cAH9KsDmJwdxbc5/3qw nmIarzM6tJyUMBd19bqusB8jnHc6+4opUoxIcptVg4xrWImiXeaM02C50Umdgp0WUF0V jHCVN/LX4zXRaJfXY2CMvHHeKrkiiPsqvHUt8Dz6ogrGDlWnSlP+4JuEyWaIpPEWZ0zl Gy9Li7KbSO91yWkviQRsNWiH3W2r3CTMbtFlS/9TCI3O2oVLGimReqh0rkwUY3V3V1wS v2bU8x5Yc5o0J/gAsPpcBgzkxQDF1bLdMjMuJJ2cjfoPgTeZWg4iZhwPorvSm63Ek/S3 prAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=t1OegA6Y07R5howieZZcA6AA3Y0DtSkkmeNiDlc6r2s=; b=DRXgpvYrOw0QVnubeb1bVzmbOkHOMfBLuYDiByHb3cRvFxzSExZU688zs2eeoW5Gjk QjLYAzuZmx1qYUE40U0ZPVosV3NvOYlPBDfjxcPiwEvT3XGFGstHzd5woNiFkru28FwK V47b3L7rs8jQSQPXMX8obWFax96EfF1FaaT9UIZeh0N+jWYS2BiPxeCzFnx0RyRZoCKu vSkKLwyf4jf6K4NzVbfLMFH43VJrTN+tdqsMcsCk+incnct0EhQBDv/FT2Ohvf9gQMJc IrJ3WExBUovb0u8p470dIDgwwRhNW1MqvZHNgpRs2P39AHDmPn/VbkcdLRYtr4gVN+bW g3Ew== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fkDmK2/7"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com 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:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=t1OegA6Y07R5howieZZcA6AA3Y0DtSkkmeNiDlc6r2s=; b=cQLahsnfEh5YRbvbkatffAKH/CYu3NwIScpjoLX1awG5LPwQAXnhAHHzIabmQk9sqP i9MEcyvJD4Z25duxTs7tJ7t7qSAD5q3r6lGy3YvcLVcOGgnwuKAts6tG2dvkZnIkaq0F 8eNZ1YWoY2BQHL/XDN3TrjlydU83GUwsDP4r8= 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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=t1OegA6Y07R5howieZZcA6AA3Y0DtSkkmeNiDlc6r2s=; b=VwKr90eNo8MF2bKSDrGSw9+XAy3IzeS72c1dlG5uVOzTwNeVFfjLB2iw4iH9OetiD3 yCxHtxMJWfluSFRox18Z1t/8SuNStIbUiXx2RViT7PbgEobQl//TVFHtZwQb5K/8mM+k C64m+YxWYLywhJlrtnuPMxAnEIx5t9OD64VFcfbRnDHY6mG9yqFKx3In2IWwMQa3eZg8 jUaW3D6sMeIf7MTddnGbeZ7muFhQbMf5IYRuHddVZ+DV+X3397Ur21AsHXR5/XFhmffY g4p6sIHaY/qf2o+G+bfi0mmel8gBgMARuKjbHJrADQNOFWPNqqJp/6mxV7cQrc1bD59T bAuQ== X-Gm-Message-State: AOAM531yRi53KDg1LK22dGUZZpF+9imqvUYFQvt7ntFkHHMsxVV8uhXb Q6xyaI6YeMSZFioWspBooL7jRvDR X-Google-Smtp-Source: ABdhPJwtmXQ1yUuxHEJ2qR9h1Qg/QMRnFs2zlZ3djiodVLR0MKqB8P4u7Ahy4zz3zYFaE5sSmCoFbg== X-Received: by 2002:a17:902:c3cc:b0:141:be17:405e with SMTP id j12-20020a170902c3cc00b00141be17405emr23983018plj.76.1638550509358; Fri, 03 Dec 2021 08:55:09 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:903:32cf:: with SMTP id i15ls4934824plr.2.gmail; Fri, 03 Dec 2021 08:55:08 -0800 (PST) X-Received: by 2002:a17:90b:4a43:: with SMTP id lb3mr15480851pjb.222.1638550505957; Fri, 03 Dec 2021 08:55:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1638550505; cv=none; d=google.com; s=arc-20160816; b=blaXTyTyfknlUJK0ZIrCb/cEhgETaJdhzfZbvJGmsBbSAM+hlwif9bssOfQ0pgXUnp 0gI7tc04WVzaS9Su2o+/Hx9tasBfLY4WEgO+e5l8iq81w5K/kEhIngkQhuknaOtZjGUy HP8oYnIptgOLat8QWPcKQPYpUM4BqC16eq85LhBY0VNk+epSzJxgO79pz9as05fNygA9 EcxHD3Jes+WlDRI8yBFef1Ebe77OY4a5MnEHv7DMrGyhhnPsKWdF3OgzCe3kwR7PsmV5 aG28/R75yzg+kB1jc8EhkSwCvHMX4HnxyNuFCvK71NVie8oTQoTh4MHubsNCY4GNqwnh tFoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=TpS2YL61YHWZgUBV1xYwkCUo8ZrXNrqKv+qQZlMOcKU=; b=qXpztrhVwkjHclTytJVaFOux6vXF+K4igzLaLgPLvDTp2BBrihaZuWPhBBA/sM1Iy5 Mi1MHfAVWvCO7X1kgSTjrRHU2Ea5xxc7DUx20BY8qUF9uAcBFEx491MiVVrEGPyFSHnt Bw9gPUSEFi+YMSQvi2QdGT6gsvtXmn9NwhUQ6r/tpL0GXSc2M5zhBc+5ED3R3IthnlC3 6oQYPOXFmsHq8sN7aEHjMnDzIOMFcFRhYbex6KtP8np9Qfm63S2O3MUweR6L9/5bXDv1 tK387S/bD9Hv3Pj2O0M9knPnDKRYgt1amAkTUnLoekEo1XUpnvUDPlL6LHZ+jezl8mZN b+AQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fkDmK2/7"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id rj8sor3808471pjb.33.2021.12.03.08.55.05 for (Google Transport Security); Fri, 03 Dec 2021 08:55:05 -0800 (PST) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:90b:4b04:: with SMTP id lx4mr15463297pjb.11.1638550505453; Fri, 03 Dec 2021 08:55:05 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:9d21:588c:4f26:8400]) by smtp.gmail.com with ESMTPSA id s72sm2783693pgc.69.2021.12.03.08.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 08:55:05 -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 v3 3/3] ARM: dts: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" OF Date: Fri, 3 Dec 2021 22:24:35 +0530 Message-Id: <20211203165435.8042-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211203165435.8042-1-jagan@amarulasolutions.com> References: <20211203165435.8042-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="fkDmK2/7"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- Changes for v3: - drop redundent commit details. - fix dtbs_check Changes for v2: - none 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 8a2dfdf01ce3..47878c1e878b 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..2a2829283456 --- /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 = <1 2>; + }; + }; + + 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"; +};