bus: fsl-mc: add bus rescan attribute
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 5 Mar 2018 16:38:46 +0000 (18:38 +0200)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:36:24 +0000 (11:36 +0800)
commit906c6be4d085fd5462d740af0795b616f6382478
tree851026e163e6bccbd37d5f3d9450c0b4658766eb
parentd4179bdd352c849490d94f4edd2a1a0c97cf9af9
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

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Documentation/ABI/stable/sysfs-bus-fsl-mc
drivers/bus/fsl-mc/dprc-driver.c
drivers/bus/fsl-mc/fsl-mc-bus.c
drivers/bus/fsl-mc/fsl-mc-private.h