MLK-16560-2: imx8: Use fsl,sc_rsrc_id binding to map device to rsrc
authorYe Li <ye.li@nxp.com>
Mon, 16 Apr 2018 07:30:29 +0000 (00:30 -0700)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 08:48:15 +0000 (01:48 -0700)
commitd83533700721de81d5362500aada61b7b6634a21
treed2dde067e914b9af9fa30635a66aaf2966ca25d1
parentf027efc06996d68968e437b17e7c8a4a51703376
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>
(cherry picked from commit 75cdc9b6a476f3cef9e49d02873b9244ceb447c8)
arch/arm/mach-imx/imx8/cpu.c