From patchwork Fri Oct 11 13:16:46 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: 13832570 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 D2936D0D791 for ; Fri, 11 Oct 2024 13:29:40 +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=S8sh8Hke45mqFUn2i+uNoFLbg6 zYQoQkNDFQisyIYs4qFAzL4pAOTLp7UCzNZvPph5W+OeM52sIeAQeY/WkQfp2FF2aDz7mLvRvGQoO pCpMgVxs3fDoGTxcaArgMwkaC4aTv1Rrzp+re8Vsuuqkr4gqE7LfV8+UbQg9aPBQ1F70ET7O7B2mF lFCe/P76BG9pF4Vbln+Q/O7VRdPBuAKRScAMZYcMyC+KFJVw35hZ2/E5D4bufKRUwlGChiOQx2GH9 2tvR8n2YAm+vMVaCKu3pfHBi2rEkx/kue+TpscLLxuuWruwvmA4KLcXrSUA70WyGq5qvzall93I89 HPZEPNFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szFhz-0000000GS4V-1VuQ; Fri, 11 Oct 2024 13:29:31 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szFX1-0000000GQ72-31Ss for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2024 13:18:12 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a9960371b62so230342366b.3 for ; Fri, 11 Oct 2024 06:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1728652690; x=1729257490; 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=lYz2HtpVQzGNru81wEa2NH/HXt360n0SYKImMlM+FwJw2zMTta42vbZ8ES9R8xaLU2 qix7Tis4rQJzgStdNbszqCTHI53UtIv9W7zOhwcoXAI76d+C3qM2a80bZkglD6Nk4Nmd LvorO+3Lf+3u+Rw7CamVTj90pcF4EIvP7L1TDovrbim6u3yx/a8F/TPcVmnsKHqkHqCJ oB7G+CKQNfXa7pWnz2IaXtShV7+CTzX7pz8iUj0vxFwQsB6IKv/hgcOKsWOQB1AjurfH VnuoOGz+GN5XfDBFIXjgSVP9zJVV6mF+LLWX8tixuB7dEWRtwotEtpPLcPLSiZdlhQTu WjCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728652690; x=1729257490; 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=RFkBV4yp4DnuGnOUguKxg2heotehyDGDDJ//tP3AUHNCYzoZbiu1vc6yQSAqcIfUCS Q4pJm7dl/o/KOsYJnVYrlt3g+MSB1qlV/gVKVW51qDHWNaCPH2QqXkB3b594SJuJ4JNu RktiRY8+BtrcgbHJt3RXOrlHGw5uv1u5J5dt6rSvbhYK9TTOy8fNschqUVthsJJsoftG ey0xEnGAoc0c0JG3TfdvWxPUmE7tUkDWxTTV3xDDFxYJFu6KodyiEH7UT0fL6MEMbDLI bAG3euPzhqENMgcOjBI/x3t/DNvjkjN3AVU93tHpzqw02fajRzHRrv9YY3kSY+GXOn7C AYYA== X-Forwarded-Encrypted: i=1; AJvYcCVQ6OYKvyyn2styFXwyzp11IV8lVFor97CnZgm5yUeC9euyjOCH5aN+X3VE5wyAn/aAYYShsidkBejJ21+Lh2TT@lists.infradead.org X-Gm-Message-State: AOJu0YzRcv/9u5ZyeFAYvDchm8KVdLwdyt3fKZjFkfK1cS5JjOVJCwWN Mc2l4D0Thcjtx90Phy4zarFGN/tcj0N84AZTIuT9iEZgaH5wN08QzoTiYYYZy74= X-Google-Smtp-Source: AGHT+IG0Ub6gDX3IQh/3prA7jVWpquOOtRd9X2EDWha7QdWuTYm6Hzp02feEX0uQQCEAWTcDfR1ccw== X-Received: by 2002:a17:907:7290:b0:a8a:78bb:1e2 with SMTP id a640c23a62f3a-a99b9415479mr218657166b.6.1728652690098; Fri, 11 Oct 2024 06:18:10 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a99a7ec4cd0sm211838966b.1.2024.10.11.06.18.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Oct 2024 06:18:09 -0700 (PDT) From: Markus Schneider-Pargmann Date: Fri, 11 Oct 2024 15:16:46 +0200 Subject: [PATCH v3 9/9] arm64: dts: ti: k3-am62p-mcu: Mark mcu_mcan0/1 as wakeup-source MIME-Version: 1.0 Message-Id: <20241011-topic-mcan-wakeup-source-v6-12-v3-9-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=1170; i=msp@baylibre.com; h=from:subject:message-id; bh=Tq/fbr0WhZHR5UVyg7x0DcqyPJVYjETLUN6TQAqpB5E=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNI5VesfX6o74PpSpyl1L/cP79iFPs5N6R87zlVHrVbf3 ODYWdTcUcrCIMbBICumyHL3w8J3dXLXF0Sse+QIM4eVCWQIAxenAEzkqBTDH267DWZMkSz81mtV Hp0T6/9llxKY+8oi5irHtw9iRw4GxzL803umPvUb95Zdl44X/oiIijizXULx9rOMx4zSbI+9ZYK rmAA= 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_061811_812424_5D90A175 X-CRM114-Status: GOOD ( 10.68 ) 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"; };