Linux kernel source tree
Go to file
Michael Lo 8cd725742e wifi: mt76: mt7921: fix suspend issue on MediaTek COB platform
MediaTek's controller driver on COB platform (e.g. MT8188) is
capable of controlling power supplies and reset pin of a component
(e.g. a WIFI chip) in power-on and power-off process.

Due to this optional feature, mt76 need to inform controller
that mt76 need to keep power during suspend. Otherwise WIFI will be
powered off when system enters suspend process.

The "wakeup-source" property was used for the device that need
this to go into suspend mode so that mt76 suspend handler doesn't
fail and the system is able to enter into a suspend state.

An example:
wifi: mt7921@0 {
	wifi0{
		reg = <0x0000 0 0 0 0>;
		wakeup-source;
	};
};

Signed-off-by: Michael Lo <michael.lo@mediatek.com>
Signed-off-by: Ming Yen Hsieh <MingYen.Hsieh@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-02-22 09:55:19 +01:00
Documentation dt-bindings: net: wireless: mt76: add interrupts description for MT7986 2024-02-22 09:55:16 +01:00
LICENSES
arch
block
certs
crypto
drivers wifi: mt76: mt7921: fix suspend issue on MediaTek COB platform 2024-02-22 09:55:19 +01:00
fs
include wifi: cfg80211: use ML element parsing helpers 2024-02-21 15:19:04 +01:00
init
io_uring
ipc
kernel configs/debug: add NET debug config 2024-02-15 17:46:53 -08:00
lib
mm
net wifi: nl80211: refactor parsing CSA offsets 2024-02-21 15:19:05 +01:00
rust
samples
scripts
security
sound
tools wireless-next patches for v6.9 2024-02-21 11:48:20 +00:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.