From patchwork Fri Nov 12 05:38:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1755 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 014A43F18E for ; Fri, 12 Nov 2021 06:39:07 +0100 (CET) Received: by mail-pg1-f200.google.com with SMTP id p20-20020a63fe14000000b002cc2a31eaf6sf4424890pgh.6 for ; Thu, 11 Nov 2021 21:39:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636695546; cv=pass; d=google.com; s=arc-20160816; b=yNyVYtJDsULevuRPs4wfpIfjTiOvlUANW8KgIW3uUq5s1tKXC82AdN7S+zbESlws09 2IQAbI6xAZwSEHCbb37+7PE9Bf5QznxoXsuU/wkOqbcTFTSy0eB9aL4GfQjVmHAY5WfU GbUHbPii0QrblZAEeGZqYtENG/S/dMhR9sUMzinDo7hqG/6VB/fSfhdWGkUsaPF9gwIS D7Wt3WbmaVnPMoJ4J6WB+SHTC6v5mNnDZnMeoV9zZ7h2nY/or62SkcggIhRoS3KCWq4U I3nYJhFiMAaHDktPkdB2ii11J4URTWb8PEMrejKrgKhUwPaZqLpRt/ECxdC003YeL9+c BfRQ== 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=W2WYLoQMQm2U2/fW9C/zen6zYlkMm9Et4xk3qsx5tmk=; b=tkn/bb4jAzRT//rl6XYf96EVjhe78zoJ7g5Tegw/PRrBF4X7wgQyFojdWOxvIj4/Kx IKxCMTXWPaUhAzYUk4tCg0lIgaF05fRYgCTzSEA8CiKu3RtK40rxbFTPq3KzVqAXmXBE 9yLcd7Xe90mCHMwabYaO2l04J1F+qFo7RZKXNl1Dxs+6e2K3rRiqNurYmH0LbkfUaMhB FhKtZRf9jt+r1MW7VE6dZaGj02z+MGDZQWQhNG7c1qkJHw3RoK6efiJo35ER0jU2K+e0 Wz2Ewr3hIqPpZ3Fw6raWC1s2lPka+eYcwXYY36WEwMtEvTb0bRp4/9XU3CPLot1pip+T a1wQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YbqZyz32; 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=W2WYLoQMQm2U2/fW9C/zen6zYlkMm9Et4xk3qsx5tmk=; b=W4irDMbVRdjDH6GhPW9D2ec2IMXDsdPSi6yB19eHuYU0l8sntGB19VtovzL/NqG3/G gLk/5+uZ3Sxr6P2gF9Uj/KXkP+B+Ct0kEHmPbEOLY5ScPeHYahSQp7zRAvPCaj8g7/Dw 12mZhQaxlcZrVirApk6CDscR/JQsOQ6CM7GDM= 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=W2WYLoQMQm2U2/fW9C/zen6zYlkMm9Et4xk3qsx5tmk=; b=8ER1eJ9XGLLcA2DFta1lyWrYHKjfkLJGnur15S5Cns+luAmlTTP+55vWc63hHwX4IH j84yuzgmFFbZYRU2mCxZ2ZiBTUeoLek9aQaOH8B6IwOMAiRMGKInCix7pbNUqf1HVI3W 5YOxbg4knWtCs+1RwFYgbeJR2KWVnj5armhip6XPjOifF/s+31Up4D257lmsynGyLkha garw8xuLLYF2Z9C0R1FFUIyhJCSb8Ikd6OMHYfPl3q1fBrPSGlMfd91yT55QSzRlLknE wlXQS1IZs0yqfSBgWpoAhloyF1U0aYFFSQVS5P/223QiZ5A6ZiuOZYV/lVS89OVyVo+7 4x3g== X-Gm-Message-State: AOAM530+abg6SA+eopy8H9hh+Xcol5Ea1Hi7Hj6Uc1VECjZF+Ib1p/Ez w6XAymSUdxw+WvUMHcMBeaTyhBq7 X-Google-Smtp-Source: ABdhPJygL1CmKK6I2zxOuItUiQXoscAif9PsnMKFU0G2C9MAVvFah2OeyD8mpQil9RfVSJF3O2wqFA== X-Received: by 2002:a05:6a00:1a01:b0:44d:af99:19c9 with SMTP id g1-20020a056a001a0100b0044daf9919c9mr11487291pfv.36.1636695546055; Thu, 11 Nov 2021 21:39:06 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:903:1c2:: with SMTP id e2ls3530008plh.9.gmail; Thu, 11 Nov 2021 21:39:05 -0800 (PST) X-Received: by 2002:a17:90a:2ec8:: with SMTP id h8mr31009569pjs.168.1636695545346; Thu, 11 Nov 2021 21:39:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636695545; cv=none; d=google.com; s=arc-20160816; b=G57hjArOIX5n9DkwgX6wyNLVCxXwF3XtV9aVN97IAayQoOR/fqoh0QDV98e8YQJWp6 uvkGYOQZLPrjyZAtJjjh4an4HvlQJnjeHsXkqS+itj+OjBr98ctboB8wKD1iwrhtq43N 0wiq5t2XW8smR4KEwdzNQ8MHtXDqIqBdO1BavSPq58Kf4gXb7ya3nEimcByE8U1XhFCA cB7kN1xEjx97QgiQ0uRj8Gij0CJrBrgqQs6fV4IMHP7nevQidy+MeMVo/AWnm62kmh8n aCZ3H8g/MfoT+E4L7OxfohXv5JCMxnL5vn0HLcWoGL+ONyX7y8fUOPITAlWMOLj0zYKN nQ2w== 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=3ux6niDLdsPk8MAPGpHmvnQ2ygKaZewBFfo24yv2+C0=; b=MzPT3k80VVIHbARdpekRQgdeLTh5imK30EXznZLAs7gMH7GQqJVBXZdq4S+qCd/Dea eVnNh3N+R4tJabJLxnvk2dtVIi1rkEZ/OjXLkATfE6YF5Vs2aV97baHNHHbuCYZKQtrM JaZEd2qM3pslrNAPMqeqk7uikIVfutk8ZWXYJFQr3SravbXunWE9buX7MhlCnxt15DHZ cvxo71+bf/0P0wsJ525famqqMowYF6wEpn2oGHlP4XV68SKwYeA234hhcU776imPlpoW /HyEF+f6Yeoy+TiaAiEOXO4Vrclb7m7h6rOUQpVG9gedPPqdZKdrgGwwaxHPn9TqsznM qneA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=YbqZyz32; 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 t9sor2129803pge.66.2021.11.11.21.39.04 for (Google Transport Security); Thu, 11 Nov 2021 21:39:04 -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:414:: with SMTP id 20mr434718pge.178.1636695543804; Thu, 11 Nov 2021 21:39:03 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:de19:8cdf:97cf:a6b1]) by smtp.gmail.com with ESMTPSA id v38sm3764345pgl.38.2021.11.11.21.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 21:39:03 -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 v2 1/3] ARM: dts: stm32: Enable LVDS panel on i.Core STM32MP1 EDIMM2.2 Date: Fri, 12 Nov 2021 11:08:54 +0530 Message-Id: <20211112053856.18412-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=YbqZyz32; 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 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..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 Fri Nov 12 05:38: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: 1756 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2E9D03F18E for ; Fri, 12 Nov 2021 06:39:10 +0100 (CET) Received: by mail-pl1-f200.google.com with SMTP id e9-20020a170902ed8900b00143a3f40299sf608384plj.20 for ; Thu, 11 Nov 2021 21:39:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636695548; cv=pass; d=google.com; s=arc-20160816; b=PXoDkQw3wEadfUQ0q42BDjBRySiuxV3bbu/UrWaShOJPeSB+TDBTLzd3Zud09b444h toGTVx750gsHC0EE8TU4XMNo7PRbARyjTtp7ox6CfYEBnyVHN0OZjnte4ZVeh1TgZSFm 2u3JWHQc888u7okKfCFEMXMX8eOc4G1LGpcZmd7docHoMzyKtoagmYYNEfiXJvikL09u NPsiRv5Tq9umAuq3YBPsfhZTM44mXzoOYf+2BhbR5aXeaPAA6+4lx7tkHPgUgjF6y1+/ GKxzdfKDgKbUVtH391tbYvubgSAfv4tEfELxbMBXZooaiacvQvQ9Y6qUrPKMI4dVKaS/ XCfA== 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=5jExwUHhjs+PATtLam8kyLmCjglJgXwuyzfzJJrs6lc=; b=lgywzKWhJ/dSnG0e9BwGD53Ip7x/Q7nx2YBa9yHuBxtrcDzwIGK/O1r4C5EFqJB9b2 57TQ03fke6+UN2mJxpy17GIMaJKNaO2ZdTZ/QOTtO5VVJu6YjPhXygm3mG90qpkfKz3Q LT6qvInHK/80UJVM9ANBK5MdReJV1BTbFGLrcdq2k2B4RQj5BAuJZvyaPNajmHHWsEsz U9PETp/BxG6Vrbw/t7lmTJ/RviGk2xh6Ys6sYhGs38MVR/QORoWPdj1rKyPSWpv8mU3S s4mJeGZ9h90yCcbYWJLma/nbfiYsSldL3x/UYZE2OnUzrucnxWjKEIRgYuVClnfCto6h YOyA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Uut0dc0q; 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=5jExwUHhjs+PATtLam8kyLmCjglJgXwuyzfzJJrs6lc=; b=BfMrVNSSGy2+epdKZuoKyNhHAg1f7DFuPgC82MKcu1flT/ml6ep3Sf2LYxuUPF22yM NLSGL/g42QeTPFFcsO+QCndZLlIECqo9FzEQObi6dI2AkJBPK7c6wwlAov0MX+I+w/j7 eH3r+1KgfM1yVF25Fpah/++UhY4Gf/xflHVH4= 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=5jExwUHhjs+PATtLam8kyLmCjglJgXwuyzfzJJrs6lc=; b=LPIpzVYeWS1PVRaosFSJyebF7CcVA0wZAZepnbio0tXO0OZxH1jgG17GFTIYK3bw3T njyyRNgwnjIzFDZs+kNLGT5X3mTL1RnUIq8DQ+pLhUTRDNe0g9ARmq/kUmIpEwJc5ry1 F16eq+ZQlQLcZDmXUrTAZfGUREVowWHF+BhqsYpJVV4RoRAdG18sIAuKTrphxI8MUXZ0 MDsXX0Q8H9fklFlNYvrXIQQMm1W/rTX1dPL8SEUtFLZu8RCSLdiwdaKQUM/qsw+6fyND JFzgsT3Em24XxyVGdbQtYeiD0rzA9hrOpJCeTqiIRs4Ly91T461q/zMko3aA+T2Y+3R4 BHVg== X-Gm-Message-State: AOAM532nUC/UV8s7n2R8OjyEHKNTURGQHoPKUs/gACZior4s0liE6C16 QRh+5RW9RB+gbK/AxbPp8tvvWTD0 X-Google-Smtp-Source: ABdhPJxDHrb0kRxkxmJ0YuHZbvvPlGzZOhghzXjTjV+v3pXj/A8A/fFM6fJQeGJywBX5NRrtqrNbVw== X-Received: by 2002:a17:902:76c6:b0:142:644e:e9a with SMTP id j6-20020a17090276c600b00142644e0e9amr5217835plt.6.1636695548649; Thu, 11 Nov 2021 21:39:08 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6a00:99e:: with SMTP id u30ls2118107pfg.7.gmail; Thu, 11 Nov 2021 21:39:08 -0800 (PST) X-Received: by 2002:a05:6a00:2171:b0:47f:d231:25f6 with SMTP id r17-20020a056a00217100b0047fd23125f6mr11955813pff.4.1636695547955; Thu, 11 Nov 2021 21:39:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636695547; cv=none; d=google.com; s=arc-20160816; b=zb0NYZsRfs0nboVDFqlxR3xPOGI59AIupbx0J6l9/O2UYJ899tng0dDHXgzJ+d2p2W 1glQf+yKQWDRVYNlbKKoIYHnEqgxLZe/lUmuqz+g4dCDKVOBGc8tdSTMh3hlU0/Yr+Gb 2ouUSCew7dyVDv1wWMuGKs0qWKsrhm2is74mYxbMbKH1P8QB+QmH3GB3fvfXjlY2/mQF sETsME1Rm7mxAkPMYCFDrxqBXRR7jVA7ukudNlBsMzdE3nv1ZuDw96SF7GntIboTtM7o k2zmC13RgfIo74Q7gQE5rvBCuBPX1JedZxxTqHYQHJydjitGIuPd336mqeYA1zwUdvE+ s/AQ== 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=y7lfOFFMzKe+kiTUn4fLEQP7ZxMtSNXXkb4oUnjFYrE=; b=VzhK79hWMdwv3XZjg7o9fLB4rj3eVXrMQvgAGvgMm+MrNkFbF4EiQB3INTb5ZngBTl QPASPxv4g7oi7QbvxvNvVc40M04YU50LyTca1ApJUGDQp70l4rJk+ErGOk2YYz20v0Sz GkcvQbqhGh4FCl6D+eWw09zTQpU2ukwGWpDqBPTljHbeCc/X4LoDYcO93hXYXL4/Hr/Z KjJpIpj4poRdw0WiubeoyCl4Yed9PYmbkcqcSLCpO/KbVHoIdF4LfqI42oWxTkY6yznE Gnpsmpr1gFAwTET/bPu8EOIc3mIItqetCZ+JkFQ3macLQVhFpSAAVuEjzOg8bXlPcvbf 2FbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Uut0dc0q; 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 t14sor3603438plg.59.2021.11.11.21.39.07 for (Google Transport Security); Thu, 11 Nov 2021 21:39:07 -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:902:ec8f:b0:142:11aa:3974 with SMTP id x15-20020a170902ec8f00b0014211aa3974mr5227566plg.30.1636695547706; Thu, 11 Nov 2021 21:39:07 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:de19:8cdf:97cf:a6b1]) by smtp.gmail.com with ESMTPSA id v38sm3764345pgl.38.2021.11.11.21.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 21:39: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 v2 2/3] dt-bindings: arm: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" OF Date: Fri, 12 Nov 2021 11:08:55 +0530 Message-Id: <20211112053856.18412-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211112053856.18412-1-jagan@amarulasolutions.com> References: <20211112053856.18412-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=Uut0dc0q; 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 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 Nov 12 05:38: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: 1757 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 662E23F18E for ; Fri, 12 Nov 2021 06:39:13 +0100 (CET) Received: by mail-pl1-f197.google.com with SMTP id j6-20020a17090276c600b0014377d8ede3sf3748441plt.21 for ; Thu, 11 Nov 2021 21:39:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636695552; cv=pass; d=google.com; s=arc-20160816; b=Sc9fn4E28ssL6VpTrgXx8dbx0vxiJy8gJE6ziXEir3cYfnQiOz7gLJ3KUBREDRLBEs r4/WtVsZibyVfMF/OLQtzE6jwmr9iVYMe0koExL0FIP1YW2Gy/nYLKig5DCVNJFS4I6+ mhgwBPTLp3QEFwnMUC0TAxwdF1MD0Qg7BvECmoXH13W3xlc08c7u/LSF04isNERnzifF RD+SJjkm1znN90fYZWUa6CdqFtvZmq+I8x0Z1dy0uYVnvUDjfjN4e72csmU4567Gwr5s 2DIQvazL5fANTPZ/eY05iQxsA4U60oTMHNySHTo/aTzq8J8YKwShFcFD2euW62U4jw9w tmUA== 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=TMCBxPvAAYAMEtyRRWiAQEfLnKvhZq7x9kCQp2Uks6s=; b=FyEyFGtj/Rm9+c7vZFV+jvewnPA1WD+O/jo4gJv2ixdeJTM4NH2M1an9frqCI0l35X OYgJ+i8MgySlXmygNiMHhcSQtwPzvxitonQtiZTpTmXsKnhe8Ty9OcFWob2EL8lkWtbG shvM9SK5Sl4SNLxLosbQ3HGPYbdct7kQFca2tDvJ9EdEt7uI2MNT7mNC7ewq86KXFl/s OIsjEBVvs5518UPx1wbxVwC5bsOww1O5AD0oUzq3p15ScLYifdZmK5r/fO+thsPed+Sa n0rWRoBTe2q7Ux5Mjp/UJBpvgVQpPsI6mV7uyIE8YVYL/SP4TLGMCXr37jWcL9/LFYo8 Ssrw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LsRTIR3Q; 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=TMCBxPvAAYAMEtyRRWiAQEfLnKvhZq7x9kCQp2Uks6s=; b=PDWjWdZbEpjsAxnxMl9Va2Mb+HiJe4sPDNtYjG6yzranPYyzTQw3HwH4g4ks9YgreB 7sN1jSwAcDF1ae1EgpjFwXulLFhcvmsPrgr+iIuj9xCbormoO5okM6m8vLJjzKzwyoSj 7Zkoac7i7tLi44HfHgL/FsxHJ3jfpPHj1nLVY= 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=TMCBxPvAAYAMEtyRRWiAQEfLnKvhZq7x9kCQp2Uks6s=; b=UiTHCreUKF+TWHwlqdTCj65mjPYGimLtrcpHPu20EbYhY2cCiaLI1SzmCNeDQ5BWPW tWYrbbSFTm3ldzJro0LvwIoYg21PdZyhWTjrDoSzko0DiG8GlFav3Ff6wc9JeUyebVYK a3v2sLHeGDurVEYrD5KUUlpQAfI8dTGC6Vv3Dzxb8+q9r+rtU9OAr84KN/swnXL1zHP/ GQDh/l67jpzDmHnbCeEfFizhiGFrcrnW7NPHMbXJCxq462UW8eUoJ+FLaFd8FODIA0Nn Zdac5WK2Nwi3R8JwBpsgWjx7wwone5qu97jiWQ1nqO4BDDgl85YKNBTXSlApPHT4i62A WnQA== X-Gm-Message-State: AOAM530JpxKPbJMOnT1XXNMyJDWOFK3yIFqhxgpeqUlt5a+ynN9WiQK/ 2rXsKY1UF6svSTw8djt5aXDD3N9Z X-Google-Smtp-Source: ABdhPJwc42zsSgdnixUCaqKQ6oO3dxOtJfPmYQ/TbBofXXlafn4Rjer7A2RbadZbKzPBQCH61GZ4FA== X-Received: by 2002:a17:90b:11c1:: with SMTP id gv1mr33587549pjb.208.1636695552235; Thu, 11 Nov 2021 21:39:12 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:d4cc:: with SMTP id o12ls3522630plg.11.gmail; Thu, 11 Nov 2021 21:39:11 -0800 (PST) X-Received: by 2002:a17:90a:fe0a:: with SMTP id ck10mr14927165pjb.216.1636695551600; Thu, 11 Nov 2021 21:39:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636695551; cv=none; d=google.com; s=arc-20160816; b=VoojvPdxVJfTst/pDqOviQpJ21u3xv82v5aecythsQ8VOPyJwY/ZpXJhu+HGCqqGIL gH+zmq2ObKL1ilAl7rgjKFKbZYr6S87rXTt2BLwpwpZB6SC0KHCX22+pQGEDk8zMX9Rg rfZSAnksVnl9VGzLePEI3MZzPLjrRDa9bU9gt7pnPHZs6l+Vdl/HZrlbhoVVRd3PkCKh 2dopUcBgOMU1ZsCZohqYFq3BoZp7tUXwnRjeULNY6Th2ov6yMkCXIq2IyjJhiESGMWLX wILj5UOVKFFcWjsdl+Ai9vhxJTIAjbBIRIWlcpgWMol/djdW0uGJShSfYaJFX2qJlYFg Gzow== 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=zwSmaZ0/XBjCCpcjkMDJ976dMmOGPgUfSWLa9+mY8As=; b=QK2eR8MW+BQg/3xcd6u4ZJ93NvidF6EiYFlJ/GIlcOLzNlvfDI2I5gGbjCjDT93J6i lg1Yvehnaje01AAPUIaxAPgAAPIsPoCqlKsLkPgr9f/NSXWWei/p9vCeGso++9TBu53i IVBB9nxLk1PWFxI84obZqdxP0qPAZUWx3oEoIu425AXgvS9CF10EVB3pc7Hy3JOb5aT4 RIxlvQmY4VD01gclme36GRvqWTBAhyx9jDYmo4M6E8b2a3/p/nX1/mnElnG61TdgqO+2 ddIv5W8nizf7j7yQbfakkN1cIB4rJm/wwCHIUC1JGus1KcKw7LRIbB55+gqG/vGRIdZa fFhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LsRTIR3Q; 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 e5sor3571870pld.63.2021.11.11.21.39.11 for (Google Transport Security); Thu, 11 Nov 2021 21:39:11 -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:902:8f93:b0:142:8731:1a5d with SMTP id z19-20020a1709028f9300b0014287311a5dmr5490076plo.60.1636695551306; Thu, 11 Nov 2021 21:39:11 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:de19:8cdf:97cf:a6b1]) by smtp.gmail.com with ESMTPSA id v38sm3764345pgl.38.2021.11.11.21.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Nov 2021 21:39:10 -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 v2 3/3] ARM: dts: stm32: Add Engicam i.Core STM32MP1 C.TOUCH 2.0 10.1" OF Date: Fri, 12 Nov 2021 11:08:56 +0530 Message-Id: <20211112053856.18412-3-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211112053856.18412-1-jagan@amarulasolutions.com> References: <20211112053856.18412-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=LsRTIR3Q; 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: , 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 --- 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 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"; +};