From patchwork Sun Sep 3 20:48:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2966 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6101A40F4C for ; Sun, 3 Sep 2023 22:48:56 +0200 (CEST) Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-99388334de6sf50226766b.0 for ; Sun, 03 Sep 2023 13:48:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774136; cv=pass; d=google.com; s=arc-20160816; b=YimhidP4eg4QpfKHFLYvR4r2hRzbFLg40MJqjfYxJMLM2e+aajLQ76ZEx7XMPXP+t1 oyc728GRY/DS6CbJqll8dlVHUtTU2CC3NWx2eePIhJMpc+OFd8e4HRZa0LIkMygEdWti 7UjcKhQk+Oz33qpSRzEVnJFbSppA/wY0OVoWNS0ETiKT1pGPg7WjtJayotj83ouUJuQf 6vTJ4FYcqVePrMoQREctkavv973jjOEZXXgcXjJ/cir59AlA4O2si5P10OUfXkPQGMvm 1MPCSqqR4kX6I7xsuD/zJZCSB1QkipRsAmeScFav6jzbs1KmcrBXAuq4Z1qEr9xCnlAi 6VIQ== 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=FXu6xjK7Zik1ab5UmaR1kBBOzb+4WW7rWr0zfPNqbsE=; fh=dROpPYHJI6C156XCwbAKBax4EU+49WpAjApT4Z6RClY=; b=y9bAVq+iv4LISy/YI043t7YNpOZHRtc1H4ymCJmRMDk5ubiwkTiaCzcGVs3fEPvx2s wpCMKhGFRKFqOdYwwLL/6pkGLBjazxCYYrzDEJFHA+efNoWYsidRBn1xp8s/sWuBJjeI 8Sldsp0vuoKL97GkxVFRaRmd+rs1PTJDD1vTAUFCCFnxWCmWRLAADH9sYfl9rZPjm5TE JfqvZy1my/2HRpM9+2nyReQT0Q9Yb7djw1jeWiVvudr96WBKrfzLcFsgByV1UWGmCtap Ih/QigXm7kTkJkF2tsSV/56U2z0XWBb3wVKHa2S2AV9+jwnpNAQEvEotHVeIGYeJ+vVZ 9KWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BHA6uf8m; 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=1693774136; x=1694378936; 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=FXu6xjK7Zik1ab5UmaR1kBBOzb+4WW7rWr0zfPNqbsE=; b=IYFUar/aHMdIbOt9v6etRQ30UpTIvXlq5CQy13nqlLvNKdKZxCfRdI7V/DZy/50qpB DJIbL+ShmIQhee9MUpY0o1U5RPSb03kdOLqR9KpWIelaVMTyCa/jNpbfr9fpffhXiorM HCM+9gpuFq5WI8kGjR5QE4g5TMsLs6f3j8JsY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774136; x=1694378936; 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=FXu6xjK7Zik1ab5UmaR1kBBOzb+4WW7rWr0zfPNqbsE=; b=JGHOuszVE6n1zbrPxJVPM+p4iibdH3EVfNS7ItN5jwE6GyAD6828wgFzu95l124Hjw 54OYAoSo/n1ulMJ+Xxhgp8DDFn5Hld+5QOiLyCaUBe9r8Fw9x6R6WjCkDcb1VBadmIe1 qoO6xP/3WMF01UcmfGO6QBbCJQ1YljGzcBFhBShJa8re/BAO/EhrCB88Fo3o61WYKKEK fQj/BWMEljT02m1j+uGftB5qg4BGqZqJQ278I6BAkABrq+kjjZkPw6btpWDBEwqAnn7N ryHmXFRXYOyDpqBA7fTP0y8l73U+buO2nqms6rQ1e57HHWRDCsWeSOEjOWgmSaRZglL4 p1+w== X-Gm-Message-State: AOJu0YybHWRXDGkPJAONFNa+2tQG3DXAl0Rqb3ILyzMZzBD9st0u0bVk w5Lh1PSA7tB924RPmHhfd/J59wEc X-Google-Smtp-Source: AGHT+IEcJcTz9DyGMuwysozM2o7aNJqTuu1S/g1OzQCaKEbtpwpV5CfWUOazISHH3v5wajOQ9TY1tA== X-Received: by 2002:a50:ee15:0:b0:52b:d187:61c2 with SMTP id g21-20020a50ee15000000b0052bd18761c2mr5661166eds.29.1693774135955; Sun, 03 Sep 2023 13:48:55 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:f02:b0:52e:21c2:719 with SMTP id i2-20020a0564020f0200b0052e21c20719ls205500eda.0.-pod-prod-04-eu; Sun, 03 Sep 2023 13:48:54 -0700 (PDT) X-Received: by 2002:a17:906:30d9:b0:9a1:f96c:4baf with SMTP id b25-20020a17090630d900b009a1f96c4bafmr4850479ejb.5.1693774134402; Sun, 03 Sep 2023 13:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774134; cv=none; d=google.com; s=arc-20160816; b=dAeOH2GH8PdvKK4C1/SWzGzjh+TWEkVdwRa0mFFcAD3yN+F7PnXtvPM/dxcPtPxhSY 6oWoSw5IKCKzwtcEHJYrCPDJ6XzXn0hqxjRmVTOa0jecjC8XJvyeXutox3disawV3bpj 0lOrunGUqkdsbYr/JpqmPmiSGO1VkueVahC4aew9/q0mpXzzJ++zH/eqgwXm6KCC0ZAx h8haEB1vo2JO8J+s1YbrWuslnkmzQLZUrUCUt7cg26ZkI7pQ7pAUdd8YQcPJDmjxYOez 80zBXn9Ge7vhLt8eehSqb/9HB4stnEEapKP03u8xWv3EdZUyv3cHnhxK2gGWwNa6GHt4 EqUA== 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=7v/T47c4cyvP0ZBQxSABDrZzKs6stbyxJ2yX9+Ibn8w=; fh=dROpPYHJI6C156XCwbAKBax4EU+49WpAjApT4Z6RClY=; b=mH8ajCDjHg91O510CE5+bOc2ajztKQwpJ/uOnumsPvqy4+pRZNObaWHYasUOehPsr/ Jy2ArwPfJJsRNO4/qttUXxMNyA4OSQl1xrm8UK0ufY9UModqUxXzjXo4Oe5CPcurqk5z bhX7e3uZD2Hra8hTItae/f5tnK28LJ5nwwCUPIBYkfuMfvrKN5EWb2FxK+Ib0i6q61zY 45qi5m+qxZ4NSb4lt/CvqhzFPvkNGnWuYGXCpidpmZS9hUMcNBR+1ui1Pr9+2Cw0mC2D rS7NB6D9N8BZl3kKVAD+jzAP/ybjkGSqScA7d/ZsONobjtjhOs6xi09IK+zaY4B/FDkg arMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BHA6uf8m; 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 ib23-20020a1709072c7700b009a1b6902553sor935957ejc.7.2023.09.03.13.48.54 for (Google Transport Security); Sun, 03 Sep 2023 13:48:54 -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:1009:b0:9a5:db06:4264 with SMTP id 9-20020a170906100900b009a5db064264mr6718778ejm.72.1693774134022; Sun, 03 Sep 2023 13:48:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:48:53 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Lee Jones , Patrice Chotard , Patrick Delaunay , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 01/10] dt-bindings: mfd: stm32f7: Add binding definition for CAN3 Date: Sun, 3 Sep 2023 22:48:40 +0200 Message-Id: <20230903204849.660722-2-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=BHA6uf8m; 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 8f3ef556f8e1a670895f59ef3f01e4e26edd63e3 Linux upstream. Add binding definition for CAN3 peripheral. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/r/20230423172528.1398158-2-dario.binacchi@amarulasolutions.com Signed-off-by: Lee Jones Reviewed-by: Patrice Chotard --- include/dt-bindings/mfd/stm32f7-rcc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/mfd/stm32f7-rcc.h b/include/dt-bindings/mfd/stm32f7-rcc.h index ba5cb7456ee4..a4e4f9271395 100644 --- a/include/dt-bindings/mfd/stm32f7-rcc.h +++ b/include/dt-bindings/mfd/stm32f7-rcc.h @@ -64,6 +64,7 @@ #define STM32F7_RCC_APB1_TIM14 8 #define STM32F7_RCC_APB1_LPTIM1 9 #define STM32F7_RCC_APB1_WWDG 11 +#define STM32F7_RCC_APB1_CAN3 13 #define STM32F7_RCC_APB1_SPI2 14 #define STM32F7_RCC_APB1_SPI3 15 #define STM32F7_RCC_APB1_SPDIFRX 16 From patchwork Sun Sep 3 20:48:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2968 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 6BECA3F07F for ; Sun, 3 Sep 2023 22:48:58 +0200 (CEST) Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2bcff05089csf6185591fa.3 for ; Sun, 03 Sep 2023 13:48:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774138; cv=pass; d=google.com; s=arc-20160816; b=fa4MrrQSp6eKqmrjl2QfRmH8wXVRj5Z+b6os9yE7ONdijR7djIJFhKgY2rY5pCWv1b mXlr7r6Memgrj9Pt4XvqY3JPHYXeRzu8aiIbeBGm+AegkXLd32055m+n1mMAYtTBf8uZ SVxGEyDoux4xPEH2QVaMeuBoG9w6yeHUWM1++4/njFbAC8gfWvu/V240njzxMVTjOIXR dzI0yjE1CtXKqUsRxzxps2D3yN0gwAln3hq1Zi1H0NF/BJ16WlGb9Xv8H2VBt7A7wnVD IEgQ5jD4iO3NCRowlcOyOlcdY/YB+3QwNXYX1fdcn6ZK1mAaV2UCF5avj2N6KaEKz/hN bH1Q== 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=jxDSXlX9mxNaf+NJSjTK/KI8J+iBMhd1nhY/o29+R9Y=; fh=K160ze5zLMsICenqp3u1vI/J8CthABrjPAr/pgPLkE8=; b=LwK7R4Pxeb3c3jp/RFK2+yhJdp3QLdp/1Ndeg4Rxf61Fq2u2FTlbeUu9Y7mtr4Mjg8 UvM7NIiRPZ/rnjv2V5lqHykPX5KS2O1oVB1yeQt8koesepndxe1ZwOCwYs0CYzD05mJr TX6MOlIVbjFH3Vosy55iX1fvRXQy4Ed3CqAmyIjyEWlSxNqu2crdvsQyIKnmqIGEsmYS xLL9Eb27WRnhtFKAOL9RPrl14geMccc7bUuz0HiFuHFvoi7w42lfymVB7shqNad+zz1T lb/HpndK7PEL566EKxhmuF9flJdosFnh9hKJkcxMCu9WaPSIZ5tJMcukmbKlvn8R5EUX ym7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NZzAAPZV; 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=1693774138; x=1694378938; 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=jxDSXlX9mxNaf+NJSjTK/KI8J+iBMhd1nhY/o29+R9Y=; b=c1kxE1ULVoj3E7Vt4R0pi8CLncXHSzacrZXd0MSsPp+DhnAPcSVMtgBdIRvTs1V3wr H7wMXYvIAxE0QwxrF7GjjVTP+l8BhjIXH+91blYHzxpj99u88wIMMHUzezTfH/vFmoXd JT7+7kmJ5MwtTG0LfH27MCBR/8pQFa5ftdsLQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774138; x=1694378938; 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=jxDSXlX9mxNaf+NJSjTK/KI8J+iBMhd1nhY/o29+R9Y=; b=daUnkMHoB6IqJ1KR7z97yQL2z+iqVTv0seK5cSX3Liki5f3HHyOhTzGvCrSbbj9+aB ptljbsK7zbV5NDuzis/AWizkE3QQEJlX6DkP18o6t0yaV5Y47puqtrHbtQYASetfHlWa b+tEZRZpn97G4sk9JKB8cR15AToI1GC8MbLW6sn6dx6AiW6XFnzIfc2WKGKndNUxG2ta /BdknHks3C5QtSv6tktETmyWmh4QBIwN1r+SpUYvinIh/5OzKnWpvjsOhVuVggpwj4/L ktN0ZcnlyzNSbNeIqEgHqp3mxyo6U2kcnqDWRKbCVbpGakRC1lGo2TviL/jYbHiVquMO Ke8A== X-Gm-Message-State: AOJu0YyF1X+xoE/xG3Mzqbcm0XEZ6g9DuK8XEvh2bopIEPiqFBhh1ATR 6sh5iGBGvFOWorGcaOcrEDViRm1L X-Google-Smtp-Source: AGHT+IGb2gLg3XVo4X2aHJgVrUCqKmDf2YkqCj5pXGkFxwpwriw+s15JjygdbYLxTJFmWbxpKe5qtA== X-Received: by 2002:ac2:5b03:0:b0:4f9:6842:afc with SMTP id v3-20020ac25b03000000b004f968420afcmr4966530lfn.64.1693774137778; Sun, 03 Sep 2023 13:48:57 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a19:2d5d:0:b0:4fe:1d79:caf0 with SMTP id t29-20020a192d5d000000b004fe1d79caf0ls1410066lft.1.-pod-prod-07-eu; Sun, 03 Sep 2023 13:48:56 -0700 (PDT) X-Received: by 2002:a05:6512:2522:b0:4f7:6966:36fb with SMTP id be34-20020a056512252200b004f7696636fbmr5407931lfb.12.1693774135946; Sun, 03 Sep 2023 13:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774135; cv=none; d=google.com; s=arc-20160816; b=k8BrEFS61Ia0rM2p9gVf5MH/lIbMIguWsk5bJ7qdYAanTLE80CgtZwwYazTxY599WD 6Fymx6Sw7K7vRe8L++MGiuXCwBHB7mVOwC3ux/K8o+2H+6ARklciCbeXy87yrkpiRV4B OsmR7o4nuj3tZl3IQjVm/YVkTHnO/2IsyFb+ZgzWcfMdGeeTvxL05Flp13e/UQpnzjMQ gmj7UG82Pw2WcIvwCme1HcxUI0+edbzUU2wsLaCSr2vD6sgWcMRztTSZAA5pVj/bNTji RI05Fp71wrKhcBPs8SMHDYs2pg3tO8GI++FVhCB9HBA2Bau6VokmA/QS1ivd8jgn/fAi 1kqg== 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=bSfjxtQCmq0VaRg1MRMvJGczP51v56zG9MGuctvIOOo=; fh=K160ze5zLMsICenqp3u1vI/J8CthABrjPAr/pgPLkE8=; b=S0Z+Bj2wL9DC/BTl1czRdlr53U93G5FYQ/tS4s63RzcbGT5MWcDX+zK7GJ51LG5sPS f0s8eeAmCE9thPwZfRV4AlQnSoLIAMdsKFVFPPM4QKIp/h6pE8dmC1UHbuHc6kmZ58Up MrknigQyZdehJg3rpGIvNH98Vjk1zEchIfRtmFkI2xHhOMnKf5arkzdATYAzMrBR4for x4y4pL4Pl0N3ygj1Po/0sZB0WPzwmP9PoNpXZbhpBoEPauxtJrcXhgrGyfcsx93VJYeJ 3HJOuY7bwcVQj+Jr76Ka3qDYGtuoPff1wDKLGt8m7nQv3qcVsBbE322SNuv9w5LgskHs m+iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=NZzAAPZV; 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 x21-20020a056512047500b00500a012d7c4sor2383721lfd.6.2023.09.03.13.48.55 for (Google Transport Security); Sun, 03 Sep 2023 13:48:55 -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:a05:6512:3a8f:b0:500:ba39:f0c1 with SMTP id q15-20020a0565123a8f00b00500ba39f0c1mr6458180lfu.20.1693774135345; Sun, 03 Sep 2023 13:48:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:48:54 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Marc Kleine-Budde , Alexandre Torgue , Patrice Chotard , Patrick Delaunay , =?utf-8?q?Rapha=C3=ABl_Gallais-Pou?= , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 02/10] ARM: dts: stm32: add pin map for CAN controller on stm32f7 Date: Sun, 3 Sep 2023 22:48:41 +0200 Message-Id: <20230903204849.660722-3-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=NZzAAPZV; 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 011644249686f2675e142519cd59e81e04cfc231 Linux upstream. Add pin configurations for using CAN controller on stm32f7. Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/all/20230427204540.3126234-4-dario.binacchi@amarulasolutions.com Signed-off-by: Marc Kleine-Budde Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f7-pinctrl.dtsi | 82 +++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/arch/arm/dts/stm32f7-pinctrl.dtsi b/arch/arm/dts/stm32f7-pinctrl.dtsi index 8f37aefa7315..000278ec2c58 100644 --- a/arch/arm/dts/stm32f7-pinctrl.dtsi +++ b/arch/arm/dts/stm32f7-pinctrl.dtsi @@ -284,6 +284,88 @@ slew-rate = <2>; }; }; + + can1_pins_a: can1-0 { + pins1 { + pinmux = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + }; + }; + + can1_pins_b: can1-1 { + pins1 { + pinmux = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + }; + }; + + can1_pins_c: can1-2 { + pins1 { + pinmux = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + + }; + }; + + can1_pins_d: can1-3 { + pins1 { + pinmux = ; /* CAN1_TX */ + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-pull-up; + + }; + }; + + can2_pins_a: can2-0 { + pins1 { + pinmux = ; /* CAN2_TX */ + }; + pins2 { + pinmux = ; /* CAN2_RX */ + bias-pull-up; + }; + }; + + can2_pins_b: can2-1 { + pins1 { + pinmux = ; /* CAN2_TX */ + }; + pins2 { + pinmux = ; /* CAN2_RX */ + bias-pull-up; + }; + }; + + can3_pins_a: can3-0 { + pins1 { + pinmux = ; /* CAN3_TX */ + }; + pins2 { + pinmux = ; /* CAN3_RX */ + bias-pull-up; + }; + }; + + can3_pins_b: can3-1 { + pins1 { + pinmux = ; /* CAN3_TX */ + }; + pins2 { + pinmux = ; /* CAN3_RX */ + bias-pull-up; + }; + }; }; }; }; From patchwork Sun Sep 3 20:48:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2967 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 9741340F4C for ; Sun, 3 Sep 2023 22:48:58 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-52a0f5f74d7sf472267a12.3 for ; Sun, 03 Sep 2023 13:48:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774138; cv=pass; d=google.com; s=arc-20160816; b=pSimreAbwNqRESZ6cVVis64a3/J2TDDL6oNTjpFeMPHBMjVouv75AF81LmPEDKeqA3 iOPIkkzIIlLyU6tgfASyPTSCo3H2VrK789yHijE7INmYbL0CQCamM6sRyFcmTky769C6 p+60oEd8i/EWZdx/yqGgJRTRxGhoY44vK1PBjUxA0C0Vc+CYAj6Iw/Not5AYcdBenLB8 SDkfGDxdV/5DlsVp6JlBt9LHG116qUuskFcOJ+9bcfAThKOvix8LZ7rJ7MoVIf8rgXyE egx6w2zqyl5kJobUaVPO91d7zUaIoViYSvQUdWncl02YbZmLmFnCbCuCNHjUIXZdhPje XRIw== 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=gIoqwKSC3Rz+XXuAQUqIX46jX3upU4QHeK3dM2OiNJY=; fh=T6Wla84sMV83luiWtDsM1JnN2+Aah8DW9i8T2z9TAX0=; b=giqRV5MTgVOvpnGb9mrwOEoooSU0LzSwlF01tuDjCKQI0XaOMnUt7YjaATrP7AfNRF 6U8aZgn5v7wHUhdbIDDGbw+y4WlFAl3nkXszlcAFLPOdThejgnZ7JAO6tyij/hcZ0On3 NiJoHZCCkYsZQoqhUqzfxTZSC6MPQtZaVpiVHLW89BG/atCxGwpMA+FBwMnOoJE2A0HY o9bYSlDHz3+G5aMQdtgLVO3OWesPQu+Qas4VSb+1DibKcMlcUTH23Y1kIIFEF7puWYDT 3s/DMwGffR9G6xGREHYWsvLK4hVEWQBl5fTd6s2zvl2qWB5t8Em7N/lo5G3sjugrpoE1 ud7Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PDHo1osm; 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=1693774138; x=1694378938; 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=gIoqwKSC3Rz+XXuAQUqIX46jX3upU4QHeK3dM2OiNJY=; b=o21tU+OMRehZ4cBCIPfcupfoESY8x3mvzeuaZlLJfpBx3nbuPpsBq2jMtvPKfwB73d 2+rB01phyprSW+Skpwe2dBs/pQSRUc3ZBWKstK3L78kRI01bPGCgMtlOZWR0cmuT3iHt n66Mgwa5tIEZZ4kr9ltIpe+UZFuKfYmFt/ZoY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774138; x=1694378938; 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=gIoqwKSC3Rz+XXuAQUqIX46jX3upU4QHeK3dM2OiNJY=; b=fJKp+bXav2twjjou+BhmrrCwnLOT4gk4iIKv4qSRVjxOwfGryqHNWxuZ1Mni4QKbMk yXQxiQYklEv0dmrsQ10EEXJyfU8omDsqa9ICmekd6wqQwTOsl4+8kt362FupphXSnLK4 IvSZkuFBx8xXuvT+Y8rifxE7tBJ8292mwcz9XaBDAveddGA07mMZ0ehiMrGW6ClFUCxM 7mMdzzdMq4yU+QflnIa2NChtFM6dNikVsHrEA4kpPF6cqj5YVAryFj1HVwFDJFD8rWZr YOuZ1Y8CHv4xSibjNyJUPpl10PN0nUEuYp2zYd9gBSoSkibsJOXvX1qPxynKTNyg8mPb KotQ== X-Gm-Message-State: AOJu0YzP0BzhdoSImACgNn6w6rDnFIuc7R8Rw2bx2IF89z9sGEi7sdoQ nVUWzCzszUWC650kw91wl+w5MZK53k7J6OyW X-Google-Smtp-Source: AGHT+IGR7QHGwSv3ABIAqNqiYBj2vKGLY5/fKqfMSu0zat3Blt6ofxS9sKr7ba2Qe9E2PJ8U6gLByQ== X-Received: by 2002:a05:6402:2064:b0:52e:1d58:a6fa with SMTP id bd4-20020a056402206400b0052e1d58a6famr1454779edb.36.1693774138398; Sun, 03 Sep 2023 13:48:58 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:128a:b0:522:3a21:f22d with SMTP id w10-20020a056402128a00b005223a21f22dls788024edv.2.-pod-prod-04-eu; Sun, 03 Sep 2023 13:48:57 -0700 (PDT) X-Received: by 2002:a17:906:c3a4:b0:99b:c038:fdac with SMTP id t36-20020a170906c3a400b0099bc038fdacmr4816639ejz.20.1693774136786; Sun, 03 Sep 2023 13:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774136; cv=none; d=google.com; s=arc-20160816; b=MRoGzFCTcYIXNGjCRgwyM2naNmzTHZK02VFxfCPtXlasywrRs7a9jcjkzl2TOGeNKp t0Sl6V/tqwKNl19wa+YtKIywLomrTYf0H/Vono2hoCSrvT9vsHNlBdqYOJNhoW7eIvWf ONlNTVh4Ny1KlFG3YaNV/Ketku2qseAphqYcceIosHQVd4Mn4f43oEP3SlrMneJ5QOpn OjqZUjovhqd/dsdWXVS18p+s4UttD+5AALm9XOO6620em+VMtc9L1ffKFz/f5z8gfwTN DqkKX1FVw5wTd2H5QDIWrCzo4hnSPLtPrESaXMv8SVKnVfYfutNQoBA8J81UQe3V3XAG i9oA== 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=SeGBw8SoAlnOF4owog5lqgWJnNfmEVMkIxCmD9KDQRs=; fh=T6Wla84sMV83luiWtDsM1JnN2+Aah8DW9i8T2z9TAX0=; b=Pi8YFmsvU1wRa81HDSdPsB9bJHAOThOzGqPn7hBzVQqQ2uGcONanP74Nu9vz7qqS0+ 0txQOJamca0TX29FNplcykUEC31oWaOHwARMsfYksCXIMOKozw49YgUduC014lQhCRPV EJDhXRhdxmlvndWk5NsHPl1IU4tJedsKmVH5zv9P4nF3OJS11cJm5Y9W/6QXtPDsoyur 91wVqz40ULUiYV+hq1hIlLj2htHhN05tkkKHW/ZI3D1/u+1p9Tkhvyaar1L/uDCfm4rH B2JYCYHpIHUxBsge85HfqW5BY78n5J6bELsv7vsnz6mYNzHZoCR9ab4rQi66Uh528NH1 JJlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PDHo1osm; 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 w12-20020a170907270c00b009a226cc89e6sor937220ejk.13.2023.09.03.13.48.56 for (Google Transport Security); Sun, 03 Sep 2023 13:48:56 -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:7691:b0:9a5:c8ad:20be with SMTP id o17-20020a170906769100b009a5c8ad20bemr4821194ejm.4.1693774136499; Sun, 03 Sep 2023 13:48:56 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:48:56 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Marc Kleine-Budde , Alexandre Torgue , Patrice Chotard , Patrick Delaunay , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 03/10] ARM: dts: stm32: add CAN support on stm32f746 Date: Sun, 3 Sep 2023 22:48:42 +0200 Message-Id: <20230903204849.660722-4-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=PDHo1osm; 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 0920ccdf41e3078a4dd2567eb905ea154bc826e6 Linux upstream. Add support for bxcan (Basic eXtended CAN controller) to STM32F746. The chip contains three CAN peripherals, CAN1 and CAN2 in dual peripheral configuration and CAN3 in single peripheral configuration: - Dual CAN peripheral configuration: * CAN1: Primary bxCAN for managing the communication between a secondary bxCAN and the 512-byte SRAM memory. * CAN2: Secondary bxCAN with no direct access to the SRAM memory. This means that the two bxCAN cells share the 512-byte SRAM memory and CAN2 can't be used without enabling CAN1. - Single CAN peripheral configuration: * CAN3: Primary bxCAN with dedicated Memory Access Controller unit and 512-byte SRAM memory. ------------------------------------------------------------------------- | features | CAN1 | CAN2 | CAN 3 | ------------------------------------------------------------------------- | SRAM | 512-byte shared between CAN1 & CAN2 | 512-byte | ------------------------------------------------------------------------- | Filters | 26 filters shared between CAN1 & CAN2 | 14 filters | ------------------------------------------------------------------------- Signed-off-by: Dario Binacchi Link: https://lore.kernel.org/all/20230427204540.3126234-6-dario.binacchi@amarulasolutions.com Signed-off-by: Marc Kleine-Budde Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f746.dtsi | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index c97b3d0d07db..dc5c257fb5fb 100644 --- a/arch/arm/dts/stm32f746.dtsi +++ b/arch/arm/dts/stm32f746.dtsi @@ -221,6 +221,23 @@ status = "disabled"; }; + can3: can@40003400 { + compatible = "st,stm32f4-bxcan"; + reg = <0x40003400 0x200>; + interrupts = <104>, <105>, <106>, <107>; + interrupt-names = "tx", "rx0", "rx1", "sce"; + resets = <&rcc STM32F7_APB1_RESET(CAN3)>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; + st,gcan = <&gcan3>; + status = "disabled"; + }; + + gcan3: gcan@40003600 { + compatible = "st,stm32f4-gcan", "syscon"; + reg = <0x40003600 0x200>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN3)>; + }; + usart2: serial@40004400 { compatible = "st,stm32f7-uart"; reg = <0x40004400 0x400>; @@ -301,6 +318,36 @@ status = "disabled"; }; + can1: can@40006400 { + compatible = "st,stm32f4-bxcan"; + reg = <0x40006400 0x200>; + interrupts = <19>, <20>, <21>, <22>; + interrupt-names = "tx", "rx0", "rx1", "sce"; + resets = <&rcc STM32F7_APB1_RESET(CAN1)>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN1)>; + st,can-primary; + st,gcan = <&gcan1>; + status = "disabled"; + }; + + gcan1: gcan@40006600 { + compatible = "st,stm32f4-gcan", "syscon"; + reg = <0x40006600 0x200>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN1)>; + }; + + can2: can@40006800 { + compatible = "st,stm32f4-bxcan"; + reg = <0x40006800 0x200>; + interrupts = <63>, <64>, <65>, <66>; + interrupt-names = "tx", "rx0", "rx1", "sce"; + resets = <&rcc STM32F7_APB1_RESET(CAN2)>; + clocks = <&rcc 0 STM32F7_APB1_CLOCK(CAN2)>; + st,can-secondary; + st,gcan = <&gcan1>; + status = "disabled"; + }; + cec: cec@40006c00 { compatible = "st,stm32-cec"; reg = <0x40006C00 0x400>; From patchwork Sun Sep 3 20:48:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2970 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8708940F59 for ; Sun, 3 Sep 2023 22:48:59 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-52a1ce52ad4sf1055034a12.0 for ; Sun, 03 Sep 2023 13:48:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774139; cv=pass; d=google.com; s=arc-20160816; b=p9ybdunCGuAU6Prt8gwYCYNbBL4s5XVGS11WMnMfjIdjTB4oj4ME2quj9VTDcMYwQ3 4qtCEmi9gDIqL5L1rLQ2VMSGEXHsPz7A10SNCD2DKmURDwrMvd2nu1S4AHJEzEry78Td VouuU1VNxJ9H3OojrH0F3+lAp5VbD9o4PSNIxUCg89XLtl1yFFx0WtiB9nU16ePVIGLg CiViUhjF4/rw3jppvGV1rKvkpKfjRMBWw3ut4d+EYBq4JfXaEWUw05ZjzvACInjCNjNt /1EVDyIkfWdHLLhlsL1aiJqsO/5vd+1uLvGG+78PpZCKHH44W/OaZI9CJyiGnQuHh994 +6Gg== 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=G1C0DRHzdEkTB79lBFXQg2jN+I+teuKoneTDkIaEDN4=; fh=vfw17V4qQOHfn5YGkst5ntErL+9s36FvQMKyvii05ME=; b=Bwl2rBcBlLbQwY2bjALmDbmsAhOqZab5/Q6cUZdGILSG/J2255XTO+gRHZyUnpyUIs C4Xnha+08n2Xggu0fnO0se2vwHsXy5AWFGVpo2x3XaLi54sj1CCqMAL3h8Iz4BYqRKoG S1Y6D2rroUwcp0DlY6llnFIjMaw0OGsYSGxaahQsuXKrH3gZtA3nbsNaq6f9Ng40rppS JiBHHPRJFJt4EQm51UZbU7SCtoZnEymsMbnKOsA7jSIl1o1ctEy44o8IKMTHDd3rUQD0 EgbnTvWZu+XO1GAJHg6Lny0ZK0XLVL1ux6jCXdNyp6mSQlhR1KFVisI8oEeqHisQdHbK hdHw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bomiAM1k; 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=1693774139; x=1694378939; 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=G1C0DRHzdEkTB79lBFXQg2jN+I+teuKoneTDkIaEDN4=; b=p1eGF9xltYtVosA+P/IilP+7/zI5rTpOUQTeMYsrv0mox+ZQUDHSrXHD/Lnd+zXOy3 L2KFGwsGsT04lgEqRDDBEAqk6JE+68xVzZ3BMwxOEiAGU4swOFNdhWrb98nJwyBYinkR AOTyAXfmRMOjwQ6WmYQyILqlvSrCSBeskd+M4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774139; x=1694378939; 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=G1C0DRHzdEkTB79lBFXQg2jN+I+teuKoneTDkIaEDN4=; b=djT6dBr8LhJ+luxtp8+c+BHcf+2GX8prgnL2mVoXgoBmLloEdUGbG9voLtjRXJWbvI oa/nWYyl4jty2XVkVx34zapH/7w8eqJdhX5gIzbT/hCL2p1lXsJAe1/CRAX9Lbl7Mb0V /lG/jArTCwrqaiPttiBAp2PKoE67BsJ9FroBivbhYAUnlxrjLOHc/s3kp878D5hoQXGY Lph62rnDd11tmMqd6XU318E2bDcTRICFq5RL5vcgzMMlaATQidzeId8W9un3Y7qDsFuM m0BrNDxCDlBDq/rK3V4EYofZvHfJM/BzUCIIFAmQupO2VezOgfI4imP0tcoZPM6vzGI3 iFrg== X-Gm-Message-State: AOJu0YzfxrRXLI+ZiY7mU+ubPduIP5hN3GN0ZTiU1hvmrKsdRIZuhqn3 lWu6551E0+NkseBnBUr9rtA7prHm X-Google-Smtp-Source: AGHT+IEUPhhcujagOVe5xLaNHnLc/XmnGmFxH1jmi0xzyD8+NuWG8WThZN+JzJNbmJYbxVmOyIRZEw== X-Received: by 2002:a05:6402:120c:b0:521:ad49:8493 with SMTP id c12-20020a056402120c00b00521ad498493mr8704965edw.6.1693774139329; Sun, 03 Sep 2023 13:48:59 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:b32:b0:525:57cc:5db4 with SMTP id bo18-20020a0564020b3200b0052557cc5db4ls426824edb.0.-pod-prod-00-eu; Sun, 03 Sep 2023 13:48:58 -0700 (PDT) X-Received: by 2002:a17:907:2cc9:b0:9a1:bb8f:17d5 with SMTP id hg9-20020a1709072cc900b009a1bb8f17d5mr8330629ejc.30.1693774137896; Sun, 03 Sep 2023 13:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774137; cv=none; d=google.com; s=arc-20160816; b=xM3dy9MvQm2w+3rvv2itnUDnye4REvrOIgAd4QnOE91HSmL4EdWN2h217mz7Lu9faS JQM3bp4gcPbq70mEUC7gNM7SQlP3ov63U/54JoUW2AOd18exuC/rIM1owns5AYznefoz 0pMNdYLJlRJQcFwLC8sWY/sTzWYDs1o8i00ueXGZoT19WuDzvcxLtaF6+9ND1NYSJBua uVTyc8+3/3M18bjXoMJ91nuOZpGXg4bzm87kaACX7P0m9WldwhkgdQJBpm5tvjNANrh4 wxobmYWHwD6r7TIfSEmG5Q+kGS4vDZCRuOod1d/Jnma+sydknWFwnJe3Mmj06ZO2Kagq aowA== 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=0tFSdaOfLgjvu5lT2Mze0e90IV6aw9wvzp074I8xHsk=; fh=vfw17V4qQOHfn5YGkst5ntErL+9s36FvQMKyvii05ME=; b=O3iVMAX1qApPcapwHLNlG6deLy66hxKAJblfogmdEoyMTKE5bYbOxAFvtyHqWys23r yzCnw/iw8u77T0YVgl8atlS2YkNwNDMlhRt4A4WaAK7IUIWpsmcVy0l4gyfVfcGv7mx4 ZtFZfZfj1jQvruBzipU9BwCwWC58Epd5ClPB3rcRh6npqmHqVixX6Vv859i609SnOeRm zTg7WXN2feXCO8Zzz6CknmZsZgK8sDBVxY1aVfzillzVyLCQwapqlj7WXKVzEiXoJPaX z8W7nmcwN5pmmMqa0WZbvDXFRpIRXx1DpZBBFb49yo/kjMldiWxjHKIQx5w3mZVeIj6a MMyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=bomiAM1k; 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 13-20020a170906208d00b009a58c3a5264sor4164263ejq.1.2023.09.03.13.48.57 for (Google Transport Security); Sun, 03 Sep 2023 13:48:57 -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:907:3e1f:b0:9a5:9b93:d60d with SMTP id hp31-20020a1709073e1f00b009a59b93d60dmr11300128ejc.36.1693774137676; Sun, 03 Sep 2023 13:48:57 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:48:57 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Marc Kleine-Budde , Patrice Chotard , Patrick Delaunay , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 04/10] ARM: dts: stm32: use RCC macro for CRC node on stm32f746 Date: Sun, 3 Sep 2023 22:48:43 +0200 Message-Id: <20230903204849.660722-5-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=bomiAM1k; 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 7a5f349e592c254f3c1ac34665b6c3905576efc2 Linux upstream. The patch replaces the number 12 with the appropriate numerical constant already defined in the file stm32f7-rcc.h. Signed-off-by: Dario Binacchi Signed-off-by: Alexandre Torgue Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f746.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index dc5c257fb5fb..7b4bd805c998 100644 --- a/arch/arm/dts/stm32f746.dtsi +++ b/arch/arm/dts/stm32f746.dtsi @@ -526,7 +526,7 @@ crc: crc@40023000 { compatible = "st,stm32f7-crc"; reg = <0x40023000 0x400>; - clocks = <&rcc 0 12>; + clocks = <&rcc 0 STM32F7_AHB1_CLOCK(CRC)>; status = "disabled"; }; From patchwork Sun Sep 3 20:48:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2969 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id C15B8414AC for ; Sun, 3 Sep 2023 22:49:00 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-52a38baa269sf435433a12.2 for ; Sun, 03 Sep 2023 13:49:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774140; cv=pass; d=google.com; s=arc-20160816; b=cEhUgcVatuN4PsaBz8eCOn3MVTlyIAXjjkWIymbq47aLF1h1lJHn3PZrK/e/Q7rOLA N/B9RZ1z0+GcYQAgJrU6wa6d0k7/yazhioVICcidpihI8bbXTkKSyUbRYv0chEISxkum dHHkUpKYRuJIolNwmhs3ib8SPzsfWGFAplERCoFA9qcdUpriIWyp9lhz2IY5ITf6Ib8H Uqxn+zkUvv3nGexJosX3c7PD7G+AuVH332839OzlIyKRoU2Lnc9L619Unpd2IMxoHYNe pIKi0gbsjz0iJ8sRi+sBkT79lK6gUTxFbOFKi12RdOgsesk869kesVXJFIbBxVmxsz9L GP1g== 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=Kl3gHLXCAE3nRURcwjtCRbkxw+/fOQMF5UVPdkHaOXw=; fh=op7YRz2SdbvrnjHrykwTf0YoeKJQqYT6N5RTx1osyaQ=; b=WV2+gb9urzEWSBn7fgNlY1NuHuGHHS8Mmzid4zD48zgq7RvaHhd+Fh3pL8SjEA7Qh2 nGUhSUMwFOdfE+KMuKC9ukH+miDVidgsoxuezULw1WdK6lmcly/I7G9S/S3YCmc1ip8s la/n1aF0WU52o5xWz16HnWMGKNFG5+yuwQb0UG105cyBItWrs8qqQdBGvjkByCCl/Dni w+OSWJMhD/VFjtykZJJT7aIZ9zKaVcZ9ngbVjaN9dgS9Qct2pvuY1Zb2n1RVOu9+cIFe ifGCVeB2/uTSq2F9AJKggaTyznPpvwN05++DT/QicrHeck4/O4tHgDXqebJAu6rZyjqB PihQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eRUN0AYv; 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=1693774140; x=1694378940; 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=Kl3gHLXCAE3nRURcwjtCRbkxw+/fOQMF5UVPdkHaOXw=; b=hkg+T1+/najoYpzV01Hf2h8Q9HXibhv5eKGSg0EmdB1RncSFdC63dpWjxVS1BVsl6j 77JrMVb7RqiMlBtId/Ez0S90F2WpPt9pkrIUFIy2h9xTWyo/rpoeyU2wdmEVB2sSxKWN 7Or5UGRpm/jFRExCCuDXZd8WgleJxuVJ2YyLs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774140; x=1694378940; 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=Kl3gHLXCAE3nRURcwjtCRbkxw+/fOQMF5UVPdkHaOXw=; b=XCVtZFxxkfRQb16fjn9V98y1RP5/I4yWDqZVyQCECqdejAYkExwoo3vsLk7HBV3e/I Evio1B7s3nm1CWZ1zPo/WRqcrHavmOdMNMdGBExGF892ZQlI68lAEwdNUrfs5S6wweJ6 dLbYD9FFrZW4YT4F/5hiRshtCr3mvZxRvFoEd1SoaAESIrwtroMsPfxtc97GaMBuqaZ+ Vkj5FwTOfFXMFWZEfsAPNpGyrqB5n/u1zvkWMX0G1+VSybwQii59pkGD9LPp7/26C8ZZ sVktMvc1vha2L7KuUHY0rnWtY3DTawqC077Tra0c44m+U8ux5CqWo65+nKu6LyK8oyOJ B/JA== X-Gm-Message-State: AOJu0YwK4JnsAoPVkqV4pVESmIWHWQbuwTllMfWfufNl+pKbUN+OnGTY Ay7RXdm3WBoWosMdd1JfsaYTIzuoxxVHWZZG X-Google-Smtp-Source: AGHT+IEI6gxe2V2GfFwn9FnMyYilJHGKyEG/RS+ZljsLkZdf9rIPtihfRVTCeOt4jlwd5MRqHpYSJQ== X-Received: by 2002:aa7:d9d5:0:b0:523:4066:f425 with SMTP id v21-20020aa7d9d5000000b005234066f425mr6301338eds.1.1693774140484; Sun, 03 Sep 2023 13:49:00 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:6d8:b0:52a:499b:5aa with SMTP id n24-20020a05640206d800b0052a499b05aals497238edy.0.-pod-prod-05-eu; Sun, 03 Sep 2023 13:48:59 -0700 (PDT) X-Received: by 2002:a17:906:8a6e:b0:9a1:bcf9:4f92 with SMTP id hy14-20020a1709068a6e00b009a1bcf94f92mr5513982ejc.8.1693774139012; Sun, 03 Sep 2023 13:48:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774138; cv=none; d=google.com; s=arc-20160816; b=WfgLs/p5mdLMfZbcO4PIrlIMzX5Jum1bN4SHXawGbnU4YFqXBtQB0035wWNDMSIXZ2 7I0ilEq40a/0kG9HufQ+QFH857KUinX/NMRzNYfqwcS5qH0uX2KOaQDP6NDRXu7FR+IZ bI60c1hVUWa674NHaLrTX8qZUxVZdvvC89aZTfX76DWfR8yN6IO8LmDsCrNYZLkbGqFN K3lJGrlpc+ANmVBRI+uVwNqBqs0LBzlevbTz/SOhfgIoUDphFnxJUKSbcpqOXos1JBGF 1alk22q86X4jw9o6IS4y/AbLJgpeDf+tfHYJPXMc0Dkt7X16rf8rtJ95XR7pi0K6azj4 l9QA== 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=j7MgzMUgLOIoOxHVOIHBX1f8KoDdp05bomfoJMS2h+Q=; fh=op7YRz2SdbvrnjHrykwTf0YoeKJQqYT6N5RTx1osyaQ=; b=MKPMpDU+NpFd7gx1PwYKcp7rRfbhZLNXmqxXoscR5cnCB1AoEL3LyTLlkU7XemVklT 8zrIOApm5SeLZ+l0o08kbJzopGiQf2p5CzuCx4nHg9APh1W30i9aIIbhT+ziPU6GphNr /Oz/jng31/Ny/eRHk51cBT/uJtHFsaa7IJoU4d9d4E7iKqiXGbvZpJWU+7XikKPGWzZf /EcTb9fLpMgxYACqucAxzXDiiNfHlRx/YjlNcx0X6fj5C9wzAEz6YN3PDu3ygzNtXGoJ d4k7+Ytht50XVQa2aIpI6XQBiL8TFiKHoBxXFF0MqiYOQJ0gti1koblb/fLzu7ltIbkq C2pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eRUN0AYv; 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 hf25-20020a1709072c5900b0099e0634b517sor2996047ejc.9.2023.09.03.13.48.58 for (Google Transport Security); Sun, 03 Sep 2023 13:48:58 -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:907:7751:b0:9a2:28dc:4168 with SMTP id kx17-20020a170907775100b009a228dc4168mr6119502ejc.61.1693774138798; Sun, 03 Sep 2023 13:48:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:48:58 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Marc Kleine-Budde , Patrice Chotard , Patrick Delaunay , =?utf-8?q?Rapha=C3=ABl_Gallais-Pou?= , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 05/10] ARM: dts: stm32: add pin map for i2c3 controller on stm32f7 Date: Sun, 3 Sep 2023 22:48:44 +0200 Message-Id: <20230903204849.660722-6-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=eRUN0AYv; 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 0637e66f8250c61f75042131fcb7f88ead2ad436 Linux upstream. Add pin configurations for using i2c3 controller on stm32f7. Signed-off-by: Dario Binacchi Signed-off-by: Alexandre Torgue Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f7-pinctrl.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/stm32f7-pinctrl.dtsi b/arch/arm/dts/stm32f7-pinctrl.dtsi index 000278ec2c58..607fe42f4f46 100644 --- a/arch/arm/dts/stm32f7-pinctrl.dtsi +++ b/arch/arm/dts/stm32f7-pinctrl.dtsi @@ -172,6 +172,16 @@ }; }; + i2c3_pins_a: i2c3-0 { + pins { + pinmux = , /* I2C3_SDA */ + ; /* I2C3_SCL */ + bias-disable; + drive-open-drain; + slew-rate = <0>; + }; + }; + usbotg_hs_pins_a: usbotg-hs-0 { pins { pinmux = , /* OTG_HS_ULPI_NXT */ 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>; From patchwork Sun Sep 3 20:48:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2971 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E798B40F4C for ; Sun, 3 Sep 2023 22:49:02 +0200 (CEST) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-52310058f1esf2105364a12.0 for ; Sun, 03 Sep 2023 13:49:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774142; cv=pass; d=google.com; s=arc-20160816; b=r1plxh6K4j90BykH1l9CTqLR0sHjdy7LuZhiP+4GgPgskuLCjjcWTkvxG4hGrOeaBi NQ9x/9teY7Wq2vwXfxrf1TvxaZ9177hrdb6lG4J1fuMtI3LbyAWluMFdWzJKE79e/zsQ 9B3V4XEXNA5bIyO6vFDHMVLxqAUIXkriCfl6k2qD1edIy/8HqdOE+cbzWzxscT/EjHNu 7NCwuO5EXdEJKINhtI2vbPQv2gg8pTh+0a7Huwwby3Vk6a8egg9cXO8F2153Y7gCmQGP pj6Y11moVVUgaWo40fdUOM29rAlHVOX2uXhIFyqXOn9NXSMeCN+zzjMlbUnvH6Mqe3BX feZw== 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=qPGzFXOWufq9iNHnIYy9P4zChLvdI/O2QLUoabYdON0=; fh=6SrFsIQOQ5RTgZVuzNXIzTkVHuqpEI8vhditSfG2kEs=; b=YGhzilDjQTkPnCztj8D6cAgQfxM/0TvN2czXQfB40DWhaHq05+qhI9Qqt+iicpHoN4 PC5p2kxbUHlKrqm/Da+mj3aXZc70UkC87/VDG/qrNKUMP8238P7IaQJVgqx2reJ650TP DpLG1QGD4wBjsNXr9lVbx8fIIrCTMPfk1wdMeOs3A75BWoWwRB6Y5zgQoyzcV2juMLRm tBd6vUHM2szUS5ELGiArHjQFuCFrO4HkOe9eqrwIbO3j+t2WKx+4cPOfR5fpHVNO4G/Z YYja5CA0ejwAnn5zTaxNHw9Ha019QPO2L3Vf6tRvnqGPluIhOEP+zFYRZ3LlZFKrK4HX WPaQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=myHTy5Ya; 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=1693774142; x=1694378942; 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=qPGzFXOWufq9iNHnIYy9P4zChLvdI/O2QLUoabYdON0=; b=WQJHpWqRlTLmeU7V8ENmhG/yf2Tsz8J0Sbq/FQAfdlXHj3mZPz1/+wN0Eu7Tv6wrHC f3bs0nopE9nNJ5hZ3tV5asynO6xm5gLxiXkhztKDxeFf2lzxCYDIdXoZxp1bipG+NXD0 w28myGvBwF1dSNmw6nxfrLY850Dx/9+XKTYnQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774142; x=1694378942; 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=qPGzFXOWufq9iNHnIYy9P4zChLvdI/O2QLUoabYdON0=; b=kp9ASaOEfE/sKHnr74+T36918QqUPYqxYG5EW6Dc0tT3LchK97hT8UbBUVwgXE/7oB nph78JF5l3JJyS5YIwMUV5bHcHef2THMVdOpG13m7ipXr/6il+5amlTQ4MI5ztw/OxaQ jWev2bVXXU5TfCs+VpPD93CT+XlAaaNLawgqKyVY98asI3dVS/lqHXg2WPNtGnj9gPe4 oLcapdceyydM87Ub/90XdQ95d1TPNCaUFBIYgj1VmgmPk5B/1VFOznQtYqW/My1NKtb7 5cwucMk/uaz+PpbCH8CEogY6FLO8nWADBZ75rGu2ZOcLO75a2kTA812PKme9gSr6A2C+ xchw== X-Gm-Message-State: AOJu0Yyoi0asGZuKvgaTFNGlzQstgLL2MtJxFILAgvMtTVK01V2qTwdv uCN/A8JMBUioxLM5SSOlJvw3Elhf7QNGlyfv X-Google-Smtp-Source: AGHT+IH15nb0ZLQkCLo3Vy5n0uuvHS2DsG7SesFM+DwEWNg4Mh8LdupNM3cff9/hMLwmprFzmDfSqQ== X-Received: by 2002:a05:6402:358f:b0:522:b9ae:db3c with SMTP id y15-20020a056402358f00b00522b9aedb3cmr12508430edc.6.1693774142746; Sun, 03 Sep 2023 13:49:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:aa7:c655:0:b0:51b:d432:a176 with SMTP id z21-20020aa7c655000000b0051bd432a176ls427179edr.2.-pod-prod-00-eu; Sun, 03 Sep 2023 13:49:01 -0700 (PDT) X-Received: by 2002:a17:907:948b:b0:9a5:794f:f3c5 with SMTP id dm11-20020a170907948b00b009a5794ff3c5mr11788927ejc.6.1693774141283; Sun, 03 Sep 2023 13:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774141; cv=none; d=google.com; s=arc-20160816; b=ykuiY7NNR2YjwDjOba6SuUMSJbYmiiBPvTjT1N4UUfEqGB+g03jgnFp9o1xu/MjaX9 m8DvfPT6bZeRRGUnHN7eL2UUD6pi5UgYk/XtaJpweQvDp/qk99CRxp9mZs45yjak6xTL pVB7E95AA/PmO8U5Qpok88lNippXnqd4B/YvEN+lV6mrZ/GWnt/ib6fsCjcxSIUUrPve JyljwAkAro6P+RGX33AwE+jectkB8/Nm+dmZVkjXkMsXen95IqMVAys3AAX4I0jkn63K 18RFVIfizBElA64wua3LcSf0p71gPLc9r8MY+xlJWbC07Wz3q7EKaZZa+uRWNSpIBtcM xXCA== 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=vIMwPnf2KQnrkWiWwfMYgbkvgGlWh3QijdH1mDNaSoA=; fh=6SrFsIQOQ5RTgZVuzNXIzTkVHuqpEI8vhditSfG2kEs=; b=Fj4boS2cGfC+80ikSOkENDgsOnXqsmGW0LHKo7bhRs2+mR5DyNViJLNsQBJ5ZyCa36 WsfoaQF1btbQvk0eva8bE1Os4/nJvnah4iP3PXcQcIvoDaRLxBlXyybJO1RMyaDKdTYD 6HGaz+5vB3J4MVptj42jyeMKYbjmHNT+0HYxLK50cmyC9YW1cV7H8ABEc9bNy67ryRwR 3gpPuMaelpvI86PU/1oP7lHziDK0D6gD96LxPrb4RadRZZaP3gyudTEkuKSEltVJdUP8 WKfxA/d8ZmpakJyabHgqn8CzGcuFpwynBoNpWZvj3+wP6KQCAgZ8ug6eJdje2xdayKzt Y8iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=myHTy5Ya; 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 sz24-20020a1709078b1800b009a1eedfcc41sor4279469ejc.3.2023.09.03.13.49.01 for (Google Transport Security); Sun, 03 Sep 2023 13:49:01 -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:76c9:b0:9a1:fc1e:19b8 with SMTP id q9-20020a17090676c900b009a1fc1e19b8mr8754101ejn.29.1693774141061; Sun, 03 Sep 2023 13:49:01 -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.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:49:00 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Marc Kleine-Budde , Patrice Chotard , Patrick Delaunay , Simon Glass , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 07/10] ARM: dts: stm32: add ltdc support on stm32f746 MCU Date: Sun, 3 Sep 2023 22:48:46 +0200 Message-Id: <20230903204849.660722-8-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=myHTy5Ya; 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: , The patch applies the changes from Linux commit 008ef8b3a1a00 ("Add LTDC (Lcd-tft Display Controller) support") and removes the same settings from stm32f746-disco-u-boot.dtsi. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 18 ++++++------------ arch/arm/dts/stm32f746.dtsi | 10 ++++++++++ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746-disco-u-boot.dtsi index 522cffb1ac9f..3c2b9fc59512 100644 --- a/arch/arm/dts/stm32f746-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f746-disco-u-boot.dtsi @@ -63,19 +63,13 @@ }; }; }; +}; - soc { - ltdc: display-controller@40016800 { - compatible = "st,stm32-ltdc"; - reg = <0x40016800 0x200>; - resets = <&rcc STM32F7_APB2_RESET(LTDC)>; - clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>; - pinctrl-0 = <<dc_pins>; - - status = "okay"; - bootph-all; - }; - }; +<dc { + clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>; + pinctrl-0 = <<dc_pins>; + status = "okay"; + bootph-all; }; &fmc { diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index 7b4bd805c998..79dad3192e15 100644 --- a/arch/arm/dts/stm32f746.dtsi +++ b/arch/arm/dts/stm32f746.dtsi @@ -518,6 +518,16 @@ }; }; + ltdc: display-controller@40016800 { + compatible = "st,stm32-ltdc"; + reg = <0x40016800 0x200>; + interrupts = <88>, <89>; + resets = <&rcc STM32F7_APB2_RESET(LTDC)>; + clocks = <&rcc 1 CLK_LCD>; + clock-names = "lcd"; + status = "disabled"; + }; + pwrcfg: power-config@40007000 { compatible = "st,stm32-power-config", "syscon"; reg = <0x40007000 0x400>; From patchwork Sun Sep 3 20:48:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2973 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B2D6440F59 for ; Sun, 3 Sep 2023 22:49:04 +0200 (CEST) Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-2bcff05089csf6185851fa.3 for ; Sun, 03 Sep 2023 13:49:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774144; cv=pass; d=google.com; s=arc-20160816; b=LncJY3duPJMcxdRIcf8d9ODyUXUN8MBbyAR9eIfOWeT3usuw4ysjB+7vYhGzuu+ApE +uSG0AeB+OC7G+TbLkA+qYsxsk+a0DJqP6X3vmTQmyCU51CMg/1ewK8myKRaPMIS0Hv1 jTQLNFixIP62kkA634pseVBpxxzPHJvXtq2OK1/kwqaZUUSpGT3p71GIBUEJoQuN4gaw RMoy/jEqkGayyCdu6teFXzPkVfeiKJ6co4FUAUIjE3CGVV+fsxGSbPVtCFWYvHjzLBTQ M8u9S/F72VIwZnRSecCmDytetytiyHhwX3E4t6AhlUQRZiZlsCVNEXlsh+e9nFgVCsVW 6svQ== 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:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ZG7fvvX3ZvtHsVR02pryqDbxbkt4rlBpjMk4DAPD8ew=; fh=DjzBmxpEfWozwM2po6oWozQz++fCFjfTzA6XUuhFKjI=; b=bUL6Tyvp6X4L13XGksLmuAXo2fYN8OnHvxRy7u1Af7w+fIR3H1G18ryHBzCfhcOK2d alBnoBJTXolbUIVSZfCPq5IDNtJnmt5lBaxLDNpdIMhobGScquW0e3eTRBjxrBaVT8Gf GXuf5sko7gjM22jLDNue/KIlaSEPbf+RBuFaOJK3y5T9Q8vPpjNvSDo3Rgz21wGxXMqv E1si0aHS2duQcRyotCKpQZ+NPubwtsD0LSEYDU5VKni5dQ+cIWDzPwXEeItyHF0Hr32K ax2HVEyF6TTC0XIiP0dg0Lq1SLFPft1+vegwkrPiLjj/agFVk4i6OhIeecWhthYJMoIk v4+w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=TpZ5xcTu; 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=1693774144; x=1694378944; 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:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=ZG7fvvX3ZvtHsVR02pryqDbxbkt4rlBpjMk4DAPD8ew=; b=F8/hka6NE2IaT09WxwRRhB3kRZLt8hccJACjx9xcnCYdlFVQ5TV6RedPTxCtdLlq/m XfN64L4WYjBpR95zUHRUvrDltZb2OhPUE7Aym3FAgXruhvAv65gcExXqR/URSKudFp36 EK1HxVMYOFoH70sRw66ClV1YB6/yA5KuXq8cc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774144; x=1694378944; 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 :content-transfer-encoding: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=ZG7fvvX3ZvtHsVR02pryqDbxbkt4rlBpjMk4DAPD8ew=; b=ivOTtvvuKU8vyhjkabAkfAD8ndRN+Ffj4Gn3eZ9io19rqxCbsRBwKJITyp4cJygyLy A7DBlLaNwI9O2VZmPWNNBfJLMUaV3EKX7JaOlkCxyWj5CXWJwlUK6lJLvtBnnrAK/e5j uZuKag3pV+EYAPMN22Af8F1GKMozuph6vmCBvXipdRD2b0SYmMMRyzjkmysyY+JFkBzK qpy5BpCoI8t8FKk2iUvYCnRiZpBtcltG1+MOQ0hSxxrYL/N9onxOXNg1rxT+R7N8zXvx KJAT8vAq9pBG5YawcaZ2kZd31mRnMsIgQwnnHiP1e31LgnJeYCA3HhnLJwCBKe2qdJtC qKMA== X-Gm-Message-State: AOJu0YzkNsBr9QnKAX8KKKXAvc+U9YeBX7MMa+TT4bCdAiSY/H7dLAYt BrVtSMSRmndqbYvroyxITOx3iJdIjEUHn4MM X-Google-Smtp-Source: AGHT+IG8U/l6hOjQonMUjt2E6JOKak9IBv022CpwUmjzKX4dGc7ajf9clMpNIkaqGyYtmRkTTRulTg== X-Received: by 2002:a2e:95d3:0:b0:2bd:133c:2d71 with SMTP id y19-20020a2e95d3000000b002bd133c2d71mr5448140ljh.52.1693774144271; Sun, 03 Sep 2023 13:49:04 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a2e:9aca:0:b0:2bc:b6ef:c3f4 with SMTP id p10-20020a2e9aca000000b002bcb6efc3f4ls174624ljj.1.-pod-prod-07-eu; Sun, 03 Sep 2023 13:49:03 -0700 (PDT) X-Received: by 2002:a05:651c:2226:b0:2bb:bf81:70f8 with SMTP id y38-20020a05651c222600b002bbbf8170f8mr6530391ljq.48.1693774142521; Sun, 03 Sep 2023 13:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774142; cv=none; d=google.com; s=arc-20160816; b=gF3fTRaYioWGaceXcLC/j71EFIwShy3QFpDyp6vjitfFSMqMAQcDac0uwhdJZ3M6/b tRU5I72Fk62G6evymVx73sTKq6j9Jkh8C9MMzMkC+xahxrkx1agG+n0D1p+Uf2nLZPUM iXyiwEKt3+dLAxCMHefxpSdIwZbigxomNSR4fsM/RXahxM1e0hAgGmM/KSJ1nBId2Fnw 6EZEN4maaOdlsv1B7ej+zPExDrLJMLKSiwOn7IFcYGEQhwFov9WQAmjF/MsWifwLRKcJ LkWwEm4e6Ecv+juqhLpJxOqmw5rijRNPdD1beUY9nmvoU0PvT/UuROU4tKav50Pemi0X kQpQ== 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=jcWhLjODsHJathNyERlIz1JMPXa8o1RlwkEl/JZ4e1M=; fh=DjzBmxpEfWozwM2po6oWozQz++fCFjfTzA6XUuhFKjI=; b=GAU9/pXOSXGh2PFOSeCqgJbT4NrEPc45QArPzYXYtEvBq3NTblFsRlfuJdY1BiUH+E KJTBFJEEWrzcfmoWOu3bIGwUq8vK5uHaJamRnySbbbaNieHZk0IfD46RIEGmxALsYm0q roYsiT/7JrqCa7/htwlXaLn1Geb59hWKvFYLcTiZurgqIp02awxV62kbTdfWqV41hCtH ewKeQsNUMJt/cxFv23agix9eUSJknLrhiWGTzf+l5bKGNZkqXuOw9HkJdCbh/Avuxruo WsuIbo5irvLF59xmZuaNl1lnSCOL+NvH3gaEtTBxPN6reiyDdg7kVyi16E13cjEOPLp4 0xPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=TpZ5xcTu; 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 jx8-20020a170907760800b009a1ab8c455bsor2194830ejc.3.2023.09.03.13.49.02 for (Google Transport Security); Sun, 03 Sep 2023 13:49:02 -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:3116:b0:9a1:8a54:145f with SMTP id 22-20020a170906311600b009a18a54145fmr5517579ejx.40.1693774142293; Sun, 03 Sep 2023 13:49:02 -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.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:49:01 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , =?utf-8?q?Rapha=C3=ABl_Gallais?= =?utf-8?q?-Pou?= , Alexandre Torgue , Marc Kleine-Budde , Patrice Chotard , Patrick Delaunay , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 08/10] ARM: dts: stm32: add pin map for LTDC on stm32f7 Date: Sun, 3 Sep 2023 22:48:47 +0200 Message-Id: <20230903204849.660722-9-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 Content-Type: text/plain; charset="UTF-8" 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=TpZ5xcTu; 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 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 ba287d1a0137702a224b1f48673d529257b3c4bf Linux upstream. Add pin configurations for using LTDC (LCD-tft Display Controller) on stm32f746-disco board. Signed-off-by: Dario Binacchi Reviewed-by: Raphaƫl Gallais-Pou Signed-off-by: Alexandre Torgue Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f7-pinctrl.dtsi | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/stm32f7-pinctrl.dtsi b/arch/arm/dts/stm32f7-pinctrl.dtsi index 607fe42f4f46..d3706ee33b5f 100644 --- a/arch/arm/dts/stm32f7-pinctrl.dtsi +++ b/arch/arm/dts/stm32f7-pinctrl.dtsi @@ -376,6 +376,40 @@ bias-pull-up; }; }; + + ltdc_pins_a: ltdc-0 { + pins { + pinmux = , /* LCD_B0 */ + , /* LCD_B4 */ + , /* LCD_VSYNC */ + , /* LCD_HSYNC */ + , /* LCD_CLK */ + , /* LCD_R0 */ + , /* LCD_R1 */ + , /* LCD_R2 */ + , /* LCD_R3 */ + , /* LCD_R4 */ + , /* LCD_R5 */ + , /* LCD_R6 */ + , /* LCD_R7 */ + , /* LCD_G0 */ + , /* LCD_G1 */ + , /* LCD_G2 */ + , /* LCD_G3 */ + , /* LCD_G4 */ + , /* LCD_B1 */ + , /* LCD_B2 */ + , /* LCD_B3 */ + , /* LCD_G5 */ + , /* LCD_G6 */ + , /* LCD_G7 */ + , /* LCD_B5 */ + , /* LCD_B6 */ + , /* LCD_B7 */ + ; /* LCD_DE */ + slew-rate = <2>; + }; + }; }; }; }; From patchwork Sun Sep 3 20:48:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2974 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B84B6414AC for ; Sun, 3 Sep 2023 22:49:05 +0200 (CEST) Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-993831c639asf51376166b.2 for ; Sun, 03 Sep 2023 13:49:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774145; cv=pass; d=google.com; s=arc-20160816; b=NshMZLl01MVLLRDtkoNf7Yr2oNvHCai+OhVIVh40b4A/MP9NKv+5q/BHG/78L7wgFt UF61lPS0XT8CgSGRvQ4efLjXYolfiXnwwceFqBVIpgrpvSwVriycYSmvuDMToGJSqXWY uxbtjG52bLoYLytA6+EayzOTp1lA+b25RlKx10NrFKqkeapT9wIbNTlv8MSnjyxsH0gn Mk3Tofwraw51Hol5rsbqF/ueyDQVhcHN7ydfZSvjqWVigqETN5HMQpaT/dPrV7EAnroX 8LtjvkIu05mqHff8+75/d8LK8BZkU0SiUL1cOqmdj7HqdKoDPtRQoEg8yNZkM3B0YBdA xzOQ== 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=im48j6JuGCfM2U6ycB2emT0nF2lhygYo4LNPUWnrSmE=; fh=RTsDpTSQd2i4IcQE2PnZDihkDdnXGRzVlUUiq8taQcY=; b=W9NCUsa8PuN+41uqF3L0CFYmkfjalw749dh07rObwEHsmfhq/g7p50vmbS2UYHoCV6 BQxR6+nX2IuFDxqW1GLaDN5+SHyNDY0QtghYe08Cq9RybhbC7JgfwB0mgEVYvFORbQc8 8PQNuqfT2MhUsTrBhHCDTbggFLvTIa8UOy3cGGZUPsm+6eQPxtfoYDgnqqDHCWhBm/l/ BHpfPSTMRC0VB4RF69n8m9luzq1UDaKunI11TQSvkyaqLuoq1Xk/qfpc24mDgNK7GOpI fmhHwvXhhDdX31+LXPtkgoOAzr9PmLMJ/1jebvOERwSndPtzc5Jo7t4oIpeeNFo5KfuZ eLlA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eNQWQ9FC; 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=1693774145; x=1694378945; 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=im48j6JuGCfM2U6ycB2emT0nF2lhygYo4LNPUWnrSmE=; b=RoseN4n1GNqwVHO0LLRw2/1N0wOdQzMmxNWPqGLHskd2U0Uf43UYLtDS/qeCWty+am 1K3zs0pLaPZFK+4nxWiZis9+UHkMSO0tJH/RxfqpxC8uXZ9fE3qOgSVTTEUtbOoQ4I98 E5xTpYsKQRcy5ncMYXod54esWbma16XtzkshY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774145; x=1694378945; 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=im48j6JuGCfM2U6ycB2emT0nF2lhygYo4LNPUWnrSmE=; b=cTWmc4GaybOa+yIgLmE1XdjAufO5dKuk2xLFHPfEUns98od6FqXw9+vrT/fbLTS0Xc zeg8W+JzFB70UKihQR9KW1/0C/HG62F5uOTdJJ/UKpTU75XAGDnm+WXj+3FtEMjg4mW4 U9IXrwACqQhUYVcJdNo8IAZ2gRUis4DtHkqZaOEpBwIj9AVwG2m3BNpyNq2rXU40har7 PupHIkaEwaIavNZnyfarC56YY3rYy5lAZCINF7l5qZaiiwtEPCn9ZYTDsTNhcE7sdbD+ X77umZDjarY3cgijHmu3siHhE2AWbSeYc8wwpckeQm5qtUnBWphMkxP4JYUNywvl6Zec ns/A== X-Gm-Message-State: AOJu0YzWh5bqFsDqzrHHw8RJ6OM3BaTtLy9WcdiWuP0WeYQyH1W6w5GU r3ksE+IN5z5GGPGHzc8wQWJUC9kS9RS+ecMW X-Google-Smtp-Source: AGHT+IGSLuDeKa64PUwj95q4bqirKumSHShDYB4Hu+yxPH1aFjWnQWSknnzOXgm83rpBKBKhdlWUUg== X-Received: by 2002:a05:6402:391:b0:523:33eb:1103 with SMTP id o17-20020a056402039100b0052333eb1103mr6432583edv.14.1693774145484; Sun, 03 Sep 2023 13:49:05 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:401a:b0:52e:1af1:c52 with SMTP id d26-20020a056402401a00b0052e1af10c52ls257323eda.1.-pod-prod-05-eu; Sun, 03 Sep 2023 13:49:04 -0700 (PDT) X-Received: by 2002:a17:906:1d:b0:9a1:be3d:e24 with SMTP id 29-20020a170906001d00b009a1be3d0e24mr6239513eja.73.1693774143714; Sun, 03 Sep 2023 13:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774143; cv=none; d=google.com; s=arc-20160816; b=UnDJ/Oxv0E6SGgybBTBpUnzHYx8QqcAfJ0o64mK1urH08gXFG7VJSnNaBczOfMLBZI FEGFe0EWEVU8xl2vjQfg3GD1oIDN8+kOOmZ2z4Gw06e10OeDdIdhKayCYhEyQp4R9XU4 sU0D4i1pLohbzxXNzOcXtPuf9e6KEwmemGccw+ZNSGaXANHVyYW5Ei4ixtg97D5gIEGV NutAsRLmOn5/mLICNiujkaZhsMb/K06mDqAy83TrTZGBFp1EYcxfeDEV0UVcgTEdWCpi gIF6PPqyV5gYMdRj1b1RIbsBj/QcJPYqDIybZ+10KMml83swghBL+HalcewCsm8S6clY 4QxA== 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=4aQ/spxaSMEggXIYz8OYteRC3aFv4G+4nlQfhxgjoF8=; fh=RTsDpTSQd2i4IcQE2PnZDihkDdnXGRzVlUUiq8taQcY=; b=oSZCL95/aRD720YHCNaHmlgyZJCyTzCXEPB5ncidOkdWBQEse7xj+BuOiPqL9kYzcw UPuUO7DDQOrbvUYNmnUvYPzKRqzhzbazx0X6t2yscroimf5mraAYOdnrn7YI6eJaUFTN y4ncCsPd1BiSQP8u5v0pRrlRpvHg5QFwU74E0o+MAy+ZfQnOfZg5v6rrQoiYild1dnOu 1KxQQv7OZlNflUJwcpI2HRHmYaepOjugumuv/5m8mQ3CSlB1eRV1rNfh/r+B9P3+4jS9 OUc2y6SXde5vsfxbxGWA7CrW+JBcZI8Q0lrcajg9x7hmgz43tDzuxEDVqGjm9IBG7AgG RWKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=eNQWQ9FC; 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 jz20-20020a17090775f400b009a1fb4b1b2bsor2995352ejc.12.2023.09.03.13.49.03 for (Google Transport Security); Sun, 03 Sep 2023 13:49:03 -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:2201:b0:9a5:cf23:de5a with SMTP id s1-20020a170906220100b009a5cf23de5amr4969382ejs.45.1693774143432; Sun, 03 Sep 2023 13:49:03 -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.49.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:49:03 -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 09/10] ARM: dts: stm32: rename mmc_vcard to vcc-3v3 on stm32f746-disco Date: Sun, 3 Sep 2023 22:48:48 +0200 Message-Id: <20230903204849.660722-10-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=eNQWQ9FC; 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 e4e724099f04072053cf411456e3e9aae48c4af1 Linux upstream. In the schematics of document UM1907, the power supply for the micro SD card is the same 3v3 voltage that is used to power other devices on the board. By generalizing the name of the voltage regulator, it can be referenced by other nodes in the device tree without creating misunderstandings. This patch is preparatory for future developments. Signed-off-by: Dario Binacchi Signed-off-by: Alexandre Torgue Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts index 9541f449fd0e..e1564d69f9f6 100644 --- a/arch/arm/dts/stm32f746-disco.dts +++ b/arch/arm/dts/stm32f746-disco.dts @@ -44,9 +44,9 @@ regulator-always-on; }; - mmc_vcard: mmc_vcard { + vcc_3v3: vcc-3v3 { compatible = "regulator-fixed"; - regulator-name = "mmc_vcard"; + regulator-name = "vcc_3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; @@ -82,7 +82,7 @@ &sdio1 { status = "okay"; - vmmc-supply = <&mmc_vcard>; + vmmc-supply = <&vcc_3v3>; cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; pinctrl-names = "default", "opendrain"; pinctrl-0 = <&sdio_pins_a>; From patchwork Sun Sep 3 20:48:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 2975 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 1D0323F07F for ; Sun, 3 Sep 2023 22:49:07 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-52c55b44141sf642731a12.0 for ; Sun, 03 Sep 2023 13:49:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1693774147; cv=pass; d=google.com; s=arc-20160816; b=HU5RYMZOikaGk5UxS9JF6hmtpcHVbNuuSdQmwArZzSAZ0QwNk+IsgHcZD0cJLl57X6 XiYOJ7a9h/Gt1vlXSm2y9sImLX0ObDPTK1QOgwKSqPSmYpfuYjED5pApjCbqIVjgeGtT x04sbQYk/j/jVxx4eaqsZza+WLs7lZ9JS22sOmWahLI9u6Z+LDpbCno9YksAowcWn9mJ prp7RAOk1cyLath/ENVBnSOWqDmsbV6CNWeHaQoJ2tP7cRF9BfG6NjuzD01ilQkIIxwq vmQmHdnNA4LVbWvRzTPZX+avUl5hu1rB1miQT+Prqxi7wAdZlrO0yfhbCqV55GjgbTLi oiSw== 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=VKrR/SYiTR+JlIlcC8H12QCDRoemS62QVm70Q9Vu0To=; fh=OqPnpdkvWe3hOe7kuN/AgsVcu1+5Hf1fnhFTOCNtx0Q=; b=c+uO36MP9WLOOh2SVKQNX+0KTHOmojvh6NV5wC5iZC/Yfd5X5dqn7GOIepVTrPz8og dybhgA2MFozWub0gIXj17kmmf7coZQelQvmbV3si67WuFC40m+eNdcu5Wvdi9NIRnPEA RwvEt+f3+bkLwrU+jJFg2iMntIls304dpYSP11pYDCRGmvL8gibMwg7yiPFG65inrJSA qK3ma2gtcbkzuoh6BX4iat5L1fjYY7m4N+tlOXA+Pf92SBJRsOvKPsq0mBdmBv9QEmBm EBLerJhCMwwnqD6OXe+vX+4H1y061o4OX6FgYohnuhuFAJuL26E9JSStHi37UkCDNDs7 Xxxg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Qqut8XEn; 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=1693774147; x=1694378947; 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=VKrR/SYiTR+JlIlcC8H12QCDRoemS62QVm70Q9Vu0To=; b=TZoPtCnjozmn/I/Mms+EgBTT+X8v8w0xguihsIQ/GiDxHd0vj6tmNX8omJ2Qoy7eQg a/dj41CsfnnHVl405yl25J+x0JqWq/2N2DlWAUuVHBK2m1gLQgtoryRORFE2SOvQBsJg a1VVzDFefTfldsbScsA9rulReoVThKJN7CurY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693774147; x=1694378947; 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=VKrR/SYiTR+JlIlcC8H12QCDRoemS62QVm70Q9Vu0To=; b=Rso3rK0R/Ss4sGUBj7upSxYW02SkkaV/5AKVv2OT2X2ZyrvbvaO/BqogFn2wQTSSD3 929FTrLH/ZHTTAiyhXhj8od1P5OeOVEzvE1gou54o2YGjeaCpa3Jc1GYYBKmyWehrvJs NL01H5Sxozb0OTcAE/ygPhlzFtab2v6m7nSc3mGV7buj5UQ5c/kGQUMTs2td9Ludftln 9W4xxFr8uq9FuQwnyqtlObbOpeXAH2KkKi9u0COncYNuqTuqpjF9kuhuaYWenX2iSBSX J/qJlU87/vuBKKVlPyYdY9jNULZjsBVbsbIn+PPMkGkXiQ3oMwyfgCCk2ul117NCqUP2 yvVg== X-Gm-Message-State: AOJu0YywsBit5O8guTYEKQCHEY3HsZ7W1qXXGSpNJr7WR1xEOtpLSp8u elOkuVEeYEnIDvcHYiMbmlSZAErz X-Google-Smtp-Source: AGHT+IGxpn6LJ7+aGlsa+8bpho2ZZQzuI4QQ/2QdTcPx0kPmRCo0H3hPp0znayqLrrpb1sqSTlozmQ== X-Received: by 2002:a05:6402:26c8:b0:52e:33ad:4031 with SMTP id x8-20020a05640226c800b0052e33ad4031mr403640edd.40.1693774146931; Sun, 03 Sep 2023 13:49:06 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a50:ed02:0:b0:51b:d33b:40c7 with SMTP id j2-20020a50ed02000000b0051bd33b40c7ls1414181eds.2.-pod-prod-08-eu; Sun, 03 Sep 2023 13:49:05 -0700 (PDT) X-Received: by 2002:a17:907:2ccb:b0:9a1:e293:987e with SMTP id hg11-20020a1709072ccb00b009a1e293987emr6747457ejc.50.1693774145063; Sun, 03 Sep 2023 13:49:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693774145; cv=none; d=google.com; s=arc-20160816; b=PD7gjReqYiioNZEb+Szh0xmq03thX9bTAorYBjswBOGEZ7kPC1GBXEtzaciPsP4j5M vOlOlIkX5GDSUpOlWdU1SkByvnb4mXmyDVSPRvaaS9N/KiyhmMahwsE+RYL3ehsUFcCm ZwRiy/WI9o8fkxDBLFiH1VkyZt6z/dHzwXo5XkUfEeDL5iphFJT55fNV8LpK8G7lWwvW tG3cixzYK+ldqh31NHoWzcHBgsRM1zLuDDUaG9RQoRMG4Au+CY+cAOj7fcEp9yK2jJKl XTcHfTh6DTGuwA3/7iEJuIQi5aJ1pD6UR1IFKb7WAV+H8tKGmKW0ikMctqXDgtWvgwxQ Uh+Q== 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=oU/q22HAug8UzsnmuC0vhco1L9LOpbnUW7H8vuRFmVk=; fh=OqPnpdkvWe3hOe7kuN/AgsVcu1+5Hf1fnhFTOCNtx0Q=; b=NSh3oK9awBKCZEP3pbCcVFk7lX6/KmKtMSBGUU2HZ9p9mnRynUhyfDJmHgKhU96EMY 4RfqyPJCXNUGrwiNGJ3wni8dyEeku/WYx9FNzIJfVEBxgsMAzebRdJ4CuF7cO7BljLjj OZ3oTaXELGDiqZ7U6U3HaXxhkbpisNG4C/beZIcb4XgD9O+AIEGrgVg+fJOHXA4vEPVx omtuoLi9/w9n3X/rAqZPNcxLpsN6qURcYdHLWYk93JzeeKj4oQYx+7cPTu1E/Sq1K6xE CdPX/JUmO/hD6Kxe72JAxC3UYYTiTfk7xA3xN1m+QuDznf+itKUqkoBzZdbbHbGZxNyz QcqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Qqut8XEn; 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 w17-20020a170907271100b009a1bb8efc12sor3140859ejk.7.2023.09.03.13.49.05 for (Google Transport Security); Sun, 03 Sep 2023 13:49:05 -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:2210:b0:994:1eb4:6898 with SMTP id s16-20020a170906221000b009941eb46898mr6619562ejs.9.1693774144766; Sun, 03 Sep 2023 13:49:04 -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.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:49:04 -0700 (PDT) From: Dario Binacchi To: u-boot@lists.denx.de Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Alexandre Torgue , Patrice Chotard , Patrick Delaunay , Simon Glass , Tom Rini , uboot-stm32@st-md-mailman.stormreply.com Subject: [PATCH 10/10] ARM: dts: stm32: support display on stm32f746-disco board Date: Sun, 3 Sep 2023 22:48:49 +0200 Message-Id: <20230903204849.660722-11-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=Qqut8XEn; 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: , The patch applies the changes from Linux commit 10a970bc3ebfa ("ARM: dts: stm32: support display on stm32f746-disco board") and removes the same settings from stm32f746-disco-u-boot.dtsi. Signed-off-by: Dario Binacchi Reviewed-by: Patrice Chotard --- arch/arm/dts/stm32f746-disco-u-boot.dtsi | 89 ++++++------------------ arch/arm/dts/stm32f746-disco.dts | 44 ++++++++++++ 2 files changed, 66 insertions(+), 67 deletions(-) diff --git a/arch/arm/dts/stm32f746-disco-u-boot.dtsi b/arch/arm/dts/stm32f746-disco-u-boot.dtsi index 3c2b9fc59512..1b42d6cbbc19 100644 --- a/arch/arm/dts/stm32f746-disco-u-boot.dtsi +++ b/arch/arm/dts/stm32f746-disco-u-boot.dtsi @@ -23,12 +23,6 @@ spi0 = &qspi; }; - backlight: backlight { - compatible = "gpio-backlight"; - gpios = <&gpiok 3 0>; - status = "okay"; - }; - button1 { compatible = "st,button1"; button-gpio = <&gpioi 11 0>; @@ -38,37 +32,10 @@ compatible = "st,led1"; led-gpio = <&gpioi 1 0>; }; - - panel-rgb@0 { - compatible = "simple-panel"; - backlight = <&backlight>; - enable-gpios = <&gpioi 12 0>; - status = "okay"; - - display-timings { - timing@0 { - clock-frequency = <9000000>; - hactive = <480>; - vactive = <272>; - hfront-porch = <2>; - hback-porch = <2>; - hsync-len = <41>; - vfront-porch = <2>; - vback-porch = <2>; - vsync-len = <10>; - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; - }; - }; }; <dc { clocks = <&rcc 0 STM32F7_APB2_CLOCK(LTDC)>; - pinctrl-0 = <<dc_pins>; - status = "okay"; bootph-all; }; @@ -96,6 +63,28 @@ }; }; +&panel_rgb { + compatible = "simple-panel"; + + display-timings { + timing@0 { + clock-frequency = <9000000>; + hactive = <480>; + vactive = <272>; + hfront-porch = <2>; + hback-porch = <2>; + hsync-len = <41>; + vfront-porch = <2>; + vback-porch = <2>; + vsync-len = <10>; + hsync-active = <0>; + vsync-active = <0>; + de-active = <1>; + pixelclk-active = <1>; + }; + }; +}; + &pinctrl { ethernet_mii: mii@0 { pins { @@ -160,40 +149,6 @@ }; }; - ltdc_pins: ltdc@0 { - pins { - pinmux = , /* B0 */ - , /* B4 */ - , /* VSYNC */ - , /* HSYNC */ - , /* CLK */ - , /* R0 */ - , /* R1 */ - , /* R2 */ - , /* R3 */ - , /* R4 */ - , /* R5 */ - , /* R6 */ - , /* R7 */ - , /* G0 */ - , /* G1 */ - , /* G2 */ - , /* G3 */ - , /* G4 */ - , /* B1 */ - , /* B2 */ - , /* B3 */ - , /* G5 */ - , /* G6 */ - , /* G7 */ - , /* B5 */ - , /* B6 */ - , /* B7 */ - ; /* DE */ - slew-rate = <2>; - }; - }; - qspi_pins: qspi@0 { pins { pinmux = , /* CLK */ diff --git a/arch/arm/dts/stm32f746-disco.dts b/arch/arm/dts/stm32f746-disco.dts index e1564d69f9f6..431275134033 100644 --- a/arch/arm/dts/stm32f746-disco.dts +++ b/arch/arm/dts/stm32f746-disco.dts @@ -25,6 +25,19 @@ reg = <0xC0000000 0x800000>; }; + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + linux,cma { + compatible = "shared-dma-pool"; + no-map; + size = <0x80000>; + linux,dma-default; + }; + }; + aliases { serial0 = &usart1; }; @@ -50,6 +63,25 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; }; + + backlight: backlight { + compatible = "gpio-backlight"; + gpios = <&gpiok 3 GPIO_ACTIVE_HIGH>; + status = "okay"; + }; + + panel_rgb: panel-rgb { + compatible = "rocktech,rk043fn48h"; + power-supply = <&vcc_3v3>; + backlight = <&backlight>; + enable-gpios = <&gpioi 12 GPIO_ACTIVE_HIGH>; + status = "okay"; + port { + panel_in_rgb: endpoint { + remote-endpoint = <<dc_out_rgb>; + }; + }; + }; }; &clk_hse { @@ -80,6 +112,18 @@ }; }; +<dc { + pinctrl-0 = <<dc_pins_a>; + pinctrl-names = "default"; + status = "okay"; + + port { + ltdc_out_rgb: endpoint { + remote-endpoint = <&panel_in_rgb>; + }; + }; +}; + &sdio1 { status = "okay"; vmmc-supply = <&vcc_3v3>;