* [PATCH] PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS
@ 2015-05-23 13:41 Heiko Stuebner
2015-05-24 19:54 ` Sebastian Reichel
2015-05-26 23:21 ` Kevin Hilman
0 siblings, 2 replies; 3+ messages in thread
From: Heiko Stuebner @ 2015-05-23 13:41 UTC (permalink / raw)
To: Kevin Hilman, Nishanth Menon
Cc: Sebastian Reichel, Dmitry Eremin-Solenikov, David Woodhouse,
linux-pm, linux-kernel, linux-rockchip, dianders, amstan
The rockchip io-domain driver currently only depends on ARCH_ROCKCHIP
itself. This makes it possible to select the power-domain driver, but
not the POWER_AVS class and results in the iodomain-driver not getting
build in this case.
So add the additional dependency, which also results in the driver
config option now being placed nicely into the AVS submenu.
Fixes: 662a958638bd ("PM / AVS: rockchip-io: add driver handling Rockchip io domains")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
Found while trying to make the wifi on current rk3288 Chromebooks work.
drivers/power/avs/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/avs/Kconfig b/drivers/power/avs/Kconfig
index 7f3d389..a67eeac 100644
--- a/drivers/power/avs/Kconfig
+++ b/drivers/power/avs/Kconfig
@@ -13,7 +13,7 @@ menuconfig POWER_AVS
config ROCKCHIP_IODOMAIN
tristate "Rockchip IO domain support"
- depends on ARCH_ROCKCHIP && OF
+ depends on POWER_AVS && ARCH_ROCKCHIP && OF
help
Say y here to enable support io domains on Rockchip SoCs. It is
necessary for the io domain setting of the SoC to match the
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS
2015-05-23 13:41 [PATCH] PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS Heiko Stuebner
@ 2015-05-24 19:54 ` Sebastian Reichel
2015-05-26 23:21 ` Kevin Hilman
1 sibling, 0 replies; 3+ messages in thread
From: Sebastian Reichel @ 2015-05-24 19:54 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Kevin Hilman, Nishanth Menon, Dmitry Eremin-Solenikov,
David Woodhouse, linux-pm, linux-kernel, linux-rockchip, dianders,
amstan
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
Hi,
On Sat, May 23, 2015 at 03:41:30PM +0200, Heiko Stuebner wrote:
> The rockchip io-domain driver currently only depends on ARCH_ROCKCHIP
> itself. This makes it possible to select the power-domain driver, but
> not the POWER_AVS class and results in the iodomain-driver not getting
> build in this case.
>
> So add the additional dependency, which also results in the driver
> config option now being placed nicely into the AVS submenu.
>
> Fixes: 662a958638bd ("PM / AVS: rockchip-io: add driver handling Rockchip io domains")
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Looks like the power supply entry in the MAINTAINERS file is missing
an "X: drivers/power/avs/" entry.
-- Sebastian
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS
2015-05-23 13:41 [PATCH] PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS Heiko Stuebner
2015-05-24 19:54 ` Sebastian Reichel
@ 2015-05-26 23:21 ` Kevin Hilman
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Hilman @ 2015-05-26 23:21 UTC (permalink / raw)
To: Heiko Stuebner, Rafael J. Wysocki
Cc: Nishanth Menon, Sebastian Reichel, Dmitry Eremin-Solenikov,
David Woodhouse, linux-pm, linux-kernel, linux-rockchip, dianders,
amstan
Heiko Stuebner <heiko@sntech.de> writes:
> The rockchip io-domain driver currently only depends on ARCH_ROCKCHIP
> itself. This makes it possible to select the power-domain driver, but
> not the POWER_AVS class and results in the iodomain-driver not getting
> build in this case.
>
> So add the additional dependency, which also results in the driver
> config option now being placed nicely into the AVS submenu.
>
> Fixes: 662a958638bd ("PM / AVS: rockchip-io: add driver handling Rockchip io domains")
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Kevin Hilman <khilman@linaro.org>
Rafael, feel free to queue this up as a fix. I don't have any other
drivers/power/avs stuff queued up.
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-26 23:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-23 13:41 [PATCH] PM / AVS: rockchip-io: depend on CONFIG_POWER_AVS Heiko Stuebner
2015-05-24 19:54 ` Sebastian Reichel
2015-05-26 23:21 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).