reset: berlin: add driver Kconfig option
[cascardo/linux.git] / drivers / reset / Kconfig
1 config ARCH_HAS_RESET_CONTROLLER
2         bool
3
4 menuconfig RESET_CONTROLLER
5         bool "Reset Controller Support"
6         default y if ARCH_HAS_RESET_CONTROLLER
7         help
8           Generic Reset Controller support.
9
10           This framework is designed to abstract reset handling of devices
11           via GPIOs or SoC-internal reset controller modules.
12
13           If unsure, say no.
14
15 if RESET_CONTROLLER
16
17 config RESET_ATH79
18         bool "AR71xx Reset Driver" if COMPILE_TEST
19         default ATH79
20         help
21           This enables the ATH79 reset controller driver that supports the
22           AR71xx SoC reset controller.
23
24 config RESET_BERLIN
25         bool "Berlin Reset Driver" if COMPILE_TEST
26         default ARCH_BERLIN
27         help
28           This enables the reset controller driver for Marvell Berlin SoCs.
29
30 config RESET_OXNAS
31         bool
32
33 config TI_SYSCON_RESET
34         tristate "TI SYSCON Reset Driver"
35         depends on HAS_IOMEM
36         select MFD_SYSCON
37         help
38           This enables the reset driver support for TI devices with
39           memory-mapped reset registers as part of a syscon device node. If
40           you wish to use the reset framework for such memory-mapped devices,
41           say Y here. Otherwise, say N.
42
43 config RESET_UNIPHIER
44         tristate "Reset controller driver for UniPhier SoCs"
45         depends on ARCH_UNIPHIER || COMPILE_TEST
46         depends on OF && MFD_SYSCON
47         default ARCH_UNIPHIER
48         help
49           Support for reset controllers on UniPhier SoCs.
50           Say Y if you want to control reset signals provided by System Control
51           block, Media I/O block, Peripheral Block.
52
53 source "drivers/reset/sti/Kconfig"
54 source "drivers/reset/hisilicon/Kconfig"
55
56 endif