bus: fsl-mc: add bus rescan attribute
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 14 Jan 2021 17:07:51 +0000 (19:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jan 2021 14:13:53 +0000 (15:13 +0100)
commit3f6099438181d269d56f9d4040d93ffae65f9e4c
treea008a94c71b999f6d281808be30ff6c11deda0a3
parent2cf1e703f066cfa82eb5a358ae84c29fe15a3b3a
bus: fsl-mc: add bus rescan attribute

Introduce the rescan attribute as a bus attribute to
synchronize the fsl-mc bus objects and the MC firmware.

To rescan the fsl-mc bus, e.g.,
echo 1 > /sys/bus/fsl-mc/rescan

Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20210114170752.2927915-5-ciorneiioana@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/stable/sysfs-bus-fsl-mc [new file with mode: 0644]
MAINTAINERS
drivers/bus/fsl-mc/dprc-driver.c
drivers/bus/fsl-mc/fsl-mc-bus.c
drivers/bus/fsl-mc/fsl-mc-private.h