summaryrefslogtreecommitdiffstats
path: root/drivers/fsi/Kconfig
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2018-02-12 15:45:45 +1030
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-14 19:11:00 +0100
commitf6a2f8eb73f0dfa7e9293a3ba08f6fcb61dfbbe1 (patch)
tree826f37587c95ddda72a228a9cf287ce68c090d40 /drivers/fsi/Kconfig
parent889ee9fe472af1a2407e3e604498a5edaf7f98ce (diff)
downloadlinux-stable-f6a2f8eb73f0dfa7e9293a3ba08f6fcb61dfbbe1.tar.gz
linux-stable-f6a2f8eb73f0dfa7e9293a3ba08f6fcb61dfbbe1.tar.bz2
linux-stable-f6a2f8eb73f0dfa7e9293a3ba08f6fcb61dfbbe1.zip
fsi: Match fsi slaves and engines to available dt nodes
This change populates device tree nodes for scanned FSI slaves and engines. If the master populates ->of_node of the FSI master device, we'll look for matching slaves, and under those slaves we'll look for matching engines. This means that FSI drivers will have their ->of_node pointer populated if there's a corresponding DT node, which they can use for further device discover. Presence of device tree nodes is optional, and only required for fsi device drivers that need extra properties, or subordinate devices, to be enumerated. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/fsi/Kconfig')
-rw-r--r--drivers/fsi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/fsi/Kconfig b/drivers/fsi/Kconfig
index 513e35173aaa..a326ed663d3c 100644
--- a/drivers/fsi/Kconfig
+++ b/drivers/fsi/Kconfig
@@ -4,6 +4,7 @@
menuconfig FSI
tristate "FSI support"
+ depends on OF
select CRC4
---help---
FSI - the FRU Support Interface - is a simple bus for low-level