]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
reset: uniphier: add audio systems reset control
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Sun, 13 Aug 2017 09:00:41 +0000 (18:00 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 14 Aug 2017 07:29:07 +0000 (09:29 +0200)
Add reset lines for audio subsystem (AIO) and
SoC internal audio codec (EVEA) on UniPhier LD11/LD20 SoCs.

Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-uniphier.c

index 954b2c4e6ca73d71ffedecfff1e82610af6addd3..90c52a96f7751758c1d7586ba2b493e1b4985b4d 100644 (file)
@@ -93,6 +93,8 @@ static const struct uniphier_reset_data uniphier_ld11_sys_reset_data[] = {
        UNIPHIER_RESETX(2, 0x200c, 0),          /* NAND */
        UNIPHIER_RESETX(4, 0x200c, 2),          /* eMMC */
        UNIPHIER_RESETX(8, 0x200c, 8),          /* STDMAC (HSC, MIO) */
+       UNIPHIER_RESETX(40, 0x2008, 0),         /* AIO */
+       UNIPHIER_RESETX(41, 0x2008, 1),         /* EVEA */
        UNIPHIER_RESET_END,
 };
 
@@ -105,6 +107,8 @@ static const struct uniphier_reset_data uniphier_ld20_sys_reset_data[] = {
        UNIPHIER_RESETX(17, 0x200c, 13),        /* USB30-PHY1 */
        UNIPHIER_RESETX(18, 0x200c, 14),        /* USB30-PHY2 */
        UNIPHIER_RESETX(19, 0x200c, 15),        /* USB30-PHY3 */
+       UNIPHIER_RESETX(40, 0x2008, 0),         /* AIO */
+       UNIPHIER_RESETX(41, 0x2008, 1),         /* EVEA */
        UNIPHIER_RESET_END,
 };