From patchwork Sun Sep 3 20:48:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2972 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 354A13F07F for ; Sun, 3 Sep 2023 22:49:02 +0200 (CEST) Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-500af1b3b20sf752149e87.3 for ; Sun, 03 Sep 2023 13:49:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774141; cv=pass; d=google.com; s=arc-20160816; b=Xf6Z2R/vz5/cI8vgUIBdZNOROGlutWFOX1gNWPNlcKDkNIJnoFTvm+VGCBlbJfAl33 x2f9RjhN0yZocDnIATC/vsDJO2tVBfkFz1QF5GgBiaG7nNknTk70bnOwb6iiGygxcpFV zVAA8VFkYefF+aRCnvMkstzg6iUn1VTdjCfBTk9N4SI3Kx7ZX8bNQlPmMLxfG9RlZ5gj vl4mBotxTl7stSmxkptaCfzVFPlu4vlW0lU4EKB943cfbbjD/yOyUgQfJeqsDhS7DxXP fFfW+KIvUkPNPMvkftquZqb3ofS5VPVc1r+VjHEKgDj9lsdXoOVbyF6fbZmpwQfn/aN0 fgbA== 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=tJOmZ56hnp34AEDKvFxVJd4eG5nOplOpp2VVJDdoH2Q=; fh=RTsDpTSQd2i4IcQE2PnZDihkDdnXGRzVlUUiq8taQcY=; b=SitG2mtkNLHgKUe6j+BrYpfgWzmIRHoumRoxrcQF1yA5oac4zJilN5bhP2dCdob6sx k3qwNHCbpdlz3B/Q9OUD0Mgau/asS8kFzdKjzs6KBLGchtXKwqT8sYCfHivTi0uTchKu irpIzkIlOEOoGL9B03/zt6G8HJ93xM7rtkdtYZIC+ICzPYR5T31CapTpfZjkpal3/wCh 6j7zvFH53MXny74we8wa1MdHRn4I8Zmk+/sJs4SJ91NAafwOPSP5fiOXAtYWqhmGk1/7 sT1y+MKyVFXZurW1Ac0I9frldmkZm478JAw1EoyQCIQ5w9+2d3iHBRmtK16oPCT3sw4K m52w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fkjXa79K; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1693774141; x=1694378941; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=tJOmZ56hnp34AEDKvFxVJd4eG5nOplOpp2VVJDdoH2Q=; b=oo5PJ+lnMezhWjH11KMmk9KwC3L0DXPZtDBvx1cA67JPifm4Q/fiBKFDNUHVXB2JVL /shN+wvxdX07XIWyjkh8RLoS1OtCIlJI7UpbuXZqCe9uEArgfMvAtTe481ueBL9vG/7d Cyh94nRV8p3HVbUC6PPHoTHDZnUAFs66YnefQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774141; x=1694378941; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tJOmZ56hnp34AEDKvFxVJd4eG5nOplOpp2VVJDdoH2Q=; b=essKF47w2KcoYbVkRsTS3OEMe5LtKb8b82yHfxmJMJeiglscskELVRliSW//1x959Q F0VwiJ8oXiM1MGrL2xSnpatoAIzTXgH/h+ljkuOiWBZZ0ek6fsIh+xDvb5iQA3qhxj7V jOz+zML2UHpScgIRCs8B9kZwNDPwvS/5YOyyz/jjl19W6VzZUatJ/SUmIA6RpS6k5hfL TuZjh2oyPjHHXW04r9DIq8snu26Ro8DzWWfGkMGY06r4NDTIGzklHby3NboB8bZF/0T6 AFaAlEmZ2ZMIL3qt9k2llIxPrbhkFoccbhV7cJRp5CEmFj+/AQ/6oqD3gYiE8YAME3RI ngVw== X-Gm-Message-State: AOJu0YxfpEqvSZ9T4p9LfKNLM6xuscAcB+WP6LR5R6mLQMwWdbv7+nMS FtmMH5FKrCARcz1nnTg2YD11gAdB X-Google-Smtp-Source: AGHT+IEMS6dJlm+mFvPiOt+M70oxlFCLBomFvoW203DhkJ9O4aZWyLgrkZ/Kz69rpYowjPzalAd0/g== X-Received: by 2002:a05:6512:318d:b0:500:b8a3:1bf1 with SMTP id i13-20020a056512318d00b00500b8a31bf1mr5824182lfe.43.1693774141740; Sun, 03 Sep 2023 13:49:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:fc0b:0:b0:522:833:fe6e with SMTP id i11-20020a50fc0b000000b005220833fe6els427704edr.2.-pod-prod-02-eu; Sun, 03 Sep 2023 13:49:00 -0700 (PDT) X-Received: by 2002:a17:906:5d:b0:9a6:5026:1a35 with SMTP id 29-20020a170906005d00b009a650261a35mr1102274ejg.51.1693774140141; Sun, 03 Sep 2023 13:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774140; cv=none; d=google.com; s=arc-20160816; b=kALryXWU9NJ0zSuigurZBSnSiK3Lf6wvDifp+Mh1UY7GJmeHQn6z7AyiByqWVZ/lAA xUSHNNjt+OEVSOmda/2Zhcoe0wV8jg/lZS0VxbHYRnlfGY1pw08gYPCxpZFDttxm8iZ1 afbyYZexnSQUkzyrIn0XqKR+ph++5xXZIce/Bo07fWEhJGa4RvRJ+Xg0l2LYo9yZBtwr S2rPwuJytuHJpmdbU9gDTpe+H5n57SvzP1Vm9eybHmCNlgNLwC9V1WuGrLuKhbHd93/B Rb19+OqSvjjNmlkOgDO5DOs4OCIDs1s4zCsMMT3AErwHHntXpi6cGqDt5eivFMdXx1+b Z7lA== 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=0ssKd6q0X5n56FowY+d9EKZwYozJRtjcPdoih2L7vjU=; fh=RTsDpTSQd2i4IcQE2PnZDihkDdnXGRzVlUUiq8taQcY=; b=HsaQ/P4VOCEir6QEw7vnfSmy4en0iPNciuG9TiQJdxrwcjlGz3JzHp/tijrRvfwL54 NIT9VEt5H0OA4a/HPnsm+/aXICI/mHLhik6Jnb78qO3xBPo1Y1zTd36sfUIKTX5uAv5+ JaA0yqdXkR9hMSP8cyzqwjaRPNojVx1DJU6k6C7VpVBRBIIhLkt0Y13gkBOd6Iz/FLXr kcVGqP0qrNLSx0zI1WuFl9J4yDIjnv4qpbr4MmhScB7+h8DuuECm3TvNyYjeGjYVVv49 q+YNS8RIm/XptDUdjGIyq12zinznwhXV+GfdKm4ZP8DLseahytQgr0oeNCzoHBuMnZHT Z7eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fkjXa79K; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 jx19-20020a170907761300b009a1ca983b8fsor2936227ejc.2.2023.09.03.13.49.00 for (Google Transport Security); Sun, 03 Sep 2023 13:49:00 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:28d0:b0:9a2:1b05:24c6 with SMTP id p16-20020a17090628d000b009a21b0524c6mr4611028ejd.22.1693774139865; Sun, 03 Sep 2023 13:48:59 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-54-71-141.retail.telecomitalia.it. [79.54.71.141]) by smtp.gmail.com with ESMTPSA id w22-20020a170906131600b0099d9b50d786sm5182466ejb.199.2023.09.03.13.48.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:48:59 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Patrice Chotard , Patrick Delaunay , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 06/10] ARM: dts: stm32: add touchscreen on stm32f746-disco board Date: Sun, 3 Sep 2023 22:48:45 +0200 Message-Id: <20230903204849.660722-7-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230903204849.660722-1-dario.binacchi@amarulasolutions.com> References: <20230903204849.660722-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fkjXa79K; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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: , commit f0215440069c4fb12958d2d321e05faa2708a11d Linux upstream. The patch adds support for touchscreen on the stm32f746-disco board. Signed-off-by: Dario Binacchi Signed-off-by: Alexandre Torgue Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco.dts | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts index 1ed58f236149..9541f449fd0e 100644 --- a/arch/arm/dts/stm32f746-disco.dts +++ b/arch/arm/dts/stm32f746-disco.dts @@ -7,8 +7,9 @@ /dts-v1/; #include "stm32f746.dtsi" #include "stm32f746-pinctrl.dtsi" -#include #include +#include +#include / { model = "STMicroelectronics STM32F746-DISCO board"; @@ -63,6 +64,22 @@ status = "okay"; }; +&i2c3 { + pinctrl-0 = <&i2c3_pins_a>; + pinctrl-names = "default"; + clock-frequency = <400000>; + status = "okay"; + + touchscreen@38 { + compatible = "edt,edt-ft5306"; + reg = <0x38>; + interrupt-parent = <&gpioi>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + touchscreen-size-x = <480>; + touchscreen-size-y = <272>; + }; +}; + &sdio1 { status = "okay"; vmmc-supply = <&mmc_vcard>;