Message ID | 20231226122113.v3.8.Idc995ce08a52ba4c5fde0685118ddf2873fc8acd@changeid |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-11636-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:6f82:b0:100:9c79:88ff with SMTP id tb2csp1056255dyb; Tue, 26 Dec 2023 11:24:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9+vBr8xI6iIXtRtx9JjEl0AqHhdGKIGv53p9FO3k9MXBLow0cbAYYjpAEu+n6EJuOuhrR X-Received: by 2002:a17:902:bd94:b0:1d3:4d39:2793 with SMTP id q20-20020a170902bd9400b001d34d392793mr3113733pls.33.1703618683761; Tue, 26 Dec 2023 11:24:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703618683; cv=none; d=google.com; s=arc-20160816; b=sn9/VRsbQW9IOe2nl8M8Oogae/0344TocFnfDSTS/a/YO7e1T1U/Z0ToonfyEAg1fx Igk8LhV4E8dIIMY/rTCQuSBbI7HAi6XZ5So+ByMlK64IbCQD/6hjNdsY9kdi5QugQQXm UwHa/RI7BJeSpnKWa8wDI4dyk+g8Q/XzPNqUxVobOoBy9Tds+vs96wY9hmy+WrvHuPNd +B2CBD1F0W/bk/ULXePUOkXJyei3a5g8CEzbAoGtXjXfUKXlXxAyntJ88nXrDCcUkxOr xunxkxdwEHlq6hjXkWcB1zj5Cc33OkBPJTQkehb2+66gUxvqNHerSXsRUJ0LLM+GgyCZ T58g== 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=VEODyyeyprVfJRUjUtUcn0PH/jJY9TEHe0bos5Y4zHc=; fh=X7e+T2TQZni0RkVvD/Xx9UFi2V894yZdvU15QxiScXQ=; b=Ftp+jabvE0vhNpNBuHvuw7tJlwe8smA+BghiKhRx7Z7JqeafEnCJG0OvSXVBuWRn2n PGRrm7nY+bTTc769n/DlNKZ6aYn2KRUNNnAvlR3Z8uRkZDLDbSoa/CwnA9cAGSuXIxhF H36mfASsz6NPuLiqlJk5XFKibsBhy4lgvlSvwmxbhN1Ww3TnYKHrb6BhJNLHx4YA3CAb /HRmFofSSplQyw0dHLBjpn0vqjW+9yiardzujJCMseXEpmIyaLY1HPJRvZ9JNvkphsGn HnPwqd+H8wyA6GqJ+Nnn8k2Vr7ceWbIchZyQXi02UW22OD31F1/oCv9YwhcgmstTAgVx Ssww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Bk0PBuj3; spf=pass (google.com: domain of linux-kernel+bounces-11636-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11636-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id iw19-20020a170903045300b001d06da42b0csi9606542plb.503.2023.12.26.11.24.43 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 11:24:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11636-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Bk0PBuj3; spf=pass (google.com: domain of linux-kernel+bounces-11636-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11636-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A145B282720 for <ouuuleilei@gmail.com>; Tue, 26 Dec 2023 19:24:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08BF314000; Tue, 26 Dec 2023 19:22:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Bk0PBuj3" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) (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 0E5C710A31 for <linux-kernel@vger.kernel.org>; Tue, 26 Dec 2023 19:22:09 +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-il1-f179.google.com with SMTP id e9e14a558f8ab-3600dc78bc0so3263445ab.2 for <linux-kernel@vger.kernel.org>; Tue, 26 Dec 2023 11:22:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1703618529; x=1704223329; 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=VEODyyeyprVfJRUjUtUcn0PH/jJY9TEHe0bos5Y4zHc=; b=Bk0PBuj3zKTP/LArK9YDe0mv7GUIt00/gfVPl240ojZ+vU9/0kiadYnEJLigw2zm3Q qQNm0qsp606kFMaXFuIQcYYrzpMPBeJ4FhODDBD7JOVDLILC3Q3yaCls3e4OsBUuoSww dVdOd4u0aEMWydzzirDdbT/0XUdhXnFiH5P4w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703618529; x=1704223329; 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=VEODyyeyprVfJRUjUtUcn0PH/jJY9TEHe0bos5Y4zHc=; b=Deh3DGgUOu64pXoC27CqqaoIp64IFb2eGPuiHcnOhAvzu3QmmGPd0uaZNIooT9KFlH ORHnly8YMst7BfL6mdkKOEutHV0zWZ4S7zmkQKDB4aMUd6JAvF9336ajDvs2CVIILuXH CK54yz3maWkZcBmcIxeuvqOnLmJPVs4BYx/x8xGhqK0CVwi5RvhyGFUN1yg/28eIhkCo 8E+ZYmF1wayo5H12Tlads0ba2WCJ0MMgL8QV3WS+wgD9uG3gUOrsK7YWIH17kAr3s4Sq 8HKjNNxji+XDbNjyFL2KcO9dzKUImPN/laxDEpviDH8P26ngOnUMDZf+9Oy4fBLeHXdo RFzA== X-Gm-Message-State: AOJu0YxXG8fsqxyZRTqpKCv1fgVd8ahL3vCls/DG3emqCkpuA97p6lpK NeRn+6Vfp3JMUntmZWnBN3TeRtABRLb7Gz4FujFHUiHrCLp5 X-Received: by 2002:a05:6e02:1528:b0:360:17a7:1f28 with SMTP id i8-20020a056e02152800b0036017a71f28mr963152ilu.15.1703618529143; Tue, 26 Dec 2023 11:22:09 -0800 (PST) Received: from markhas1.lan (71-218-50-136.hlrn.qwest.net. [71.218.50.136]) by smtp.gmail.com with ESMTPSA id gw3-20020a0566381ee300b0046b692e719esm3207609jab.150.2023.12.26.11.22.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 11:22:08 -0800 (PST) From: Mark Hasemeyer <markhas@chromium.org> To: LKML <linux-kernel@vger.kernel.org> Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Rob Herring <robh@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Sudeep Holla <sudeep.holla@arm.com>, Andy Shevchenko <andriy.shevchenko@intel.com>, Raul Rangel <rrangel@chromium.org>, Tzung-Bi Shih <tzungbi@kernel.org>, Mark Hasemeyer <markhas@chromium.org>, Alim Akhtar <alim.akhtar@samsung.com>, Conor Dooley <conor+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Rob Herring <robh+dt@kernel.org>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 08/24] ARM: dts: samsung: exynos5800: Enable cros-ec-spi as wake source Date: Tue, 26 Dec 2023 12:21:12 -0700 Message-ID: <20231226122113.v3.8.Idc995ce08a52ba4c5fde0685118ddf2873fc8acd@changeid> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231226192149.1830592-1-markhas@chromium.org> References: <20231226192149.1830592-1-markhas@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1786373664647524171 X-GMAIL-MSGID: 1786373664647524171 |
Series |
Improve IRQ wake capability reporting and update the cros_ec driver to use it
|
|
Commit Message
Mark Hasemeyer
Dec. 26, 2023, 7:21 p.m. UTC
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.
Some Chromebooks use a separate wake pin, while others overload the
interrupt for wake and IO. With the current assumption, spurious wakes
can occur on systems that use a separate wake pin. It is planned to
update the driver to no longer assume that the EC interrupt pin should
be enabled for wake.
Add the wakeup-source property to all cros-ec-spi compatible device
nodes to signify to the driver that they should still be a valid wakeup
source.
-Commit-changes: 3
-Update commit message to provide details of the motivation behind the
change
Signed-off-by: Mark Hasemeyer <markhas@chromium.org>
---
(no changes since v2)
Changes in v2:
-Split by arch/soc
arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts b/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts index f91bc4ae008e4..9bbbdce9103a6 100644 --- a/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/samsung/exynos5800-peach-pi.dts @@ -949,6 +949,7 @@ cros_ec: cros-ec@0 { reg = <0>; spi-max-frequency = <3125000>; google,has-vbc-nvram; + wakeup-source; controller-data { samsung,spi-feedback-delay = <1>;