From patchwork Thu May 23 07:53:42 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: 13671362 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 CDD29C25B7A for ; Thu, 23 May 2024 07:54:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qNu9jvy/rg4y/Rn4IkWWVvW2Kpy/ML1X5zB4BU3vcwc=; b=46z65fT//b7JTI dUGMeFIpUdGKEfKKgEjvF2h+PmJ9XH3U27Pqvl/2v9WV7LqOMo7D20zbZQ7ZRMkkZg2tLsukZR+ua EUs7yoK25Ncd7r9kWCuiebzr/3B5dhYwEW9GTvZwIC+g1efakACh/RsfW7U7SPTTFSqxIEPUJQEDi kNHkvqZ09MyxFHDqY8p/UexZf1C3nUhRnmLygNs/4DT1J2jGNQobkMtEI2l8vabJhRl7ApQf7KbVU y1YsDsQViHhQvNyJEvblM67l3k8L7p3yjc0AwTJvqOpZf52VN3suZh1k2X9NOyhn9qgkrL0relYRy rpCRCafT0eYxBDDxacxg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3Hc-00000005O4N-1ATU; Thu, 23 May 2024 07:54:40 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3HQ-00000005NzL-0vM9 for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 07:54:29 +0000 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-354cd8da8b9so1791988f8f.0 for ; Thu, 23 May 2024 00:54:26 -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=lists.infradead.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=1IHkMgli5FbZZamKRFO2hq6IMh48K6PgkOLc7s5XT7DvpLI0JucMWFJj0j0DubBzWL V40+a1BeeRBcW2HujSFOwAXWcj1BsrJr3vs0Zqe3tHKdbrLTNFrBYxh2Lvx9sEIYzQCs 4vzr3ptR7cd3SroHLY7pHbFAkdff3MmJnIyC90sVyo6rp6e7JhlL7D3CneozuqWVjC2M 6P0GmMpJI1zPpeKYRcrO07pjmTfwQZD9OxFuaQ9bHyGLL+mdMZPpqtMqklfFjQjTdnsb yCalWfqxVyKqD01QJ63rxrFEPVeUSENK55xMmfofgX6zSOXze/meJUZ+XmyKSg06XC8F tZBg== 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=vyH+ccsZviQTZqRDoGSYVdSPxbOtROpXlUgUVLS0+xgc7yEMTcN/59/W+ntXyv/U/B QPDyUKrcXdANHiarGGZtJI1Z0Snps2AIcen0ePC/aFeBt/fD6B6Cv/NHB5teBYVE8B06 qPIfkf2R4+10Bj49HlcrrsJbk78CoRwIipLDdbhCTtDclGMWKQYE//ScLYm41vrk2sVy HsXnEuR3tdfKuGcXcPBlOOgXbxliRZR9GPTuCCiiOPDMJVmYiz9389pcoePFdzqortg1 SdpozeDE0gt1c6NKL5YpNc5hOj/m31xMZLC8hYAVTDAGUx3gdzU1352cqezA9pm+aOPB 0lKQ== X-Forwarded-Encrypted: i=1; AJvYcCXFxf5PYrW6m+iI4HrHbRyzCnrmJvRUVnSKsWCqTaAhAPXpavqmKc0iNIunbm7Sqnx5fcxMFELjdlcJe95jdKuqjQ9RVfQ5JGXyLYtHSO70Y7mm42A= X-Gm-Message-State: AOJu0YxMeVCOfjbyaQ9dmnQHrZutxPQfwNaNVoO27ZrtzrYoOUw0w9Pi UaBo6HFJNsLDE/S7j4q9lQGK4JpZ+ElneHyLfkk1qygdibz/X16XgUS3++Nkm54= X-Google-Smtp-Source: AGHT+IF/pK55XVk6BU5rXK9slQYy/4lO8VwqixmRJMIscsNGljlUqfko0F+oxxn3ecB3ekIdd2xgtA== 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_Hundeb=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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240523_005428_281229_0854557C X-CRM114-Status: GOOD ( 11.17 ) 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 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