From nobody Mon Feb 9 22:23:13 2026 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 0C89920C005 for ; Mon, 21 Apr 2025 08:11:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745223071; cv=none; b=ISc1Qv6UBgwQpBVHcnDwW29ysFVQU8O9h3g64g9ihcXUGNstnLXVeZznQYwwwCYd2SFOgj5HJlWZeoe6rXZD/T9e1pfm50rNLdIyLBe/9W12ThUtFyTwpZDpGgzh3zusQhV4M4N+r7/lZN7jAjBon5WVfvmADAYGFyCUblDo5ug= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745223071; c=relaxed/simple; bh=8cnbqnEIT2SapONFBAoVoxc2fqVmncyHVScTK2PoKRo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jMLch8WSoG6Q/G/3RrMvWQ+nLuUYGepIObIIOcHPFfagJi/js9S9E4pZ+rO0AHqMkY6GY3Ag4Ik/s62fp/NzMORPuDuqYzEandtiQgsYMX2lc9PZca9tk4F83Ra34DTY+ncEiJwe6Vs7zS4JvRvs5BXpqEmYqfRx4i1Di8sPmjw= 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=eZiA2ggq; arc=none smtp.client-ip=209.85.218.49 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="eZiA2ggq" Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-ac25520a289so491533366b.3 for ; Mon, 21 Apr 2025 01:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1745223067; x=1745827867; 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=xXgQQbKgfnh8/TwrQq0CXBZDridfnrlUyigTFtKkpUk=; b=eZiA2ggqNIM6uoGrV/3/+E6nv64g+gGn4PxAuujLludy356xZMUFTDn6oELoRziZ8j dDk9QSuPBgf5HaY6S6DaAUswjUQr26VLdTeF66fg1Zjs4O9bKvvB17KfnRDuzI+5zkrr xlLgz9fujv4uGfm8Ad26pYIRSfcVCXmSCH/NDHk53aCFtJ8h/Ab5laGPcy8Aj4XBhc6m qy6lNydz6js+7QLMy4WPKCpqpcpQYidOSINv5D9nMXrU5lL1c6Yzh0XHcHV8sLpQxYBr IhM0zx7BtVJXHHzEM2T5yAGfBpXzRu3/pZ9HUSAknNGiWgPM6yzMnN2A0uImMFWwsHDJ lkxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745223067; x=1745827867; 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=xXgQQbKgfnh8/TwrQq0CXBZDridfnrlUyigTFtKkpUk=; b=Jl29mCkRoy83to1ufBvfVFGAupe3x2/VhWfXHZqVGLi595aZKuMrJo8Rp4SFeB8lxb a5P3R7HVTseNytLQrE+FABeljVsdBn2aU6Xhi/fLOYrf83dYOclmJC0KdBMyHLG5UH2+ GJAZTyVXi0oNkJlPL39opw+zfEDzhcTWvU/VeXRSmckiMzA8z0dXDZVsIC9/6jzK/R6K r5WoaZqpBAsGw21/nI21hMEDc/QIlAl4RaWzQkL15sV4k5KX3zDmPyM1/72/pQtLTM5X J9g+mW9uexEWKSzh9KGqjJhGo3E+ap3pz9LN9TdMUB7Cc3jJTQAmqP+SYvg57SclWOmC aouA== X-Forwarded-Encrypted: i=1; AJvYcCX5rjcgUBB/06Km3GzN0dTB3FVI9XQGGbXp3st3wt4SWgRcgG5zrpoynSFPgOfC7DLUuQcOb2Kqyd24pkg=@vger.kernel.org X-Gm-Message-State: AOJu0YyMMLz6QgdCiCxmnOo9tpCoC8g5s2CKwvuBXImemI67pLXyAmQz 1yg2NEq7PEHfbTqI2zItFM1oyFJjRQLTyx0Ve7SfdmrVff3tE+DJPiD0sCReLC0= X-Gm-Gg: ASbGnct4p3y9n5eoVZTcjujKTXxS+6H1XXR5f/8io5cLBf0xnzHh+K01U5Pa1VhhWgX XYw66vtMW+AIN28nX/amcsBttE5K/gb288USdPJQ0qhKuHNb6jHSyiQ8mzIbhFp4qtZZOxAZd5b AlCu2rEQFsOoYFkHXzQ4K9mXkkHhNpNx94YPQ8aLdEM/O/sriGEe8BG2LggSW7+T60bHHsfvbdb p59C1cRCXO6srMsWR9EZOPCWetWUA81GBVHzNdIuzpnU3E3SzGPC7fjX2TkkZ3xKxVKsdIFRa1r V8RWV4myipKcnRbYzIOJPgmoobc0jmb3zL0= X-Google-Smtp-Source: AGHT+IFm/Skz537wfTeoh2KozrNOOTUDzhipX6Al/MEzRYRXMbJwDdJHpyUOgxUlClgZmtUma/F09A== X-Received: by 2002:a17:907:7288:b0:aca:a383:b0c9 with SMTP id a640c23a62f3a-acb74afba44mr971434066b.13.1745223067279; Mon, 21 Apr 2025 01:11:07 -0700 (PDT) Received: from localhost ([2001:4091:a245:826e:c0c:4cef:7dd:26bd]) by smtp.gmail.com with UTF8SMTPSA id a640c23a62f3a-acb6ec0b389sm475749866b.20.2025.04.21.01.11.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Apr 2025 01:11:06 -0700 (PDT) From: Markus Schneider-Pargmann Date: Mon, 21 Apr 2025 10:10:37 +0200 Subject: [PATCH v7 1/4] dt-bindings: can: m_can: Add wakeup properties Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250421-topic-mcan-wakeup-source-v6-12-v7-1-1b7b916c9832@baylibre.com> References: <20250421-topic-mcan-wakeup-source-v6-12-v7-0-1b7b916c9832@baylibre.com> In-Reply-To: <20250421-topic-mcan-wakeup-source-v6-12-v7-0-1b7b916c9832@baylibre.com> To: Chandrasekar Ramakrishnan , Marc Kleine-Budde , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Vishal Mahaveer , Kevin Hilman , Dhruva Gole , Sebin Francis , Kendall Willis , Akashdeep Kaur , Simon Horman , Vincent MAILHOL , linux-can@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Markus Schneider-Pargmann X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1809; i=msp@baylibre.com; h=from:subject:message-id; bh=8cnbqnEIT2SapONFBAoVoxc2fqVmncyHVScTK2PoKRo=; b=owGbwMvMwCXWejAsc4KoVzDjabUkhgzWvy17Oeq+FiudfrvfStt+jk7OAqn0iEtnJDZY7Fpj+ aZYaF1xRykLgxgXg6yYIktnYmjaf/mdx5IXLdsMM4eVCWQIAxenAEzkUh3D/4A/8Wf3Ls5cuNSN +U+ejch+9V2mvRM6C/tExV0UHL//VWX4X61XbtC8ccPa36Xr2330dz/fKPW6iqVtfs7zgKeXWL5 NZQUA X-Developer-Key: i=msp@baylibre.com; a=openpgp; fpr=BADD88DB889FDC3E8A3D5FE612FA6A01E0A45B41 The pins associated with m_can have to have a special configuration to be able to wakeup the SoC from some system states. This configuration is described in the wakeup pinctrl state while the default state describes the default configuration. Also m_can can be a wakeup-source if capable of wakeup. Signed-off-by: Markus Schneider-Pargmann --- .../devicetree/bindings/net/can/bosch,m_can.yaml | 22 ++++++++++++++++++= ++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/D= ocumentation/devicetree/bindings/net/can/bosch,m_can.yaml index c4887522e8fe97c3947357b4dbd4ecf20ee8100a..ecba8783198fc1658fcc236d8aa= 3c89d8c90abbd 100644 --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml @@ -106,6 +106,22 @@ properties: maximum: 32 minItems: 1 =20 + pinctrl-0: + description: Default pinctrl state + + pinctrl-1: + description: Wakeup pinctrl state + + pinctrl-names: + description: + When present should contain at least "default" describing the defaul= t pin + states. The second state called "wakeup" describes the pins in their + wakeup configuration required to exit sleep states. + minItems: 1 + items: + - const: default + - const: wakeup + power-domains: description: Power domain provider node and an args specifier containing @@ -122,6 +138,12 @@ properties: minItems: 1 maxItems: 2 =20 + wakeup-source: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: + List of phandles to system idle states in which mcan can wakeup the = system. + + required: - compatible - reg --=20 2.49.0