From patchwork Tue Oct 15 19:16:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Schneider-Pargmann X-Patchwork-Id: 13837013 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 589B5D1F9C5 for ; Tue, 15 Oct 2024 19:24:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References :Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=U0ITVZ/ruKG/TLGpfGAwzLMygWSysjucbld18q4vTYY=; b=HqI8RPh90WkyOmNpqVwEkRhoy/ FUyeBb5GrrDd/gsswwbo6A75qUZr/WwvL8M9ggQ/5ICtAlLiDCYJAROmd8i3vbhBt/EYMLwRhcgPQ fBr+ILiEoFf8hiTc0yncp1HEvUEJsmoEGjUlxovqtJ5TfvgudPcYG87QTB5uvnn+dLcXz1HE8G5es v+KlpZtm+pjUVQAkEvuHauLVxY/KTpPYwK9GQhZ9XjZD3jJYNgs6QPZyPJjkBY36w0KkBU2qDvlaV j6xgtHIXaf0RzsSJgYq1FoAHGEXCSCkB3jYqExrrwP3+F4Ktnc/G5fAV80Wn70oKZvmAh1VA5MtYb NcRaE/Yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0n9b-00000009NsI-3JZb; Tue, 15 Oct 2024 19:24:23 +0000 Received: from mail-ej1-f51.google.com ([209.85.218.51]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0n2o-00000009MUd-45aB for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 19:17:24 +0000 Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a99f646ff1bso484035866b.2 for ; Tue, 15 Oct 2024 12:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1729019840; x=1729624640; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=U0ITVZ/ruKG/TLGpfGAwzLMygWSysjucbld18q4vTYY=; b=WlMbhryGeodvd1y+HGUDJQJRFuKehfsA5fuCkjL6Wddim3XoHJW/rK+/VVMFkxqC/m 73np6waLvmZcv0sQipvx/C2mjbDPAtZHgSfuVmNeQQHPq5ns0px5VRhuTle5pLroMCYN b7p5WGHG6xf+NCw2b8DH/wA27fmvnP3jvF83I1sThVQIMitZFjQJThZUUeteP5omnlJ1 93SuF1WDISucJKqLeWSZfRBQPd90F0O/xVvn0ETwsIKvC+bFAyGhxgwJDGYwQSsViSrF 7LUjWIoLUIEeNLxAfIhT/Jf5Oh/65Fso47ffbVAlI3D6nMCxk3KRIF4pKlhYp2bZhuhn +n1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729019840; x=1729624640; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U0ITVZ/ruKG/TLGpfGAwzLMygWSysjucbld18q4vTYY=; b=R3cn4xakM+gfajA/Dd3KVUXz7zd6TknrcGdjtcGNH+j1VwcjCh0wJh3zxYWwRphbuE MYWW2Ov98MNyNKdILbCAmByb/NvMeprnR0VFGP4kQjqPoZuVbQAF0j/+tmC9+6s3wXVL AYjquTMp842sqFG2DcPYlJTkavgtskRDPvlPxL/4lEcVUs2ODdCswbBo0EmFWWihr2Km waoFYEQR5wuphMH/cj3inhTEAZnz/8RsJy5BmUWmcCCsICoJoz4DXq5xqxh+PDDsVJzr fEkJdPW32HuoYKFiR0VTyuA+pi6hdqT0BOXjtADmFvI+dWprqTgOhmwIt5MCnfi53e6u DPDw== X-Forwarded-Encrypted: i=1; AJvYcCVicYC45aZJMebpXTd07XO+aIAWPvfwk1ZgdS478ijLdfLvTVYmEQUTniM36Ac18s+SybgQvCRBst6W7DuU/Auz@lists.infradead.org X-Gm-Message-State: AOJu0Ywp8UvzRPJHb+hoQXqb9g5CLH+8G7NXfTeTrje7pQPbVUzIbTOG kvNy7mWMJXQze0huT+Ogjs9SAT//uqIxAm/45D5q7n4dQCGzPQa6geciJif9yEE= X-Google-Smtp-Source: AGHT+IFE3zU2wsWTaMuFRX4RT0/Jxds4c9H2MyVuhIDmZBUP8boAZj8D2JLinmI6aBazvsto4DV1Nw== X-Received: by 2002:a17:907:3f8f:b0:a99:f746:385 with SMTP id a640c23a62f3a-a99f746105fmr1163295466b.1.1729019840193; Tue, 15 Oct 2024 12:17:20 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a29749540sm101289166b.76.2024.10.15.12.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 12:17:19 -0700 (PDT) From: Markus Schneider-Pargmann Date: Tue, 15 Oct 2024 21:16:03 +0200 Subject: [PATCH v4 9/9] arm64: dts: ti: k3-am62p-mcu: Mark mcu_mcan0/1 as wakeup-source MIME-Version: 1.0 Message-Id: <20241015-topic-mcan-wakeup-source-v6-12-v4-9-fdac1d1e7aa6@baylibre.com> References: <20241015-topic-mcan-wakeup-source-v6-12-v4-0-fdac1d1e7aa6@baylibre.com> In-Reply-To: <20241015-topic-mcan-wakeup-source-v6-12-v4-0-fdac1d1e7aa6@baylibre.com> To: Chandrasekar Ramakrishnan , Marc Kleine-Budde , Vincent Mailhol , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nishanth Menon , Vignesh Raghavendra , Tero Kristo Cc: linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Matthias Schiffer , Vishal Mahaveer , Kevin Hilman , Dhruva Gole , Simon Horman , Vincent MAILHOL , Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1170; i=msp@baylibre.com; h=from:subject:message-id; bh=Tq/fbr0WhZHR5UVyg7x0DcqyPJVYjETLUN6TQAqpB5E=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNL59q9r6nha9Hh5SuMeznWH2r4sOONbuO/kHN3Ls+fGu Syurd9/vqOUhUGMg0FWTJHl7oeF7+rkri+IWPfIEWYOKxPIEAYuTgGYyPpqhn92rt2Nr1as3zBp iqqu7MKwdG2e72VxM0NEmzz/ay+Y8v4dw/+0xo+R89ulZlmvn9J26sPnrSva7yu+i1wZ38bg8n+ i8noOAA== X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241015_121723_043512_1DCDE4B8 X-CRM114-Status: GOOD ( 11.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Vibhore Vardhan mcu_mcan0 and mcu_mcan1 can be wakeup sources for the SoC. Mark them accordingly in the devicetree. Based on the patch for AM62a. Signed-off-by: Vibhore Vardhan Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi index b33aff0d65c9def755f8dda9eb9feda7bc74e5c8..3afa17e6592f39387a667547835c90f95a9af351 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-mcu.dtsi @@ -173,6 +173,7 @@ mcu_mcan0: can@4e08000 { interrupts = , ; interrupt-names = "int0", "int1"; + wakeup-source; status = "disabled"; }; @@ -188,6 +189,7 @@ mcu_mcan1: can@4e18000 { interrupts = , ; interrupt-names = "int0", "int1"; + wakeup-source; status = "disabled"; };