diff options
author | Julien Panis <jpanis@baylibre.com> | 2023-05-11 11:51:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-15 13:41:53 +0200 |
commit | 9e66fb52449538406cea43e9f3889c391350e76e (patch) | |
tree | 9e5f3b29859b7be915367a560337a212d6febebb /samples/pfsm/Makefile | |
parent | Documentation: Add TI TPS6594 PFSM (diff) | |
download | linux-9e66fb52449538406cea43e9f3889c391350e76e.tar.gz linux-9e66fb52449538406cea43e9f3889c391350e76e.tar.bz2 linux-9e66fb52449538406cea43e9f3889c391350e76e.zip |
samples: Add userspace example for TI TPS6594 PFSM
This patch adds an example showing how to use PFSM devices
from a userspace application. The PMIC is armed to be triggered
by a RTC alarm to execute state transition.
Signed-off-by: Julien Panis <jpanis@baylibre.com>
Message-ID: <20230511095126.105104-7-jpanis@baylibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/pfsm/Makefile')
-rw-r--r-- | samples/pfsm/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/samples/pfsm/Makefile b/samples/pfsm/Makefile new file mode 100644 index 000000000000..213e8d9f5dbc --- /dev/null +++ b/samples/pfsm/Makefile @@ -0,0 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 +userprogs-always-y += pfsm-wakeup + +userccflags += -I usr/include |