author | Ohad Ben-Cohen <ohad@wizery.com> | |
Mon, 8 Mar 2021 21:59:00 +0000 (15:59 -0600) | ||
committer | Suman Anna <s-anna@ti.com> | |
Mon, 8 Mar 2021 22:23:31 +0000 (16:23 -0600) | ||
commit | 7e3ea0d62a4bf0ca04be9bc320d13f564aab0a92 | |
tree | 58a6c90bfaf5d0e5d1ba5915c10be33a3e888061 | tree | snapshot (tar.xz tar.gz zip) |
parent | db84d92f9188c1ed613f8445a36ca87faa9b8d05 | commit | diff |
TEMP: rpmsg: add a description field
Add a new description field to the rpmsg bus infrastructure
that can be passed onto the rpmsg client drivers for additional
information. The current rpmsg bus client drivers need to have
a fixed id_table for proper matching, this new field can allow
flexibility for the client drivers (eg: like creating unique
cdevs).
The description field is published through an enhanced name
service announcement message structure. The name service
message processing logic is updated to maintain backward
compatibility with the previous message structure.
Based on an initial patch from Ohad Ben-Cohen.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
[s-anna@ti.com: forward port, add sysfs documentation, fixup qcom drivers]
Signed-off-by: Suman Anna <s-anna@ti.com>
[t-kristo@ti.com: reworked to support both rpmsg with/without the desc field]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Add a new description field to the rpmsg bus infrastructure
that can be passed onto the rpmsg client drivers for additional
information. The current rpmsg bus client drivers need to have
a fixed id_table for proper matching, this new field can allow
flexibility for the client drivers (eg: like creating unique
cdevs).
The description field is published through an enhanced name
service announcement message structure. The name service
message processing logic is updated to maintain backward
compatibility with the previous message structure.
Based on an initial patch from Ohad Ben-Cohen.
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
[s-anna@ti.com: forward port, add sysfs documentation, fixup qcom drivers]
Signed-off-by: Suman Anna <s-anna@ti.com>
[t-kristo@ti.com: reworked to support both rpmsg with/without the desc field]
Signed-off-by: Tero Kristo <t-kristo@ti.com>