This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] Linux/AM5706:从 GPIO 唤醒

Guru**** 2540720 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/601532/linux-am5706-wakeup-from-gpio

器件型号:AM5706

工具/软件:Linux

香榭丽舍

wiki 文章介绍了如何从 UART 唤醒 CPU: http://processors.wiki.ti.com/index.php/Linux_Core_Power_Management_User%27s_Guide_(v4.4)#Idle_Power_Management 

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    (笑声) 客户需要能够从 GPIO 唤醒 CPU。 我相信芯片支持它、问题是 Linux 是否支持它、如果支持、如何实现它。
    谢谢
    Michael
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Michael、团队将在此回复...
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Michael、

    您应该在 DTS 中使用"GPIO 密钥、唤醒"条目。 有关更多信息、请参阅以下指针:

    e2e.ti.com/.../572939
    e2e.ti.com/.../2013983

    linux-4.4.4.41/drivers/input/keyboard/gpio_keys.c
    linux-4.4.4.41/drivers/input/keyboard/gpio_keys_polled.c

    Linux-4.4.4.41/Documentation/GPIO/drivers-on-gpio.txt
    Linux-4.4.4.41/Documentation/devicetree/bindings/input/gpio-keys-polled.txt
    Linux-4.4.4.41/Documentation/devicetree/bindings/input/gpio-keys.txt
    Linux-4.4.4.41/Documentation/devicetree/bindings/power/wakeup-source.txt

    Linux-4.4.4.41/arch/arm/boot/dts/AM335x-evm.dts

    此致、
    帕维尔