From patchwork Thu May 23 07:53:41 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: 13671360 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 49F0BC25B75 for ; Thu, 23 May 2024 07:54:48 +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=GnD+erfi2WkqS/CtrAAcENxDQ1TBSScrAuu7WXvzpP0=; b=dg6S/MnCRksfq0 s65qEvjnkeeCzXKPGfOc31bttl+QVlZpww9XzB24cD3gUJPq6kyF6Jd+wgkOp7GCVo70LLSqRqrNZ 8JX0RyAYNDnR/f1F6zK2v4L4AExsLaOFg50Tms6X1tmAoZFNU7Y6a2T+y4e+Wtordi5kJ7x+ds6gC 6a5RHVoqZvBLQYw8zdkynSPeiY5g4WY3UaMHuliQCeXPjvipEhzsO6FhGXf2ZLhIxFfqZHTUN13Ny XH1jJ36T8O7mT6NnIz0wceGgRaOqcOEa6VRuImuEYVU0MKxwsVP/ZG9aDlZg7TwPGlMp39uZdUJzy veoSJZ8YOi5OYrsZE3MQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3HR-00000005O0Y-33pp; Thu, 23 May 2024 07:54:29 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sA3HP-00000005NzG-0TAg for linux-arm-kernel@lists.infradead.org; Thu, 23 May 2024 07:54:28 +0000 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-351da5838fcso5628188f8f.1 for ; Thu, 23 May 2024 00:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1716450864; x=1717055664; 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=yFKoRI+8ogEC3xai0mED7XOpWxyQTS94NP18L7SjeH4=; b=MMWXS4nDbPUmJOzy5s6pw4AjZiz+O1BjH3Sa6yEGtdaXsKoU/RiP5T/Tx8TLv0wzM1 CQQpYJkSUKsu9oGm1SuWnPvIvgv1i9uX6YW0MfpeWf6fvcbxG93tkObQbmSp5tQd2Os1 KDE6FoC9sAPIf39rofUA1/riwSS6tYhMVHBXRbD90xgEHyOiwQ87k+AJmkw88+wgtUm0 Oy3b5+H0F7IG4u3KsQuGhVr5MhjKHLtmvt6akXYLO/LUL3y4jVKhSp0glgDuYXsadmYc Pr16gAotNrJFrfATM7lwYncdpT0dZi/+eN+7YnlIgaTrCjqGCaZBAuYDJYoYtCU5f/7p 77uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716450864; x=1717055664; 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=yFKoRI+8ogEC3xai0mED7XOpWxyQTS94NP18L7SjeH4=; b=EIuCFSQIwvV8vKg1E0aXcl2f7JDAubaFCz6dsoQBftZhVBDCnJ5gfHsd4D1A2JGk+F JHG++CbB56ovlHJkaSAL80czWEXDqhgqwOAR/PkqHpDULbsgwjifIvAjlSlGFG/aWIlF 1rzl3NIfS1Tz5rS4sdrPi4doEChYgHjh8wZTNMaZue2ZrQOZV3EUrxannPe/8hybmHqa xDf98oMDoIL0MHH5qu4FNrHlBYjYGmDNlq+Xlh2FfG+qcuEnqoSwucMBgjXGjwPB/dTd 4Uwo9NCPux6D8zD9uPEr6oUSWhkJmZumE+SpXeQmFOLy+E79Gqbb6v8C7pK4jJZDvCM9 eIzA== X-Forwarded-Encrypted: i=1; AJvYcCXWkAaw9g71fqPs7IssnAU0GNgGnbFQwn+0k617l9fap1QaRn4Aj8qsECvTk2j68g6aCrXQEw3t1SuiCv9GPU3WIZfzmehPVNSwXyWmvvAR5izmteA= X-Gm-Message-State: AOJu0YxOHeeJqKVy5dirxd1dKwvW0LZc0QBKw64gS+AGY5dSe2JmGKrJ KTdOTdxLsKAsouEtN/9uyzoviQet+SOZLwA4/Ri6YXxXaWLsrrQhl8cU7wnWJts= X-Google-Smtp-Source: AGHT+IGDzErplwCICU1ko5jWwuhNNvWBqpXdU1AVQfAdkYAqsILeEMKquVqY/w/WRkxQ5BGXYhUTkQ== X-Received: by 2002:a05:6000:795:b0:354:db63:9de5 with SMTP id ffacd0b85a97d-354db639e56mr4759952f8f.39.1716450864009; Thu, 23 May 2024 00:54:24 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 00:54:23 -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 1/7] dt-bindings: can: m_can: Add wakeup-source property Date: Thu, 23 May 2024 09:53:41 +0200 Message-ID: <20240523075347.1282395-2-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_005427_180046_60B2479D X-CRM114-Status: GOOD ( 10.88 ) 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 m_can can be a wakeup source on some devices. Especially on some of the am62* SoCs pins, connected to m_can in the mcu, can be used to wakeup the SoC. This property defines on which devices m_can can be used for wakeup. Signed-off-by: Markus Schneider-Pargmann --- Documentation/devicetree/bindings/net/can/bosch,m_can.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml index f9ffb963d6b1..33f1688ca208 100644 --- a/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml +++ b/Documentation/devicetree/bindings/net/can/bosch,m_can.yaml @@ -118,6 +118,10 @@ properties: phys: maxItems: 1 + wakeup-source: + $ref: /schemas/types.yaml#/definitions/flag + description: This device is capable to wakeup the SoC. + required: - compatible - reg