-
Notifications
You must be signed in to change notification settings - Fork 73
AM62L LPM: Add new wakeup sources #537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
When AM62L enters Deep Sleep, WKUP GPIO pins can wakeup the system if they are configured. Detail how to configure the WKUP GPIO to wakeup the system and give an example that is used in the device tree. Signed-off-by: Kendall Willis <[email protected]>
Add the Main GPIO wakeup example for AM62L. Since this wakeup source is enabled in the AM62L device tree by default, use the example that is configured for AM62L. Move the AM62X/A/P specific example into an ifconfig. Signed-off-by: Kendall Willis <[email protected]>
Remove the ifconfig for AM62L that says that WKUP UART is not supported. Add in any specific AM62L information for WKUP UART. Signed-off-by: Kendall Willis <[email protected]>
Reword the Main I/O Daisy Chain section to remove passive language. Signed-off-by: Kendall Willis <[email protected]>
Add myself as a component owner for Power Management. Signed-off-by: Kendall Willis <[email protected]>
d519e58 to
16d5ed8
Compare
|
|
||
| .. code-block:: console | ||
| root@<machine>:~# cat /proc/interrupts | grep "WKUPGPIO" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RST is very white-space focused. 3 spaces is the current standard. This allows code sections to clearly line up with directive
| }; | ||
| }; | ||
| gpio_key node in | ||
| `k3-am62x-sk-lpm-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=11.01.05#n21>`__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `k3-am62x-sk-lpm-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=11.01.05#n21>`__ | |
| `k3-am62x-sk-lpm-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=11.02.06#n21>`__ |
| In order to use WKUP UART as a wakeup source, it needs to be configured | ||
| in a generic way using the ti-sysc interconnect target module driver. | ||
| The reference configuration can be found under target-module in | ||
| `k3-am62-wakeup.dtsi <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi?h=11.01.05#n46>`__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `k3-am62-wakeup.dtsi <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi?h=11.01.05#n46>`__ | |
| `k3-am62-wakeup.dtsi <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi?h=11.02.06#n46>`__ |
| pad when system enters Deep Sleep. | ||
|
|
||
| Main GPIO wakeup can only be tested when | ||
| `k3-am62x-sk-lpm-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=11.01.05>`__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| `k3-am62x-sk-lpm-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=11.01.05>`__ | |
| `k3-am62x-sk-lpm-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=11.02.06>`__ |
Add the WKUP GPIO, WKUP UART, and Main GPIO wakeup source details for AM62L. These wakeup sources are new for the SDK 11.2 release.