net: ipa: define clock and interconnect data
authorAlex Elder <elder@linaro.org>
Thu, 19 Nov 2020 22:40:39 +0000 (16:40 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Nov 2020 02:44:59 +0000 (18:44 -0800)
commitdfccb8b13c0ce32666c596fbb712c60c7c0ab325
tree65f8113804505091c3e50dbe72057e4255fb678b
parent0a12ad5929556195fbdf1c58a14ec8e5b01b006c
net: ipa: define clock and interconnect data

Define a new type of configuration data, used to initialize the
IPA core clock and interconnects.  This is the first of three
patches, and defines the data types and interface but doesn't
yet use them.

Switch the return value if there is no matching configuration data
to ENODEV instead of ENOTSUPP (to avoid using the nonstandard errno).

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_clock.c
drivers/net/ipa/ipa_clock.h
drivers/net/ipa/ipa_data.h
drivers/net/ipa/ipa_main.c