diff options
author | Joel Stanley <joel@jms.id.au> | 2018-02-19 20:43:29 -0500 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2018-02-20 11:42:29 -0500 |
commit | 1d7592f84f92c6344978186fdbe547af044274b5 (patch) | |
tree | c185c0f0b87fbe999c5bd9ccf52c28450a3bd3bb /drivers/reset | |
parent | 14b5057a2f84b9da246e5bda29c9fd914a8f691c (diff) |
reset: simple: Enable for ASPEED systems
ASPEED BMC SoCs have a reset controller in the LPC IP that can be
controlled using this driver to release the UARTs from reset.
No special configuration is required, so only the compatible string is
added.
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r-- | drivers/reset/Kconfig | 10 | ||||
-rw-r--r-- | drivers/reset/reset-simple.c | 2 |
2 files changed, 9 insertions, 3 deletions
diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig index 7fc77696bb1e..18f152d251d7 100644 --- a/drivers/reset/Kconfig +++ b/drivers/reset/Kconfig | |||
@@ -83,14 +83,18 @@ config RESET_PISTACHIO | |||
83 | 83 | ||
84 | config RESET_SIMPLE | 84 | config RESET_SIMPLE |
85 | bool "Simple Reset Controller Driver" if COMPILE_TEST | 85 | bool "Simple Reset Controller Driver" if COMPILE_TEST |
86 | default ARCH_SOCFPGA || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX | 86 | default ARCH_SOCFPGA || ARCH_STM32 || ARCH_STRATIX10 || ARCH_SUNXI || ARCH_ZX || ARCH_ASPEED |
87 | help | 87 | help |
88 | This enables a simple reset controller driver for reset lines that | 88 | This enables a simple reset controller driver for reset lines that |
89 | that can be asserted and deasserted by toggling bits in a contiguous, | 89 | that can be asserted and deasserted by toggling bits in a contiguous, |
90 | exclusive register space. | 90 | exclusive register space. |
91 | 91 | ||
92 | Currently this driver supports Altera SoCFPGAs, the RCC reset | 92 | Currently this driver supports: |
93 | controller in STM32 MCUs, Allwinner SoCs, and ZTE's zx2967 family. | 93 | - Altera SoCFPGAs |
94 | - ASPEED BMC SoCs | ||
95 | - RCC reset controller in STM32 MCUs | ||
96 | - Allwinner SoCs | ||
97 | - ZTE's zx2967 family | ||
94 | 98 | ||
95 | config RESET_SUNXI | 99 | config RESET_SUNXI |
96 | bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI | 100 | bool "Allwinner SoCs Reset Driver" if COMPILE_TEST && !ARCH_SUNXI |
diff --git a/drivers/reset/reset-simple.c b/drivers/reset/reset-simple.c index 2d4f362ef025..f7ce8910a392 100644 --- a/drivers/reset/reset-simple.c +++ b/drivers/reset/reset-simple.c | |||
@@ -125,6 +125,8 @@ static const struct of_device_id reset_simple_dt_ids[] = { | |||
125 | .data = &reset_simple_active_low }, | 125 | .data = &reset_simple_active_low }, |
126 | { .compatible = "zte,zx296718-reset", | 126 | { .compatible = "zte,zx296718-reset", |
127 | .data = &reset_simple_active_low }, | 127 | .data = &reset_simple_active_low }, |
128 | { .compatible = "aspeed,ast2400-lpc-reset" }, | ||
129 | { .compatible = "aspeed,ast2500-lpc-reset" }, | ||
128 | { /* sentinel */ }, | 130 | { /* sentinel */ }, |
129 | }; | 131 | }; |
130 | 132 | ||