Skip to content

Conversation

@kwillis01
Copy link
Contributor

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.

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]>

.. code-block:: console
root@<machine>:~# cat /proc/interrupts | grep "WKUPGPIO"
Copy link
Member

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

https://github.com/TexasInstruments/processor-sdk-doc/blob/master/CONTRIBUTING.md#indentation-and-whitespace

};
};
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>`__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`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>`__

similar to https://github.com/TexasInstruments/processor-sdk-doc/pull/537/files#diff-8f2199cf05ab6b3988cb3fcc96ced8b7635d84f112acd4b1e04e471870bb3a35R477

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>`__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`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>`__

similar to https://github.com/TexasInstruments/processor-sdk-doc/pull/537/files#diff-8f2199cf05ab6b3988cb3fcc96ced8b7635d84f112acd4b1e04e471870bb3a35R477

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>`__
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`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>`__

similar to https://github.com/TexasInstruments/processor-sdk-doc/pull/537/files#diff-8f2199cf05ab6b3988cb3fcc96ced8b7635d84f112acd4b1e04e471870bb3a35R477

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants