How to test meson_gx_pm

Neil Armstrong narmstrong.kernel at gmail.com
Mon Jun 27 02:39:17 PDT 2022


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