bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
PATCH 1/1 bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
In fact, it is needed for PCI to work on msm8996 (and probably other things). No idea why it was depending on renesas but that doesn't make any sense. So drop the dependency.
--- drivers/bus/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/bus/Kconfig +0 -1
@@ -121,7 +121,6 @@ config QCOM_EBI2 config SIMPLE_PM_BUS bool "Simple Power-Managed Bus Driver" depends on OF && PM - depends on ARCH_RENESAS || COMPILE_TEST help Driver for transparent busses that don't need a real driver, but where the bus controller is part of a PM domain, or under the control
Signature · 1 line
2.9.4
PATCH 1/1 bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
+cc Geert, Simon, linux-pm
Quoted 4 lines · Rob Clark
In fact, it is needed for PCI to work on msm8996 (and probably other things). No idea why it was depending on renesas but that doesn't make any sense. So drop the dependency.
This is in line with Geert's previous comments on how to utilize simple-pm-bus to describe this hardware.
Regards,
Bjorn
Quoted 20 lines
Signed-off-by Rob Clark <[email protected]>--- drivers/bus/Kconfig | 1 - 1 file changed, 1 deletion(-)drivers/bus/Kconfig +0
-1@@ -121,7 +121,6 @@ config QCOM_EBI2 config SIMPLE_PM_BUS bool "Simple Power-Managed Bus Driver" depends on OF && PM - depends on ARCH_RENESAS || COMPILE_TEST help Driver for transparent busses that don't need a real driver, but where the bus controller is part of a PM domain, or under the controlSignature · 1 line
2.9.4
PATCH 1/1 bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
Quoted 9 lines · Bjorn Andersson
+cc Geert, Simon, linux-pm
Quoted 4 lines · Rob Clark
In fact, it is needed for PCI to work on msm8996 (and probably other things). No idea why it was depending on renesas but that doesn't make any sense. So drop the dependency.
Quoted 4 lines
This is in line with Geert's previous comments on how to utilize simple-pm-bus to describe this hardware.
Acked-by Bjorn Andersson <[email protected]>
No objection here,
Quoted 25 lines
Regards,
BjornQuoted 20 lines
Signed-off-by Rob Clark <[email protected]>--- drivers/bus/Kconfig | 1 - 1 file changed, 1 deletion(-)drivers/bus/Kconfig +0
-1@@ -121,7 +121,6 @@ config QCOM_EBI2 config SIMPLE_PM_BUS bool "Simple Power-Managed Bus Driver" depends on OF && PM - depends on ARCH_RENESAS || COMPILE_TEST help Driver for transparent busses that don't need a real driver, but where the bus controller is part of a PM domain, or under the controlSignature · 1 line
2.9.4
PATCH 1/1 bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
In reply to Rob ClarkHi Rob,
Quoted 3 lines · Rob Clark
In fact, it is needed for PCI to work on msm8996 (and probably other things). No idea why it was depending on renesas but that doesn't make any sense. So drop the dependency.
At that time, Renesas SoCs were the only users of it.
Actually at that time I wanted the functionality of simpe-pm-bus to be included in simple-bus, but the DT maintainers didn't see the merits of that.
Quoted 1 line
Signed-off-by Rob Clark <[email protected]>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
PATCH 1/1 bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
In reply to Rob ClarkQuoted 14 lines · Rob Clark
In fact, it is needed for PCI to work on msm8996 (and probably other things). No idea why it was depending on renesas but that doesn't make any sense. So drop the dependency.
Signed-off-by Rob Clark <[email protected]>--- drivers/bus/Kconfig | 1 - 1 file changed, 1 deletion(-)drivers/bus/Kconfig +0
-0
drivers/bus/Kconfig config QCOM_EBI2 · line 124
Quoted 4 lines
drivers/bus/Kconfig +0
-1@@ -121,7 +121,6 @@ config QCOM_EBI2 config SIMPLE_PM_BUS bool "Simple Power-Managed Bus Driver" depends on OF && PM - depends on ARCH_RENESAS || COMPILE_TEST
Do you really want to drop COMPILE_TEST?
PATCH 1/1 bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
Hi Andy,
Quoted 10 lines · Andy Gross
Quoted 9 lines · Rob Clark
In fact, it is needed for PCI to work on msm8996 (and probably other things). No idea why it was depending on renesas but that doesn't make any sense. So drop the dependency.
Signed-off-by Rob Clark <[email protected]>--- drivers/bus/Kconfig | 1 - 1 file changed, 1 deletion(-)
Quoted 11 lines
drivers/bus/Kconfig config QCOM_EBI2 · line 124
Quoted 9 lines
drivers/bus/Kconfig +0
-1@@ -121,7 +121,6 @@ config QCOM_EBI2 config SIMPLE_PM_BUS bool "Simple Power-Managed Bus Driver" depends on OF && PM - depends on ARCH_RENESAS || COMPILE_TESTDo you really want to drop
COMPILE_TEST?
As dummies are available for all pm_*() and of_*() used by simple-pm-bus.c, I think the COMPILE_TEST can be moved one line up, i.e.
depends on (OF && PM) || COMPILE_TEST
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
PATCH 1/1 bus: SIMPLE_PM_BUS does not depend on ARCH_RENESAS
In reply to Rob ClarkQuoted 6 lines · Rob Clark
In fact, it is needed for PCI to work on msm8996 (and probably other things). No idea why it was depending on renesas but that doesn't make any sense. So drop the dependency.
Signed-off-by Rob Clark <[email protected]>---
I also couldn't find a reason why this was strictly limited, but it in the device
tree sources we ship in the kernel, it is so far only used for Renesas machines, so it's not currently a bug either.