|author||Ohad Ben-Cohen <email@example.com>||2011-10-20 21:41:24 +0200|
|committer||Ohad Ben-Cohen <firstname.lastname@example.org>||2012-02-08 22:54:05 +0200|
samples/rpmsg: add an rpmsg driver sample
Add an rpmsg driver sample, which demonstrates how to communicate with an AMP-configured remote processor over the rpmsg bus. Note how once probed, the driver can immediately start sending messages using the rpmsg_send() API, without having to worry about creating endpoints or allocating rpmsg addresses: all that work is done by the rpmsg bus, and the required information is already embedded in the rpmsg channel that the driver is probed with. In this sample, the driver simply sends a "Hello World!" message to the remote processor repeatedly. Designed with Brian Swetland <email@example.com>. Signed-off-by: Ohad Ben-Cohen <firstname.lastname@example.org> Cc: Brian Swetland <email@example.com> Cc: Arnd Bergmann <firstname.lastname@example.org> Cc: Grant Likely <email@example.com> Cc: Tony Lindgren <firstname.lastname@example.org> Cc: Russell King <email@example.com> Cc: Rusty Russell <firstname.lastname@example.org> Cc: Andrew Morton <email@example.com> Cc: Greg KH <firstname.lastname@example.org> Cc: Stephen Boyd <email@example.com>
Diffstat (limited to 'samples/Kconfig')
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index 41063e7592d2..7b6792a18c05 100644
@@ -61,4 +61,12 @@ config SAMPLE_KDB
Build an example of how to dynamically add the hello
command to the kdb shell.
+ tristate "Build rpmsg client sample -- loadable modules only"
+ depends on RPMSG && m
+ Build an rpmsg client sample driver, which demonstrates how
+ to communicate with an AMP-configured remote processor over
+ the rpmsg bus.
endif # SAMPLES