From patchwork Wed Dec 20 23:54:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Hasemeyer X-Patchwork-Id: 181913 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp84812dyi; Wed, 20 Dec 2023 15:59:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYKj27EmebgxVmVaKAtJr3rvTOhIewIDlz85ndZ1IKU6oxX95glAJC55xKtThZTFviYFYg X-Received: by 2002:a17:906:17cb:b0:a23:1ffd:9315 with SMTP id u11-20020a17090617cb00b00a231ffd9315mr4708875eje.147.1703116762659; Wed, 20 Dec 2023 15:59:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703116762; cv=none; d=google.com; s=arc-20160816; b=Lk8QBnMJp7INIT/siuC3+wtSSwWCsVVe5Dim0xpAp2wF4eq/MK6+JiawOgWbSTGisp rlUVvekZd+R6ap2Yb3zGDPnqNZaHu/0JPFhMPlcNlPvH+DdljX7tampJDD7jyCrj8cer 3QPoWEgMi1kXwFkIZWS8Cnf4tycE76ysiZQAQFP4J3zdUwX15U3jDqBbEHVp7bFrvzRU BuYcS49YH49xvqbpNt8N1zmmz681016GiXTLyLc55i6llh/fpWENmh8Bbf4Q6cBidQOM yTLZeTvHbsulI9j/e70yXBBaVFCXdZxMIc39xEHtgr9Pwxx4ig4sUnZ2ug3VO2QpdawC IENg== ARC-Message-Signature: i=1; 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=NsTh8joUVqMg5ezobFr/U/KJPW/QvWwfP5qstPNIFW4=; fh=7+INyRGQUaRenIQHeEv6pKc9UqybkCMxiZins2342SM=; b=lmUKGnFohC+MKGf0dmyaXTUHpxwMMffw3VCuJi3aw+wo+chTNKpGBWF3upZg1STVw8 skMKHwTeu1mJC0OTiyklpRoJ0CZwrM0FPENLxwBPTHnTemnxq6uxYT2TbV5MXaBcfHVh frCpBmWfD+bjbQBUObtMAwYB8ZEDsInlWIvak50qs3IdcaOAHpYPkzP2ZZbGcjkBRgIm 9/ZU8EeSQ4lFeYBsJQn18KKOV606fPTfVdUJ19yzUCJth57J9JuSXc0IMWwPU6VM9pPI GnPdvdkVub9ZQ/dmYuUUkTUUQa7NcL+6+L2N4LO+H5bAT+CO9KrMe7RGfCtUS7Dr/4bW 9nCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PhzhskKt; spf=pass (google.com: domain of linux-kernel+bounces-7666-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7666-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h15-20020a17090791cf00b00a2339255aeesi282994ejz.53.2023.12.20.15.59.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:59:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7666-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PhzhskKt; spf=pass (google.com: domain of linux-kernel+bounces-7666-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7666-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 4892E1F21923 for ; Wed, 20 Dec 2023 23:59:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B84C44F60D; Wed, 20 Dec 2023 23:55:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="PhzhskKt" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (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 ED0444E1CB for ; Wed, 20 Dec 2023 23:55:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-7b7f9fdc14dso12204939f.0 for ; Wed, 20 Dec 2023 15:55:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703116519; x=1703721319; 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=NsTh8joUVqMg5ezobFr/U/KJPW/QvWwfP5qstPNIFW4=; b=PhzhskKtQnql6Cf6MBNgp3MbQUt4W7vUw1hDCxYygoVRAzjKYF7tudOUsnLhRQeOoX Uk0lpUNhqpkOvCrEwWpC0GZ/dUGxlAz8nVr+LBYGosS1kaittF95Nzz6OHoYpijigsUm 3gYfkyWL09zkUUJNCtl1TWpze0FGuSKQO0F/U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703116519; x=1703721319; 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=NsTh8joUVqMg5ezobFr/U/KJPW/QvWwfP5qstPNIFW4=; b=gfZ07ACEPqWqMgGN3+nT48XKJe4suKR4z4trqKr89zYBTnWbFmuUtauxTZnp5Mdtmc 0n9dlACem99zyMNxhCkRGlNXL3zPC930u2dl6NunCycY1vHuSb3AdN6pVZsYZAYXq0RB iRfLLMnR94MP2WB812Rxte53Q9RneRslocGHr39u85zGTLA0IVru1goJzIkixbwVNn73 luB+rlaWvycs1f3FTEBfZKcn5+y9+10TpB2xrT55fkAbCfKFVpK2iw1a2dRq8jZ205SV mI878In5CGBSzUa39xXI+OupnGwIPsSh+2g7o0weSIN+G19mtVFLMDTNNn/ZWp1PK02Z JO/Q== X-Gm-Message-State: AOJu0YxXq+SYbBmFkjZwhuVJdovY7MnrnPsfx9vVb3C5acfOdfijAWum m08lg+/WTtlXKvhbwzmnW6zE69oANZGA608ACTQ= X-Received: by 2002:a05:6e02:2607:b0:35f:9920:1111 with SMTP id by7-20020a056e02260700b0035f99201111mr9605176ilb.129.1703116519155; Wed, 20 Dec 2023 15:55:19 -0800 (PST) Received: from markhas1.lan (71-218-50-136.hlrn.qwest.net. [71.218.50.136]) by smtp.gmail.com with ESMTPSA id bp22-20020a056638441600b0046b39a6f404sm177805jab.17.2023.12.20.15.55.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 15:55:18 -0800 (PST) From: Mark Hasemeyer To: LKML Cc: AngeloGioacchino Del Regno , Krzysztof Kozlowski , Tzung-Bi Shih , Raul Rangel , Konrad Dybcio , Andy Shevchenko , Rob Herring , Sudeep Holla , Mark Hasemeyer , Conor Dooley , Jonathan Hunter , Krzysztof Kozlowski , Rob Herring , Thierry Reding , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v2 12/22] arm64: dts: tegra: Enable cros-ec-spi as wake source Date: Wed, 20 Dec 2023 16:54:26 -0700 Message-ID: <20231220165423.v2.12.Ic12bf13efe60f9ffaa444126c55a35fbf6c521cc@changeid> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231220235459.2965548-1-markhas@chromium.org> References: <20231220235459.2965548-1-markhas@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785847362894719136 X-GMAIL-MSGID: 1785847362894719136 The cros_ec driver currently assumes that cros-ec-spi compatible device nodes are a wakeup-source even though the wakeup-source property is not defined. Add the wakeup-source property to all cros-ec-spi compatible device nodes to match expected behavior. Signed-off-by: Mark Hasemeyer --- Changes in v2: -Split by arch/soc arch/arm64/boot/dts/nvidia/tegra132-norrin.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts index bbc2e9bef08da..14d58859bb55c 100644 --- a/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +++ b/arch/arm64/boot/dts/nvidia/tegra132-norrin.dts @@ -762,6 +762,7 @@ ec: cros-ec@0 { interrupt-parent = <&gpio>; interrupts = ; reg = <0>; + wakeup-source; google,cros-ec-spi-msg-delay = <2000>;