From: "张 宁" <zhangn1985@outlook.com>
To: Neil Armstrong <narmstrong.kernel@gmail.com>,
"linux-amlogic@lists.infradead.org"
<linux-amlogic@lists.infradead.org>, Nick <nick@khadas.com>,
Neil Armstrong <narmstrong@baylibre.com>
Subject: 回复: How to test meson_gx_pm
Date: Sat, 2 Jul 2022 07:43:12 +0000 [thread overview]
Message-ID: <OS0P286MB06413410F7816FEC2DC1D820CDBC9@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <OS0P286MB06413EEDA8411EA36A33DE16CDB99@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM>
Hi, All
I have test it on VIM1, with kernel 5.19-rc4.
it works as expected.
BR.
Ning.
发件人: 张 宁 <zhangn1985@outlook.com>
发送时间: 2022年6月27日 13:26
收件人: Neil Armstrong <narmstrong.kernel@gmail.com>; linux-amlogic@lists.infradead.org <linux-amlogic@lists.infradead.org>; Nick <nick@khadas.com>; Neil Armstrong <narmstrong@baylibre.com>
主题: 回复: How to test meson_gx_pm
Thanks Neil.
Wake up sources are configured in BL301, no related to other parts of U-boot.
Hi, Nick
are these wake up sources (power key, IR, bluetooth) correctly configured?
BR.
Ning.
发件人: Neil Armstrong <narmstrong.kernel@gmail.com>
发送时间: 2022年6月27日 9:39
收件人: 张 宁 <zhangn1985@outlook.com>; linux-amlogic@lists.infradead.org <linux-amlogic@lists.infradead.org>; Nick <nick@khadas.com>; Neil Armstrong <narmstrong@baylibre.com>
主题: Re: How to test meson_gx_pm
Hi,
On 27/06/2022 10:52, 张 宁 wrote:
> Hi, Neil
>
> I understand meson_gx_pm is rejected by upstream[0].
>
> but it's OK to add this driver to personal kernel build or downstream kernel build for GXBB.
>
> as a 6 years old driver, is it still work as expected?
No idea, it should be tested.
> I find this driver has been added to Khadas's mainline linux release for years. but they didn't do tests this driver.
>
> how to test this driver is a problem now.
>
> the driver is for suspend, thus can I use
> "
> # echo mem > /sys/power/state
> "
> from command line?
>
> And how to wakeup device? power key on SBC?
Any wakeup source configured in bl301 code embeded in the FIP bootable binary should work.
Usually Bluetooth & IR are configured in addition to a power key, but the vendor u-boot source
should be checked to confirm.
Neil
>
> BR.
> Ning.
>
>
> [0]: https://lore.kernel.org/lkml/1478183365-23708-1-git-send-email-narmstrong@baylibre.com/
> _______________________________________________
> linux-amlogic mailing list
> linux-amlogic@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
prev parent reply other threads:[~2022-08-12 9:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-27 8:52 How to test meson_gx_pm 张 宁
2022-06-27 9:39 ` Neil Armstrong
2022-06-27 13:26 ` 回复: " 张 宁
2022-07-02 7:43 ` 张 宁 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OS0P286MB06413410F7816FEC2DC1D820CDBC9@OS0P286MB0641.JPNP286.PROD.OUTLOOK.COM \
--to=zhangn1985@outlook.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=narmstrong.kernel@gmail.com \
--cc=narmstrong@baylibre.com \
--cc=nick@khadas.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox