OSDN Git Service

fsi: Move defines to common header
authorJoel Stanley <joel@jms.id.au>
Fri, 8 Nov 2019 05:19:41 +0000 (15:49 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2019 10:23:40 +0000 (11:23 +0100)
commit8bcd06d0cb3d991b45231cf22c467759b11f18aa
tree162b547eab739963bad49db5675b817eadee5fe6
parent56ec311fddacd0e18795322e1d25048179787b4b
fsi: Move defines to common header

The FSI master registers are common to the hub and AST2600 master (and
the FSP2, if someone was to upstream a driver for that).

Add defines to the fsi-master.h header, and introduce headings to
delineate the existing low level details.

Acked-by: Andrew Jeffery <andrew@aj.id.au>
Acked-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20191108051945.7109-8-joel@jms.id.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/fsi-master-hub.c
drivers/fsi/fsi-master.h