Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp831978lqp; Thu, 23 May 2024 00:55:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwgHO2A3xwZNrw+69NCoS/nzT40inof+lmdx0oU2hWDWcZZHM0aIunv01wKEFc0MxOTj7f4GR0HEaseJ/bkDbh3/PA6cDedEaxyA5uCw== X-Google-Smtp-Source: AGHT+IHSvfIBjujOrAXCCiR4/E2QfeHgSfnpBRmPRJ4CLffro5cnzlJ1VecOBMh5MHw7UmsIRHKf X-Received: by 2002:a05:6e02:148d:b0:371:1c52:a28f with SMTP id e9e14a558f8ab-371f7c80e6fmr51578515ab.5.1716450921190; Thu, 23 May 2024 00:55:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716450921; cv=pass; d=google.com; s=arc-20160816; b=vidDJAKsAde/RWti5wJ1zMaRJUy6VG0oBPmaN/QZ9LZIS52b2riV6A3+GP+0HDhBIJ xsnDHXOnGjU8iJKPvkxrE2bpjc7m0EYPas92qsFsnGFEiWMGCpxCQqCuzov9fBcIf425 o9P2ov4+cIq14adHlvqtDlZf6g1S3LG/7FKC/OybpkF36UHg2vCi3wl61SgwjuH6ExgD 9QBj8YprF6dL4qsiW8sAy6Gl7k6HNE8lxTk2cAM/2KX0ylbWSMF0NyL2zVCTLFm2Jsq8 2viXRjnoEWFezO5UFCu8EFOZguu2RW8bmaiXA2RI+QsO/pgW/0+MEiaSOG6iclFPh34O b+pQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Dfktdx7avVVxO+VgbPGQcts/32B65YHqwd/3ELI4ILs=; fh=25FkBa9dPSd7dtBtubqFVuMaqVoAeIh/1D4c+YNsZP8=; b=GnjopsaAlixoVS6hQmCSAglza9B2vY1pgBFqbnq7oYH8RkslOqyXh4zFUCROeL+773 Jbj+3CxQKC4F6PJraiWID8Q0bTktL6ZUlJmMPSvnm3p2qZBG0cuAoKF4hC17TBDOu1RA r146MTM8/ZFOmb/nWg/l79VZwUw5iUIGvL+PQwW74G1YpRJoLPHDCu9x46+GbUbOyMrg i/SqN7hOFVXldjbmUeFc26ABEvTybZRy6vAqlpgeXIKU7MuxSOOw/pYztxwtDbiSP9n7 4KZedy7O1IE1V8fDmxi58Dqa6ZvWb8IUvB5/Pw6wwxigyUjQcTGCwEGEacrlp8xTFoF1 4Skg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=nfl6VszG; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-187116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187116-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f4d2b170c1si808077b3a.282.2024.05.23.00.55.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 00:55:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=nfl6VszG; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-187116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187116-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 9F428283182 for ; Thu, 23 May 2024 07:55:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CD5D13D288; Thu, 23 May 2024 07:54:31 +0000 (UTC) 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="nfl6VszG" Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.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 3A5C113CF85 for ; Thu, 23 May 2024 07:54:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716450870; cv=none; b=Qtr/B0nDf20pCjBDN5Gj5NsiZ1hFemT91m4B9xaWYk6REbeqcsLUjuvsbdSeW+si32OCHqYhWna5+RDmmdWTGKg70M8QwV8IBzVqqGdlsIzG5Sr1m2czvsX7VRPp/igvK3hrDIQY6AEXttJXDdUNBZ1OOpT6INYUzBDQf/ywyu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716450870; c=relaxed/simple; bh=IXICyk/2YP4eDexMcGBpEOku8KMw3RDWVpsaEO4xej4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=salase6/i2D3qQVGJhmsQ8OgIqqAC/ei6QNeFvpXuexGYJrwXUPhlvVo4Lz2vqds+6AeXUlC+WTI1+CYrUwfIqIgY8JW8W+C6cjVr5W8r0v9CSdDP3qzoT5aPeKwU0mW2jRv4s8+yq3w1KzM2hKD7TDP/5bJjHjR9r5Y/cfnS24= 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=nfl6VszG; arc=none smtp.client-ip=209.85.221.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 Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-354cd8da8b9so1791986f8f.0 for ; Thu, 23 May 2024 00:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716450865; x=1717055665; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Dfktdx7avVVxO+VgbPGQcts/32B65YHqwd/3ELI4ILs=; b=nfl6VszGSwZVqB6kGkSVxFW4b4wZmTNTR5Phncuf7zqUOkk0rUWADvxYoV/UjnODvj iW7AC7sMt64uIApFG11rLRiY1JLJIksqSxtKSRyhkEJNSW3qm+s7QawoRO9HIdO5kPGi CJ/5/Rct1Lw4XpREAA3nQ8py/CWEP8e+Y0gwiTaMJ33XQpp684eTpU7wFEt4QjUtpgp+ Wj/Saabi8dmTd6Y/8e1nVPdJm6+kkkob3FURI5+aGRRmejk0Vef2MC9jbDeViyUKdK1l 1b6GENCnfl/FR7Z2Gyb70/Qd3vVAqUmBlsybiS6xTcgsovkUD96987bC/iizE1RLXxUX snIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716450865; x=1717055665; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Dfktdx7avVVxO+VgbPGQcts/32B65YHqwd/3ELI4ILs=; b=GAUs8E/ZQGt6WPrs2/rQ0TxqurX20yvpadmsIVKOC0QMSnd29osH6Ls/JWkidHAl57 gPvirpmorzSe1tWIDAzPIzT7bGCdCZhgtt7n+p329srmKhi4wR2GKvSO4F7/d2hMSjzm P7wFgp75B4Qhqyjj0XgoqjyWsNeegFsB6wkaWX8Otdy1kHKk25wytP83Y43alHc997/w QLhKWaVsHOOIzr7UQUhDEd7u0vnW/BwZy2HymFO7kpvcbb+7F9GNZf1PYbPDyo9I6149 sAYpYJj3XkFDtOgNX3g23J9z3NLbiCsZyKvb8P2t4EbASTUY9Z3QITjMPaNinvnG+ExQ xmLQ== X-Forwarded-Encrypted: i=1; AJvYcCUVgepRM5i0OXuDpuX/vVVMUb5mawR8Ks9x8WrnPJN2oEw26t/EdG73dvdLOLehKhXRYYJFZjFSvs5sBque7q8B8nXaV0e/eoIyUEo4 X-Gm-Message-State: AOJu0Yy65di6cjoFfCs0gw+oYvevsd4GB3yx/bmOm85IKM/T9goKTDpF BOvDEiJVVgkB/BKXv40W/Zro5YdZrUufpJmLZMPHaecKZr64joOlhAIE0+8fNCA= X-Received: by 2002:a5d:564b:0:b0:354:fd72:8791 with SMTP id ffacd0b85a97d-354fd7288b8mr235826f8f.43.1716450865365; Thu, 23 May 2024 00:54:25 -0700 (PDT) Received: from blmsp.fritz.box ([2001:4091:a246:821e:6f3b:6b50:4762:8343]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3502baad074sm36501833f8f.70.2024.05.23.00.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 00:54:24 -0700 (PDT) From: Markus Schneider-Pargmann 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: Vibhore Vardhan , Kevin Hilman , Dhruva Gole , =?UTF-8?q?Martin=20Hundeb=C3=B8ll?= , Simon Horman , linux-can@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Markus Schneider-Pargmann Subject: [PATCH 2/7] dt-bindings: can: m_can: Add wakeup pinctrl state Date: Thu, 23 May 2024 09:53:42 +0200 Message-ID: <20240523075347.1282395-3-msp@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240523075347.1282395-1-msp@baylibre.com> References: <20240523075347.1282395-1-msp@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Pins associated with m_can can be the source of a wakeup in deep sleep states. To be able to wakeup these pins have to be configured in a special way. To support this configuration add the default and wakeup pinctrl states. Signed-off-by: Markus Schneider-Pargmann --- .../devicetree/bindings/net/can/bosch,m_can.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml index 33f1688ca208..7c6fa7367c37 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 + pinctrl-0: + description: Default pinctrl state + + pinctrl-1: + description: Wakeup pinctrl state + + pinctrl-names: + description: + When present should contain at least "default" describing the default 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 -- 2.43.0