net: ipa: introduce sysfs code
authorAlex Elder <elder@linaro.org>
Fri, 11 Jun 2021 20:39:40 +0000 (15:39 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jun 2021 21:13:18 +0000 (14:13 -0700)
commit2e3cf97f4741b320e8f4639fcca732b17614a55f
tree9e0bef177cc30b0a99c643ff84dbd4ca649ed5f8
parente22e8e2fae61de990e3a815a66f2ffa166669b8e
net: ipa: introduce sysfs code

Add IPA device attributes to expose information known by the IPA
driver about the hardware and its configuration.

All pointers used to display these attribute values (i.e., IPA
pointer and endpoint pointers) will have been initialized by the
time IPA probe has completed, so they may be safely dereferenced.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/ABI/testing/sysfs-devices-platform-soc-ipa [new file with mode: 0644]
drivers/net/ipa/Makefile
drivers/net/ipa/ipa_main.c
drivers/net/ipa/ipa_sysfs.c [new file with mode: 0644]
drivers/net/ipa/ipa_sysfs.h [new file with mode: 0644]
drivers/net/ipa/ipa_version.h