Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp756815rdh; Wed, 14 Feb 2024 10:20:08 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUcFY9lf989mcuoMgBN8VzpW4ioNaQy3adlSELnU3iCWbaKGMaAJooP/PqMe/rVEeDRbRnPqSnOQc2TmBFULn/xYPk5DSpyKsKDC3zUGw== X-Google-Smtp-Source: AGHT+IGRIZMOOtpbkWUj60A3tuyZv1z0xR88V0CH9D4EsPvlWCc9EaXYTHNMddzck3Kru/1JdvYc X-Received: by 2002:a92:b745:0:b0:363:d9e0:c9e2 with SMTP id c5-20020a92b745000000b00363d9e0c9e2mr4561931ilm.2.1707934807743; Wed, 14 Feb 2024 10:20:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707934807; cv=pass; d=google.com; s=arc-20160816; b=TlsArlWcsSimaSvnpW3BVF9ezdv8r7IQt1WQfQ8EQ3ZOqKWwSNeEF5hmyUcs1PVKyZ DyB0b8OiSSd/hHaRXtGmoh5whwzWKdArXiPNZMHtN2yWy9OMb37IDgHJp56Bq3hMqqns NU6MnhSgIYFpo87lugcvkVSAw/o9Lby0NJPmYU3B+2qfUpZJrs+rE35Gtgpoc58w/SXj FbaMWxehdcUHoPq1fcfo8+8MSMMswAEftrq/Qqx9gcnqvvn2s+JuDyGPsMlqGuNjoExk rOhDEY/uGMddU7vEYDqTmWQAyytbnQorE0nwbRoM5GemxnLFwj8aq4H7ZaWqK5KgCZBM ashg== 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=yBh8dQqIBw9qKhqnK8k21dg8grXnv7Nfa/7n0tJuXPo=; fh=LsxgcOgz/0Jcak2QFSmFCUWLXrj0CRUqXeUIKgPuNN8=; b=ucYUPcCJ9CS3eC6jRWy4kM02s1luRlKvbtWvjlh33j6O+b2mVfnUhrLsscMZKgO7j0 b+HO2m2LUg++sSixEQOZk/adhiFPol+dXbYN6uPnd06/FQxtb519DHgr/1Q+5y6e+eO8 xO/HXLaADfUvXmhS5M3yNvxqdqqEtr2bQR10/I6Q87vtXP6HBMniSM2JnG1QrZcw/JYo eVWymn59hR1BSLGXJtUlzyjh9zRjI+yIGGoPSwGNdjCMP5zKabbgOWn5qziVqKHmVLan A/bBNbsqkJBEGLvtKKHQ7xQUS9ndUVoExgy9MbuzqWY4U/HghK62sH6zHiHpISsCEeiS a9ww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qj8MQTm6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65752-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65752-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCWCYZLl7ijfHBfNEX9Apd6Tbx0W00hVnZLuml1Se+d50km1E432SGbrXlrYJCe6vVqN7MNEpqyI+WCaWmSyBZsBSGa1zjsQK+aZodrnLg== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bx34-20020a056a02052200b005b95ee3edc6si807896pgb.628.2024.02.14.10.20.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:20:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65752-linux.lists.archive=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=@kernel.org header.s=k20201202 header.b=qj8MQTm6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-65752-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65752-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 C9DF3292B41 for ; Wed, 14 Feb 2024 18:02:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C8B112D771; Wed, 14 Feb 2024 17:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qj8MQTm6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1093128397; Wed, 14 Feb 2024 17:58:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707933482; cv=none; b=D9ppSVGUzUGDRAKMbCBdFCRgJSwdMsLNmD9lEUNA3JA3VFGvelck8eS0lvsdkfh+8YSQ/jRj7GyXDzaZX1TjuIN1y6NYJpYC84F/+NBcmlcqp0mKQiP9UWAvvSmYdP13rlFDmG+1hNj8pyksJRSsT7gAkeNYtLH93c8bYLJyHNU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707933482; c=relaxed/simple; bh=UzWKN3xNNoSjZtcnrQwFz+RNpOUVMrgQrSSh0UctjTU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QE4oOFqINrZHWJoEatX16+r7tjaEcnciFeuqSMf5rRNhEAmTkXlqZOVkt+/gzAVjkldeWeHk/obfsPVkBusDD2Z7qwqMFQSKBN0eXJJGoW7ly969AeBI9dOuRY8rcZucj+ylsaHjQtGfmkdhX6kCCRCgq6ly9JcagLQhnzoAwnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qj8MQTm6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68C87C43601; Wed, 14 Feb 2024 17:57:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707933482; bh=UzWKN3xNNoSjZtcnrQwFz+RNpOUVMrgQrSSh0UctjTU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qj8MQTm6al+ezCEmOoQ5ZnVHbMiels7Hg+6eUCS4WoGaOEESCwXd7Jrpg5fEa1mOI 9Qor+g+afLZXmIvRMZYb6PmuVELyjVpiVbUphkNqYjkN1zAhgLzxnpBLcBsacsTMkt deQAaAdnx96nkma7t/N0udb3TT+SLzuED1nazrdrzo+jELWWxLma7ieESwdQltXlNg 0lSSg05z0js4HC7LEBMRdC/DrFq5F0RPSC2AVFjurph2V1Kx4zm+icrzVAe57FNTX0 5o36S5ix/Q1I0TuBSjFGTnJu4l6Er6bhQ0AQhFCgCqOjbZ1CCH86BzK9YUFCeyBQwD K/2V+VNem3rlQ== From: Bjorn Andersson To: LKML , Mark Hasemeyer Cc: AngeloGioacchino Del Regno , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Sudeep Holla , Andy Shevchenko , Raul Rangel , Tzung-Bi Shih , AKASHI Takahiro , Alexandre TORGUE , Alim Akhtar , Andre Przywara , Andrew Morton , Andy Shevchenko , Baoquan He , Bartosz Golaszewski , Benson Leung , Bhanu Prakash Maiya , Chen-Yu Tsai , Conor Dooley , Daniel Scally , David Gow , Enric Balletbo i Serra , Frank Rowand , Greg Kroah-Hartman , Guenter Roeck , Heikki Krogerus , Heiko Stuebner , Jonathan Hunter , Krzysztof Kozlowski , Lee Jones , Len Brown , Linus Walleij , Manivannan Sadhasivam , Mark Brown , Matthias Brugger , Michal Simek , Mika Westerberg , Nick Hawkins , Prashant Malani , "Rafael J. Wysocki" , Rob Barnes , Rob Herring , Sakari Ailus , Stephen Boyd , Takashi Iwai , Thierry Reding , Tony Lindgren , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Wolfram Sang , chrome-platform@lists.linux.dev, cros-qcom-dts-watchers@chromium.org, devicetree@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org Subject: Re: (subset) [PATCH v3 00/24] Improve IRQ wake capability reporting and update the cros_ec driver to use it Date: Wed, 14 Feb 2024 11:57:33 -0600 Message-ID: <170793345816.27225.17596863593307803250.b4-ty@kernel.org> X-Mailer: git-send-email 2.43.0 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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Tue, 26 Dec 2023 12:21:04 -0700, Mark Hasemeyer wrote: > Currently the cros_ec driver assumes that its associated interrupt is > wake capable. This is an incorrect assumption as some Chromebooks use a > separate wake pin, while others overload the interrupt for wake and IO. > This patch train updates the driver to query the underlying ACPI/DT data > to determine whether or not the IRQ should be enabled for wake. > > Both the device tree and ACPI systems have methods for reporting IRQ > wake capability. In device tree based systems, a node can advertise > itself as a 'wakeup-source'. In ACPI based systems, GpioInt and > Interrupt resource descriptors can use the 'SharedAndWake' or > 'ExclusiveAndWake' share types. > > [...] Applied, thanks! [14/24] arm64: dts: qcom: sc7180: Enable cros-ec-spi as wake source commit: f172a341ec1f66bac2866720931594e81f02ad4d [15/24] arm64: dts: qcom: sc7280: Enable cros-ec-spi as wake source commit: a4b28b9ecc99673da875e214b1a06f1e0f0a24fa [16/24] arm64: dts: qcom: sdm845: Enable cros-ec-spi as wake source commit: a7baa25bfbfdcd4e76414f29ab43317ded8d3e6e Best regards, -- Bjorn Andersson