From patchwork Fri Oct 11 13:16:44 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: 13832572 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 30F79D0D791 for ; Fri, 11 Oct 2024 13:37:59 +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=81ZVnQPK5cdOXNd0U587x7C4r0h4m8ObdC4H2ODABA8=; b=Didba9PBFBGaEa+Sw6q7stUgT0 sO2BdDCmjv+Bozh9OsmhCgXfwUhisX7Mnec/2Ykqla7YhBJwvBgMyQeS/YYatsjqp4gwcRrtYhkJA itqi8TJ0A08GeMydWBNum7CPBnj11Vrkri65BGZleHxxkLHnY80VhoNkIt3+G91SZCs0AUX+htolW 2Tr13g4LDis5A2ZU9bEpvCFhaES5CygHbR7kewphoKGgbUBzcJjoXsidQK2NDnaJr9XOCPM6OgIxD fsFvnp/9fNeAscznKVgwwMHaopgm3C+xA/lh4qO8OPeQ0cCepH+/RF5r6dxVrd73wiwn7r7NRzi2l WoaMOovw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szFq0-0000000GTZr-3zWS; Fri, 11 Oct 2024 13:37:49 +0000 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szFWy-0000000GQ60-3g94 for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2024 13:18:10 +0000 Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5c89e66012aso2850441a12.2 for ; Fri, 11 Oct 2024 06:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1728652687; x=1729257487; 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=81ZVnQPK5cdOXNd0U587x7C4r0h4m8ObdC4H2ODABA8=; b=wKAi+0VTg+QVrMcMYXsMBKi4PMwISXawqdfbdxbD6OJiY0xBZ+5vO8PmSoEFlcF4Vb OR6Z20ja2VN1W2X0SrzYOOffc1VrAosGvHaGcH2C/NMWFiY32ymyXyYpsNE4JDsKPUdg ld15AJx2FsekQooc2ApasAgBPIsIcgkJ/hnQgX+Kl4+xim7QbXEgmvgLluNt6Rgb/jHV 24E+Z8/Rb7p0dcivSw6sR5JFdvjjmbqgsUXAvn9/i3hWj9HjX6P7bB2nNRR9+LLxYVmk THhJsik4M6jNlTdEW2I3fmg3XLscKikIr98mT2Ym0Q1PfOT/ylGO4wchNdmmoYXJgUlR YwvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728652687; x=1729257487; 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=81ZVnQPK5cdOXNd0U587x7C4r0h4m8ObdC4H2ODABA8=; b=IcTHtvrB9NAICkkxsjYh0mBAdMD0+p0HI0yssmqMEUrVFy3B23QvjuqtGv2aeC14Vi YRrfdOsEV6wVrX8uG3cI/r2BIkbYdpiKWvDaEdSzieKPrMaqzrCOdqpjNY2DqdukL8XR r6dDvDMbWfYBAyPjuANwlywPSihcJd3tF+3Ff+qAAbMLWyPHrFtcrx3IIZ0Bm3AlKnik /ZiuOktXHKGKRiN2eUxwSmLo84zHdUNKqiY4CscimVm1YqFWfMgaOUr2vyfm8wEnyUJ0 +Tk8Vq1Ql8i+tvuwqgDLXjQRCEY6wu+W/XrdMve9bNLWHHBpJmwHKTGnIuX/WJdud7CU w26Q== X-Forwarded-Encrypted: i=1; AJvYcCVHUOB0zo/lj3KBJV+SNPnSiDdARaIDT/vxs/jgsPTOcr0sH5QPgke/LiHM9APNLP3kVr4VY+Z7/s/BhOJbkTlG@lists.infradead.org X-Gm-Message-State: AOJu0Yxb4dK2yfdpxWkpith7Tim7RFTfdu8C8iq2Riu0YbQYCMl/0xlq kqfmbsRBtLc581PciMiUio5fBIOrahbE+Q7aYa/pe3e86qZr/7iJmsHZ4RwXZDM= X-Google-Smtp-Source: AGHT+IHbDGF9CwONYy7YWYnq2FZ03Xgnf8reWi/jbzYRG3jSk4wq65+x+A4vLhSV9xJFaORvZ3Lz0Q== X-Received: by 2002:a17:907:3e96:b0:a99:6036:90a with SMTP id a640c23a62f3a-a99b93f9128mr214915266b.14.1728652687535; Fri, 11 Oct 2024 06:18:07 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a7f2c1f4sm211948266b.87.2024.10.11.06.18.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 06:18:07 -0700 (PDT) From: Markus Schneider-Pargmann Date: Fri, 11 Oct 2024 15:16:44 +0200 Subject: [PATCH v3 7/9] arm64: dts: ti: k3-am62: Mark mcu_mcan0/1 as wakeup-source MIME-Version: 1.0 Message-Id: <20241011-topic-mcan-wakeup-source-v6-12-v3-7-9752c714ad12@baylibre.com> References: <20241011-topic-mcan-wakeup-source-v6-12-v3-0-9752c714ad12@baylibre.com> In-Reply-To: <20241011-topic-mcan-wakeup-source-v6-12-v3-0-9752c714ad12@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 , Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1023; i=msp@baylibre.com; h=from:subject:message-id; bh=L5jePk++a0uY91JQrASnpEj/bjSiMyJjUq1CjjPGGl0=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNI5VUtUg8TPHv/TlFH/510N68/nFlVOsSWXXn25E9d2X fTXbJ8rHaUsDGIcDLJiiix3Pyx8Vyd3fUHEukeOMHNYmUCGMHBxCsBE3pkxMuyuv/7pTk3DfCmj q4zRzAZbV13y8NfRFpxy1LrgT83Dr8sY/tkXhF+3trroVswxr3JqSf6DTeHxOl9ZO4xXN5Z9CM2 dwA4A 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-20241011_061808_949996_4AE0F6CA X-CRM114-Status: GOOD ( 10.01 ) 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 mcu_mcan0 and mcu_mcan1 can be wakeup sources for the SoC. Mark them accordingly in the devicetree. Signed-off-by: Markus Schneider-Pargmann --- arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi index bb43a411f59b281df476afcb1a71b988ca27f002..e22177b9dfecb541e99b0807f8b79e7b878b6514 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi @@ -160,6 +160,7 @@ mcu_mcan0: can@4e08000 { clocks = <&k3_clks 188 6>, <&k3_clks 188 1>; clock-names = "hclk", "cclk"; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; + wakeup-source; status = "disabled"; }; @@ -172,6 +173,7 @@ mcu_mcan1: can@4e18000 { clocks = <&k3_clks 189 6>, <&k3_clks 189 1>; clock-names = "hclk", "cclk"; bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; + wakeup-source; status = "disabled"; }; };