menu "Power Control"

config POWER_CONTROL
	bool "Power Control Support"
	default n if SYNO_LSP_RTD129X

config POWER_CONTROL_DEBUGFS
	bool "DebugFs for Power Control"
	depends on POWER_CONTROL
	default y if POWER_CONTROL && SYNO_LSP_RTD1619
	default n if SYNO_LSP_RTD129X

if SYNO_LSP_RTD1619
config POWER_CONTROL_REALTEK
	bool

config POWER_CONTROL_PD_SRAM
	bool

config POWER_CONTROL_PD_SRAM_CH
	bool

config POWER_CONTROL_PD_SIMPLE
	bool

config POWER_CONTROL_PD_DUMMY
	bool
endif # SYNO_LSP_RTD1619

config POWER_CONTROL_RTD129X
	bool "RTD129X SoC Power Controller"
	depends on POWER_CONTROL
	depends on SYNO_LSP_RTD129X || ARCH_RTD129x && SYNO_LSP_RTD1619
	select PM_GENERIC_DOMAINS if SYNO_LSP_RTD1619
	select POWER_CONTROL_REALTEK if SYNO_LSP_RTD1619
	select POWER_CONTROL_PD_SRAM if SYNO_LSP_RTD1619
	select POWER_CONTROL_PD_SRAM_CH if SYNO_LSP_RTD1619
	select POWER_CONTROL_PD_SIMPLE if SYNO_LSP_RTD1619
	default y if SYNO_LSP_RTD1619
	default n if SYNO_LSP_RTD129X
	help
	  Realtek RTD129x Soc Power Controller Driver.

if SYNO_LSP_RTD129X
config POWER_CONTROL_RTD129X_DEBUGFS
	bool "DebugFs for RTD192x Power Control"
	depends on POWER_CONTROL_RTD129X
	default n
endif # SYNO_LSP_RTD129X

config POWER_CONTROL_RTD139X
	bool "RTD139X SoC Power Controller"
	depends on POWER_CONTROL
	depends on ARCH_RTD139x
	select PM_GENERIC_DOMAINS
	select POWER_CONTROL_REALTEK
	select POWER_CONTROL_PD_SRAM
	select POWER_CONTROL_PD_SIMPLE
	default y
	help
	  Realtek RTD139x Soc Power Controller Driver.

config POWER_CONTROL_RTD16XX
	bool "RTD16XX SoC Power Controller"
	depends on POWER_CONTROL
	depends on ARCH_RTD16xx
	select PM_GENERIC_DOMAINS
	select POWER_CONTROL_REALTEK
	select POWER_CONTROL_PD_SRAM
	select POWER_CONTROL_PD_SIMPLE
	default y
	help
	  Realtek RTD16xx Soc Power Controller Driver.
endmenu
