* How to test meson_gx_pm
@ 2022-06-27 8:52 张 宁
2022-06-27 9:39 ` Neil Armstrong
0 siblings, 1 reply; 4+ messages in thread
From: 张 宁 @ 2022-06-27 8:52 UTC (permalink / raw)
To: linux-amlogic, Nick, Neil Armstrong; +Cc: 张 宁
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?
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?
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to test meson_gx_pm
2022-06-27 8:52 How to test meson_gx_pm 张 宁
@ 2022-06-27 9:39 ` Neil Armstrong
2022-06-27 13:26 ` 回复: " 张 宁
0 siblings, 1 reply; 4+ messages in thread
From: Neil Armstrong @ 2022-06-27 9:39 UTC (permalink / raw)
To: 张 宁, linux-amlogic, Nick, Neil Armstrong
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* 回复: How to test meson_gx_pm
2022-06-27 9:39 ` Neil Armstrong
@ 2022-06-27 13:26 ` 张 宁
2022-07-02 7:43 ` 张 宁
0 siblings, 1 reply; 4+ messages in thread
From: 张 宁 @ 2022-06-27 13:26 UTC (permalink / raw)
To: Neil Armstrong, linux-amlogic, Nick, Neil Armstrong
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* 回复: How to test meson_gx_pm
2022-06-27 13:26 ` 回复: " 张 宁
@ 2022-07-02 7:43 ` 张 宁
0 siblings, 0 replies; 4+ messages in thread
From: 张 宁 @ 2022-07-02 7:43 UTC (permalink / raw)
To: Neil Armstrong, linux-amlogic, Nick, Neil Armstrong
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-08-12 9:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.