MLK-22528 imx8: cpu: get reg with new bindings for sid
authorPeng Fan <peng.fan@nxp.com>
Fri, 30 Aug 2019 03:37:31 +0000 (11:37 +0800)
committerPeng Fan <peng.fan@nxp.com>
Fri, 30 Aug 2019 08:26:28 +0000 (16:26 +0800)
commitd499c818a3ad75de772e2d94daa6c83e9d923c7a
tree883b41e41ad4bd9483dabc9fe8fa460293642ebd
parentfef52e9207ed588cd01e9d680e094a3a4ef7cad2
MLK-22528 imx8: cpu: get reg with new bindings for sid

The dash-linux tree has dropped pd tree, so we could not get the reg.
The power-doamins property has a cell indicating the resource id,
let's use it for sid programming.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
arch/arm/mach-imx/imx8/cpu.c