MLK-16560-2: imx8: Use fsl,sc_rsrc_id binding to map device to rsrc
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 27 Sep 2017 16:55:56 +0000 (19:55 +0300)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:19 +0000 (02:37 +0800)
commit27914af99a26d4393acffc59ba6156c8d03987d8
treee2ca54922928ac1d87136bbaf30cb8dc7439cb9d
parent92a52cf6b60d5c163cf3e1bb345dfbadf304eaf2
MLK-16560-2: imx8: Use fsl,sc_rsrc_id binding to map device to rsrc

Using the SMMU for some devices (like dpu) requires a streamid to be
assigned to multiple resources.

Determining the resource ids for a device is a problem that occurs in
multiple contexts. So far uboot deals with this by parsing the
power-domain node which is insufficient here.

Add a new devicetree property called fsl,sc_rsrc_id which lists the
resource ids associated by a certain device.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
arch/arm/cpu/armv8/imx8/cpu.c