From patchwork Tue Oct 15 19:16:02 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: 13837019 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 2D076D1F9C2 for ; Tue, 15 Oct 2024 19:31:44 +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=p570CyCpET4jQOMvqTRvBlj0hjjJLO72psUJRNLRpe8=; b=Alo3mFNfpnWsdgUZ65Yym5o2Mh LBlSfIAbm8NyYiU63OBSdqxfKGdw4WAZCNWuo/8AAUEKahEvJSOx1r6zwzEEvoEdak7rbfKYvzvs4 S3J79ONT2jw5TEU6Cw6ZSk8T5ricFPQ4VNrMTlwwhaJ70qXyD/qPuaz2iDIoNTbBqLXt0o/8nDa16 nd7Ehe+GhyB3fOUHib6Y1eC1WVqr3DCHNAdBmOnsduFePBmakrcrsSWdlm6vPPPVyNgD9kWsl79A1 eTety8wdD1dY/pkSALVvaUflKXBA7gSKImYWfYvGsxqXoTDnZI+0zb2sdcQTowT6ThVtSCOcwSpjG e+ZS9pUQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0nGX-00000009P0x-0SZA; Tue, 15 Oct 2024 19:31:33 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0n2v-00000009MWp-1ox0 for linux-arm-kernel@bombadil.infradead.org; Tue, 15 Oct 2024 19:17:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Cc:To:In-Reply-To:References: Message-Id:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=p570CyCpET4jQOMvqTRvBlj0hjjJLO72psUJRNLRpe8=; b=AXPZYjjBVGtDuanfeILTcHAwjW Cqd7gEHZepkuzHMN1uRzytKNG46qL8CWxYdeuZgS+qyadwE7Pf+1w06vcKb9dU9klPj0at+lagtsS ivCkTr5ADsPsykfaMckofcekydcoM1oFm2nR3KecQWBwXRDzkMZsYTEp2HFjTXuBreE3HPEDVFK3h czglukGmSkK+ZomSLbmLnX2QyJVouNx1GB5VzX7RzaWRA665W9tm/qG+TGHf1ilnvw4bJXrfkzoZC AHaRhrr6KJ1nybFekhBq4PWDb6kImm/329o0yMwmB5j6VeFXxYmqTpdW4DFWjYXHSYSM3z4hOjwDE WLusmcNQ==; Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]) by desiato.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t0n2n-00000006dgU-3n6g for linux-arm-kernel@lists.infradead.org; Tue, 15 Oct 2024 19:17:26 +0000 Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5c97cc837c3so3452164a12.0 for ; Tue, 15 Oct 2024 12:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1729019839; x=1729624639; 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=p570CyCpET4jQOMvqTRvBlj0hjjJLO72psUJRNLRpe8=; b=lTaq045xOzFl6KAtApqJ23pCJB/Wnk0qa1s63O1r/sonZGAEra7ZabkKZP2WHvplKo Nx+z5yAEJKhaXzz4JPLeWFi3JVwceClHVFNMoWSWw8X1FLVoqhZrNcUp9d8i/P1yiZj4 UJL3Zl2tuDVpeGqE2H40fQiG4IymQVQ2nseeNDy19R2eQp/zg76Sjj8UlufcxjR4itwT bAQ1QtJyExPTIsn1OcXZ/E2I08F+KegZwL1nXc5Kf5Gu1/qfIPSfku94jYOaacLU57CT r5sEyEdpq3oTDSUUf0B5mURdJak+/5qhjLb9qSKLurdwySbwj3uPy0puvb2DqRFTfrAd AnOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729019839; x=1729624639; 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=p570CyCpET4jQOMvqTRvBlj0hjjJLO72psUJRNLRpe8=; b=lepPbfZUmDQdxREqAp2wd8Ow8trZnhoawaOffXKCiTLMK227sImHX9u++BFKtmn2cI n4xQ819pM//CAt0NkTw9giwwmWROxGvRdKYmthzXdU6Keon/ojwyv9aK+W1Z7VS2wrms D+cQIkCoNNSAsqsJNRa6A/jtY4+7K1T74tDpU7FVFj01TLjhfV3M6pPMFbCZRupU3nxX V7U8OIJ6GmR5raNqa7P2nDW0migaqXAtEx2f1SSj2VeVoOOSujF78mvVVU48Mp6Pgt8Y mYeGl6fsxIiXDBr+CfJt05t9r8dYSUfBLoLXuCGvw9pqwOqz2q+Fx168Eo4dMPxSHbl0 7p4A== X-Forwarded-Encrypted: i=1; AJvYcCXCOVke1lWHSv77JGoevEyJEENRvWAJ+txOrvfDNiw7wOgrV5hFMN5jpx3hXzpRtb47liPwktbf+776zKDE+8ei@lists.infradead.org X-Gm-Message-State: AOJu0YzDmWO/i2uZjwlZRPZ9jbAEThrd2Uyx7p3hGchLUNkDkB+IX0/w Eg+dHH+EIfpEsJ2Ia3l3nP9o90s1R+2IEaUImAaORQ968BY5i/fKWybGFL0XhZA= X-Google-Smtp-Source: AGHT+IFeN2E97a+E3jhI8sBljZvv6XC7mfzgwimmU3ry+3H1MazUngu2M9qkKbFXzssYTp7lbfxmBA== X-Received: by 2002:a17:907:9709:b0:a9a:4d1:460 with SMTP id a640c23a62f3a-a9a04d10662mr844482266b.63.1729019839017; Tue, 15 Oct 2024 12:17:19 -0700 (PDT) Received: from localhost ([2001:4090:a244:83ae:2517:2666:43c9:d0d3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a29816bf8sm100951666b.101.2024.10.15.12.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Oct 2024 12:17:18 -0700 (PDT) From: Markus Schneider-Pargmann Date: Tue, 15 Oct 2024 21:16:02 +0200 Subject: [PATCH v4 8/9] arm64: dts: ti: k3-am62a-mcu: Mark mcu_mcan0/1 as wakeup-source MIME-Version: 1.0 Message-Id: <20241015-topic-mcan-wakeup-source-v6-12-v4-8-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=1028; i=msp@baylibre.com; h=from:subject:message-id; bh=lb40xLu/VXrpPNedn2QOJM+HYtvP+0chbzXXKOqoOlE=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNL59q94MX33ke3S9c4mE9jWHv1mP//Od4Gayds38yydZ v7npB6zXEcpC4MYB4OsmCLL3Q8L39XJXV8Qse6RI8wcViaQIQxcnAIwEZ6/jAzn9mxmt1lycNe9 2dWNL/cnhb/10NRZMPF0+CKGhFVXS82/MfyVreBkqimdrOu19NX5C99vFH+21DlW5Wcf7ew0qWJ RjDYzAA== 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_201724_897751_275B7E42 X-CRM114-Status: GOOD ( 10.58 ) 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-am62a-mcu.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi index 0469c766b769e46068f23e0073f951aa094c456f..06361cfd7a8ee6f2acf2d15e8106087dd0f38008 100644 --- a/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi @@ -161,6 +161,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"; }; @@ -173,6 +174,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"; }; };