From patchwork Mon May 13 14:27:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Barsanti X-Patchwork-Id: 3092 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 BBD0F41362 for ; Mon, 13 May 2024 16:28:21 +0200 (CEST) Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-5729fd97df9sf1372884a12.1 for ; Mon, 13 May 2024 07:28:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715610501; cv=pass; d=google.com; s=arc-20160816; b=X6gSBK7PpqKMbihRRoZgy62Kaz8VUrvTK3Z0QIAp8gOQozNf9+WqwICxMliwpzh5bX irlAojrRtt85ZTwWpkhx+5c8VDgmQCgupXFlLLjYxNHvhueb12+zKcLoV0IZR0WLNPC0 /x4WYKHsi8A5gQ9IV5/I7Rh6K0E4lazD+4NxlSnqaK8n7910I+9l68311vowBjpyRzC4 bx8YY2yVHyYhuEjnh0YCWqRfzc70qU42fjwvMcoNbuRnakWMcCu4g4akUc49xOw32CMn HQpyzH02rF14XS0DLZ3+GDSbzBVHkzq0MBVfhh4q1dwmGdX4OywBtucRGIb/kpWGK+V5 f9eg== 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:to:from:dkim-signature; bh=ga3gPbwEc8XR3KqJQO2GCyTt5nRlCbFYcAfxdDvpFTY=; fh=lzSp433+7fdBI+9/JByJ7GMi1Kj1jf7XI2XASqZr2iw=; b=VOCIsJTOY0G8BUsyLJq1isPC/mg+FpGgZsOIcEG5iuQWSsUqvzU/mDdd2NT0zk4JtA abH3DLXSDCTUhinHCndDOSXEEc51RWEP0dB+0kACaw8Ku9G0Ev9oNSRvjoWkz5K+jqv1 E8M39FaUZdbKPdro+flntd8uX5jZuTX6LlczS3gm0cUiMLlzuNmePneSleC6K0EcHQ7Z ytC/xKI4rTIrKQFcWskyAt2l/lUDFJ44LEqel8sWr0sFSsXv/LTefrBWCKaaJdqIv6Ik hhbfGAjs6ha+qttsq+g84Ng+kIKBRUhbVK8wPKJXsRuc6Xo+Be0VRdBRGNzUe/D2ma30 8Vrg==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IEj2zUnR; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@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=1715610501; x=1716215301; 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:to:from:from:to:cc:subject:date:message-id:reply-to; bh=ga3gPbwEc8XR3KqJQO2GCyTt5nRlCbFYcAfxdDvpFTY=; b=mlwA3WsFOSC1KVzNw2HIwx9KN7iW18kk3DycBkfZwFXMzQH6OISPXr6mDatixXhS2j ev3PRfDcpfcreVBS58Eca1sip2J7mCzzmGWIJl1pCVGM4FUpUt6y0yFmOSkhiBvdWJnu ncT8iAMd0OeO9Q9Pu7G8J3IO3/l+nE7snbQKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715610501; x=1716215301; 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:to:from:x-beenthere :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ga3gPbwEc8XR3KqJQO2GCyTt5nRlCbFYcAfxdDvpFTY=; b=V8Ud2q5+QIQ1mswez32uJ/9blnDX+qvrClpLpTDE0eYn4OJWy3P63cJqwM3LOMUc0J EiyUkL6dB5tDLaZLTqG3h2Tqhq0QWIBCNKwk26zgP9WPemiAoylVzCxcRgd0q/oIN+N+ LE+c4+CJbdNQhkF2rw8QL0luFdW0pnySwpniI0KMlbOUQh1haNfR/HgcaOQybkjirdkf 8atno9tQXVktG5aj2Md6bQ/nhWo2iDi3G4e7RMaiZ10cJd2Za5cumxOulOVmKYysxkoE iJNjqM6ENTtNXKvt+qeXJs2hgrjGC11UednZfd9ZDdLOy/sOfVvBqxrQPZiAyQVro//X wPVg== X-Forwarded-Encrypted: i=2; AJvYcCUK4DzALdbF0FUDdthpshbzOUCF06CsOJO7WqQDM7JSGYlMqpKJpTcbt9iM0YD3qimusOoiCArj1gSy4R389ie4cLONwRm96vNeElpaVLQglp7xz+pR5Y+jhjECQA== X-Gm-Message-State: AOJu0YzPCznWLPPhy7k1sKYqr4NhBbFFN8QTd7dlrqsgSRowrIfKgmbI xxaF+2rBiqBeAFkRWscqxObt5Em+ndeMv+kkgTiFbcpoI591BNkhTuPx+G4hfLD74w== X-Google-Smtp-Source: AGHT+IG6ocO5Uk3Rm0A/QvYvZ77vQuoKZQ8Z96JI0BLuXJ06YUxFw4VASYNaIvpyA2+5sMRFjl3U7w== X-Received: by 2002:a50:8e5d:0:b0:572:6ab0:6afc with SMTP id 4fb4d7f45d1cf-5734d6b1c30mr6539950a12.33.1715610501392; Mon, 13 May 2024 07:28:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:4016:b0:572:7d08:6046 with SMTP id 4fb4d7f45d1cf-57332e48979ls38149a12.0.-pod-prod-04-eu; Mon, 13 May 2024 07:28:20 -0700 (PDT) X-Received: by 2002:a17:906:3ad2:b0:a5a:8ef:815f with SMTP id a640c23a62f3a-a5a2d665771mr590532066b.49.1715610499831; Mon, 13 May 2024 07:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1715610499; cv=none; d=google.com; s=arc-20160816; b=mfyu7AbNj7ujB/sV4GiFyvZajiGWkpPt3x7+ivUfPA/H/KBySMQldJeTphtcBaN+4U nD+PQezFAjgd7MjiB5xE15o8f3N1pFB3bQS7vO8lpNatsm+RGnrpNGM2a498OuF5qKlz 4ZsrNkbbvP7dTFDrkTonRb4hFBPSpMCXbZQkl/r7EVXSmJh+sySqMo6NCOsxE8kzCX9s SnwRoCcaUcPLXin4EDzooyW55K3fKv0+CH/gwvM6612VFqhcn9KnUNtkfpjR6hbdbGXD epjOpR0HAoXjiJzrx35fiYm//Y2yONd9At5eQamPiQTipJzYEkwe0Uoe75AI8V6bYcR1 fahg== 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:to:from:dkim-signature; bh=KeoNhAAt7GeiqAvhcWIhXqjz74cLrVKLenbZDGym5ws=; fh=FtQepR0uNoeKT2PVdKfTKOkvEYfwbRmoVE9BmlYw3tk=; b=G3W1JMbXwHiAgSAGwNffyFEKiFex1qZ00gEPu6uDMcJYysFSnWiDkJ66MzjXeWthTb nIWENFiXoROhRTXVmmlWfeIgq0mRrVT+rlJCL0B2H9JZYpUQ/s6iHjrzTr3jywotXLKm FivfStHEG46zdI44Mdqt4BotRWZZpfunrtfBdSzBQEE6CFCSBqL366n7rmpx7Uz8dWzm nveg/gTpY8Qdxv/dTpJR3V1THcDvJM53KZSk3Lt2rqu4MbCUUzBNjQvwciKSEzrN4cw9 vPpyQT3hBTbZwpEHg/0k3ULw99HlakSIFWQugc/johvgwFFsemo018GnS8VIFGWJwJ5g h5Ug==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IEj2zUnR; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@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 a640c23a62f3a-a5a2e651966sor238744466b.15.2024.05.13.07.28.19 for (Google Transport Security); Mon, 13 May 2024 07:28:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:906:13c8:b0:a59:cbb5:e09e with SMTP id a640c23a62f3a-a5a2d6669b6mr656190866b.58.1715610499331; Mon, 13 May 2024 07:28:19 -0700 (PDT) Received: from localhost.localdomain (i116103.upc-i.chello.nl. [62.195.116.103]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b01517sm602569366b.157.2024.05.13.07.28.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 07:28:18 -0700 (PDT) From: Patrick Barsanti To: linux-amarula@amarulasolutions.com Subject: [PATCH 05/10] arm64: dts: imx8mp-icore-mx8mp-ctouch2-of10: add CAN support Date: Mon, 13 May 2024 16:27:42 +0200 Message-Id: <20240513142747.238064-5-patrick.barsanti@amarulasolutions.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240513142747.238064-1-patrick.barsanti@amarulasolutions.com> References: <20240513142747.238064-1-patrick.barsanti@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: patrick.barsanti@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IEj2zUnR; spf=pass (google.com: domain of patrick.barsanti@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=patrick.barsanti@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: , From: Dario Binacchi The patch enable the flexcan controller. Jira-Id: WAN-973 Upstream-Status: Pending Signed-off-by: Dario Binacchi --- .../freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts index 3c6ba6693db7..4e861d8038bb 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-icore-mx8mp-ctouch2-of10.dts @@ -104,6 +104,12 @@ ethphy0: ethernet-phy@0 { }; }; +&flexcan2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_flexcan2>; + status = "okay"; +}; + &lcdif2 { status = "okay"; }; @@ -205,6 +211,13 @@ MX8MP_IOMUXC_ENET_RD3__GPIO1_IO29 0x16 /* Reset */ >; }; + pinctrl_flexcan2: flexcan2grp { + fsl,pins = < + MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x154 + MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x154 + >; + }; + pinctrl_pmic: pmicgrp { fsl,pins = < MX8MP_IOMUXC_NAND_CE0_B__GPIO3_IO01 0x41