fsi: Move various master definitions to a common header
commitfea9cf321c916e9372874e6f2af1bf0b5beb89fb
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 10 Jun 2018 06:25:25 +0000 (10 16:25 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 12 Jul 2018 02:06:02 +0000 (12 12:06 +1000)
treeace39cd9a01090ee5df5bb8a1d62402471d87711
parent8ef9ccf81044a1e31d116b5d4972d5b65ae10846
fsi: Move various master definitions to a common header

This moves the definitions for various protocol details
(message & response codes, delays etc...) out of
fsi-master-gpio.c to fsi-master.h in order to share them
with other master implementations.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
drivers/fsi/fsi-master-gpio.c
drivers/fsi/fsi-master.h