[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <CZ6GWUQ73SSL.6HP29PU9Q7R@gmail.com>
Date: Fri, 16 Feb 2024 12:31:03 +0100
From: "Thierry Reding" <thierry.reding@...il.com>
To: "Mark Hasemeyer" <markhas@...omium.org>, "LKML"
<linux-kernel@...r.kernel.org>
Cc: "AngeloGioacchino Del Regno" <angelogioacchino.delregno@...labora.com>,
"Krzysztof Kozlowski" <krzysztof.kozlowski@...aro.org>, "Rob Herring"
<robh@...nel.org>, "Konrad Dybcio" <konrad.dybcio@...aro.org>, "Sudeep
Holla" <sudeep.holla@....com>, "Andy Shevchenko"
<andriy.shevchenko@...el.com>, "Raul Rangel" <rrangel@...omium.org>,
"Tzung-Bi Shih" <tzungbi@...nel.org>, "AKASHI Takahiro"
<takahiro.akashi@...aro.org>, "Alexandre TORGUE" <alexandre.torgue@...com>,
"Alim Akhtar" <alim.akhtar@...sung.com>, "Andre Przywara"
<andre.przywara@....com>, "Andrew Morton" <akpm@...ux-foundation.org>,
"Andy Shevchenko" <andriy.shevchenko@...ux.intel.com>, "Baoquan He"
<bhe@...hat.com>, "Bartosz Golaszewski" <brgl@...ev.pl>, "Benson Leung"
<bleung@...omium.org>, "Bhanu Prakash Maiya" <bhanumaiya@...omium.org>,
"Bjorn Andersson" <andersson@...nel.org>, "Chen-Yu Tsai"
<wenst@...omium.org>, "Conor Dooley" <conor+dt@...nel.org>, "Daniel Scally"
<djrscally@...il.com>, "David Gow" <davidgow@...gle.com>, "Enric Balletbo i
Serra" <eballetbo@...il.com>, "Frank Rowand" <frowand.list@...il.com>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>, "Guenter Roeck"
<groeck@...omium.org>, "Heikki Krogerus" <heikki.krogerus@...ux.intel.com>,
"Heiko Stuebner" <heiko@...ech.de>, "Jonathan Hunter"
<jonathanh@...dia.com>, "Krzysztof Kozlowski"
<krzysztof.kozlowski+dt@...aro.org>, "Lee Jones" <lee@...nel.org>, "Len
Brown" <lenb@...nel.org>, "Linus Walleij" <linus.walleij@...aro.org>,
"Manivannan Sadhasivam" <mani@...nel.org>, "Mark Brown"
<broonie@...nel.org>, "Matthias Brugger" <matthias.bgg@...il.com>, "Michal
Simek" <michal.simek@....com>, "Mika Westerberg"
<mika.westerberg@...ux.intel.com>, "Nick Hawkins" <nick.hawkins@....com>,
"Prashant Malani" <pmalani@...omium.org>, "Rafael J. Wysocki"
<rafael@...nel.org>, "Rob Barnes" <robbarnes@...gle.com>, "Rob Herring"
<robh+dt@...nel.org>, "Sakari Ailus" <sakari.ailus@...ux.intel.com>,
"Stephen Boyd" <swboyd@...omium.org>, "Takashi Iwai" <tiwai@...e.de>, "Tony
Lindgren" <tony@...mide.com>, Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, "Wolfram Sang" <wsa@...nel.org>,
<chrome-platform@...ts.linux.dev>, <cros-qcom-dts-watchers@...omium.org>,
<devicetree@...r.kernel.org>, <linux-acpi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-arm-msm@...r.kernel.org>,
<linux-gpio@...r.kernel.org>, <linux-i2c@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>, <linux-rockchip@...ts.infradead.org>,
<linux-samsung-soc@...r.kernel.org>, <linux-tegra@...r.kernel.org>
Subject: Re: [PATCH v3 00/24] Improve IRQ wake capability reporting and
update the cros_ec driver to use it
On Tue Dec 26, 2023 at 8:21 PM CET, 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.
>
> Some logic is added to the platform, ACPI, and DT subsystems to more
> easily pipe wakeirq information up to the driver.
>
> Changes in v3:
> -Rebase on linux-next
> -See each patch for patch specific changes
>
> Changes in v2:
> -Rebase on linux-next
> -Add cover letter
> -See each patch for patch specific changes
>
> Mark Hasemeyer (24):
[...]
> ARM: dts: tegra: Enable cros-ec-spi as wake source
[...]
> arm64: dts: tegra: Enable cros-ec-spi as wake source
[...]
Both patches applied, thanks.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists