]> 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)
commitcb815347af24584d5c4a2e0a807a3ef2004d2c81
tree13dd3e1d7b87100582677d18367ee0055c83f256
parent9e77cc756f4c0fc15252b0dd11e1366b2f7fcd49
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: 695d1e2e9fa6e0faa ("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