]> git.baikalelectronics.ru Git - kernel.git/commit
soc: renesas: r8a774c0-sysc: Fix initialization order of 3DG-{A,B}
authorBiju Das <biju.das@bp.renesas.com>
Wed, 12 Dec 2018 12:17:11 +0000 (12:17 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 7 Jan 2019 13:51:51 +0000 (14:51 +0100)
commit784bb6688926e9074c86084a65e4d871e8e4816a
tree13dd3e1d7b87100582677d18367ee0055c83f256
parenta4e5b39436ea6d2fe0ec39529833a99809b192f4
soc: renesas: r8a774c0-sysc: Fix initialization order of 3DG-{A,B}

The workaround for the wrong hierarchy of the 3DG-{A,B} power domains on
RZ/G2E ES1.0 corrected the parent domains. However, the 3DG-{A,B} power
domains were still initialized and powered in the wrong order, causing
3DG operation to fail.

Fix this by changing the order in the table at runtime, when running on
an affected SoC.

This work is based on the work done by Geert for R-Car E3.

Fixes: 224c5f8d7d068c48d ("soc: renesas: rcar-sysc: Add r8a774c0 support")
Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/soc/renesas/r8a774c0-sysc.c