回复: How to test meson_gx_pm

张 宁 zhangn1985 at outlook.com
Sat Jul 2 00:43:22 PDT 2022


Hi, All

I have test it on VIM1, with kernel 5.19-rc4.
it works as expected.

BR.
Ning.


发件人: 张 宁 <zhangn1985 at outlook.com>
发送时间: 2022年6月27日 13:26
收件人: Neil Armstrong <narmstrong.kernel at gmail.com>; linux-amlogic at lists.infradead.org <linux-amlogic at lists.infradead.org>; Nick <nick at khadas.com>; Neil Armstrong <narmstrong at 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 at gmail.com>
发送时间: 2022年6月27日 9:39
收件人: 张 宁 <zhangn1985 at outlook.com>; linux-amlogic at lists.infradead.org <linux-amlogic at lists.infradead.org>; Nick <nick at khadas.com>; Neil Armstrong <narmstrong at 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic


More information about the linux-amlogic mailing list