From patchwork Thu Dec 19 19:57:56 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: 13915694 Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E4751FECB8 for ; Thu, 19 Dec 2024 19:59:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734638353; cv=none; b=ZS3AMNN2cr/zZ3j2jpIiMu7pTd6cxS6QVyROSsFlbNTbk0DjbAX0h4y+elNv2o6PS3abxbdDeJm4GDJ1ZGqU3ddvRu4GH5iQHZ6zzuB7lww9y1Q2XR7LcL6ysIneZIUhKL5CbKbFnXhwEPEkpFwSbk/dAvOftAoMYPBK5xM2AYU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734638353; c=relaxed/simple; bh=9hRKFs2Z9paofbu+as+4aAVd9C5fh/XVAfao6kHuNUM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=j2p/i0xRZIFQRoEvuctLqk+h9H9qK916gtadTOHbMqIaX3vC6wqE0Qa9nM3V32s8pLaMgc4+52tDnRXVPBRrz9G045SzrZPoJvF1pADY7YhjGUQd3Z4ynFt7jvCf8bsmnUyUkr3r44xY3CAKaz9HzUMDGTyPkxtw+CoFXXQF+ok= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=fpMrF/tV; arc=none smtp.client-ip=209.85.208.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="fpMrF/tV" Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5cec9609303so1544630a12.1 for ; Thu, 19 Dec 2024 11:59:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1734638350; x=1735243150; darn=vger.kernel.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=gk8cThuOVr3SSVx4chFLhJB4lJSnrqBstxF8oe/bdWU=; b=fpMrF/tVQBlS9G1pltUBTSnIEu7IK2qAwYh9r04ChM4mXl1I6YuXswpfgCONVxI9XW 2Rxs6IzvQEkC8ynRxdVvlwGtgBC7PKZsbs2ZngFc+NiJd4O340gELEZIlA3lUS+qztHE qn5izFAMIqeLA4ET9k1u62Wew4Dsg3Bfvz6FRsrCyiUDImqpdVzANqq6IekTmVNKLYxg 55cyQrq2zOH2OOLwKonULXsiXrHb9fkJ/TYzj26NqBIpQpl763jPneuavlaf2PKam6mv ULk3oK8Q4WIXq/Luk+GWEYePPoL5N7KZa+UrmA0BQzqdizeZd6wry9aInPDXCehksz4B 6TaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734638350; x=1735243150; 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=gk8cThuOVr3SSVx4chFLhJB4lJSnrqBstxF8oe/bdWU=; b=k7Uu0nDQ9d4NFDASHbThKA52CrFn3UaF4AIcnu1y99kmw79TiYiJZ2wvv/VqT7CKEn fMqw/Hhmh3tei5i3B2O8f40IVdDHXk1TK7jMhdvWVdUnGP1MBojeo0StKKQ5wLgb2/lo 5NVaWdh60w6JVEyD/eqfVDhyHlybkABOJOKKKumHZ0BRtIy6Bt6cr95hzCr7/PWhdF6S jCx3enCpJBUp4XkD8LgTBCc3qd40xIx7r0qisSJaKFANsQLaGYasVgziIpbzsLegxJs9 Evru9R8HjKxHZ5a1j8YJuPkNxx1+UZw8Z9lvhpe5Q15iX7wIXHjahxnAJthJDRTVfXfP vxJQ== X-Forwarded-Encrypted: i=1; AJvYcCVbQtEPt8qi+PXYGgqq19NvNCS9PArw5P5BMzIqdeLZ6k5XU/jpoaFJIu8J0zN0GmxwDktye44=@vger.kernel.org X-Gm-Message-State: AOJu0Yzvr+/nRt5HMXPCpJDGLPe5pfOMghWVwpu0jAkLSsEiY5GZbv2b ZG+JWfa1n/1qkyAiwpd8E0inGXVmJqGIDtFrpEnPku+w57Dtza7HX5lvOIf2kv4= X-Gm-Gg: ASbGncshQ/cbR9ETq46AQYdXEam/tGAe7PRmiw4sejQ91aTzJpkw6GTvBTdCqK/2ZIC hYq6OQREpmXZJDLrrT5YkDupl9xKupFkVr7juFNChQnNd+H2YWGfjy2WXPGgEeM9RV5ECMv7pa8 n8EWkSpSsx1GltWbFxqWXO2JAiaxSglJD5cq8QtcCtWhY0y3b8+sLHtk8tvNts4kT0RX9uvt5wV TfwMEbQXue9fV6PT0wztZ6YwdSgtCRnMRVMpO9SQ0QLN1DZmA== X-Google-Smtp-Source: AGHT+IGYlDf+Xz6gFvbvHg+7Mk8TNFhqb5LHJUrSxJ853FDaHbi3aKQlIsQUWT9tR8k7sWykNjFhJg== X-Received: by 2002:a05:6402:510a:b0:5d2:60d9:a2ae with SMTP id 4fb4d7f45d1cf-5d81de19afcmr122678a12.33.1734638349836; Thu, 19 Dec 2024 11:59:09 -0800 (PST) Received: from localhost ([2001:4090:a244:82f5:6854:cb:184:5d19]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d80675a3d2sm953164a12.16.2024.12.19.11.59.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2024 11:59:08 -0800 (PST) From: Markus Schneider-Pargmann Date: Thu, 19 Dec 2024 20:57:56 +0100 Subject: [PATCH v6 5/7] arm64: dts: ti: k3-am62: Mark mcu_mcan0/1 as wakeup-source Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241219-topic-mcan-wakeup-source-v6-12-v6-5-1356c7f7cfda@baylibre.com> References: <20241219-topic-mcan-wakeup-source-v6-12-v6-0-1356c7f7cfda@baylibre.com> In-Reply-To: <20241219-topic-mcan-wakeup-source-v6-12-v6-0-1356c7f7cfda@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=1069; i=msp@baylibre.com; h=from:subject:message-id; bh=9hRKFs2Z9paofbu+as+4aAVd9C5fh/XVAfao6kHuNUM=; b=owGbwMvMwCGm0rPl0RXRdfaMp9WSGNJTqr6//L3ocqJQt8MR14+vZWzlDx7cMUNDvnzjkt1Lw i2vtnyd2VHKwiDGwSArpshy98PCd3Vy1xdErHvkCDOHlQlkCAMXpwBMRHQuw2/WXJNXDTePmsXY i6R6NUUVXT9cvMnQQsMwuDRfOyIhP4qR4UKhdXb91Pbfc1f/qldn6BVTYvogYNBUfGn3/jWvV17 5yw4A X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 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 68e906796aefebc5eaaa5a231e56105a9cdd13e5..cc693be47df080e8b8dba9f1aca2cd725f4ea85f 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 = "suspend", "poweroff"; 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 = "suspend", "poweroff"; status = "disabled"; };