soc: raspberrypi-power: add CONFIG_OF dependency
PATCH 1/2 soc: raspberrypi-power: add CONFIG_OF dependency
We get a harmless warning if the RASPBERRYPI_POWER driver is enabled without CONFIG_OF during compile testing:
warning: RASPBERRYPI_POWER selects PM_GENERIC_DOMAINS_OF which has unmet direct dependencies (PM_GENERIC_DOMAINS && OF)
There is no need to select PM_GENERIC_DOMAINS_OF if OF is set, so we can replace the 'select' with a dependency.
--- drivers/soc/bcm/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/soc/bcm/Kconfig +1 -2
@@ -2,10 +2,9 @@ menu "Broadcom SoC drivers" config RASPBERRYPI_POWER bool "Raspberry Pi power domain driver" - depends on ARCH_BCM2835 || COMPILE_TEST + depends on ARCH_BCM2835 || (COMPILE_TEST && OF) depends on RASPBERRYPI_FIRMWARE=y select PM_GENERIC_DOMAINS if PM - select PM_GENERIC_DOMAINS_OF if PM help This enables support for the RPi power domains which can be enabled or disabled via the RPi firmware.
Signature · 1 line
2.9.0
PATCH 2/2 firmware: scpi: add CONFIG_OF dependency
We get a harmless warning if the ARM_SCPI_POWER_DOMAIN driver is enabled without CONFIG_OF during compile testing:
warning: (ARM_SCPI_POWER_DOMAIN) selects PM_GENERIC_DOMAINS_OF which has unmet direct dependencies (PM_GENERIC_DOMAINS && OF)
There is no need to select PM_GENERIC_DOMAINS_OF if OF is set, so we can replace the 'select' with a dependency.
--- drivers/firmware/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/firmware/Kconfig +1 -2
@@ -29,10 +29,9 @@ config ARM_SCPI_PROTOCOL config ARM_SCPI_POWER_DOMAIN tristate "SCPI power domain driver" - depends on ARM_SCPI_PROTOCOL || COMPILE_TEST + depends on ARM_SCPI_PROTOCOL || (COMPILE_TEST && OF) default y select PM_GENERIC_DOMAINS if PM - select PM_GENERIC_DOMAINS_OF if PM help This enables support for the SCPI power domains which can be enabled or disabled via the SCP firmware
Signature · 1 line
2.9.0
Re: [PATCH 2/2] firmware: scpi: add CONFIG_OF dependency
Hi Arnd,
Quoted 8 lines · Arnd Bergmann
We get a harmless warning if the
ARM_SCPI_POWER_DOMAINdriver is enabled withoutCONFIG_OFduring compile testing:warning: (
ARM_SCPI_POWER_DOMAIN) selectsPM_GENERIC_DOMAINS_OFwhich has unmet direct dependencies (PM_GENERIC_DOMAINS&& OF)There is no need to select
PM_GENERIC_DOMAINS_OFif OF is set, so we can replace the 'select' with a dependency.
Thanks for spotting this and fixing. Do you plan to take this directly ? If so,
Signature · 2 lines
Regards, Sudeep
Quoted 9 lines · Arnd Bergmann
We get a harmless warning if the
RASPBERRYPI_POWERdriver is enabled withoutCONFIG_OFduring compile testing:warning:
RASPBERRYPI_POWERselectsPM_GENERIC_DOMAINS_OFwhich has unmet direct dependencies (PM_GENERIC_DOMAINS&& OF)There is no need to select
PM_GENERIC_DOMAINS_OFif OF is set, so we can replace the 'select' with a dependency.Signed-off-by Arnd Bergmann <[email protected]>
I'm guessing you'll take this patch directly.
Arnd Bergmann
AppliedQuoted 7 lines · CEST Eric Anholt
Quoted 5 lines · Arnd Bergmann
We get a harmless warning if the
RASPBERRYPI_POWERdriver is enabled withoutCONFIG_OFduring compile testing:warning:
RASPBERRYPI_POWERselectsPM_GENERIC_DOMAINS_OFwhich has unmet direct dependencies (PM_GENERIC_DOMAINS&& OF)
Quoted 9 lines
Quoted 4 lines
There is no need to select
PM_GENERIC_DOMAINS_OFif OF is set, so we can replace the 'select' with a dependency.Signed-off-by Arnd Bergmann <[email protected]>Acked-by Eric Anholt <[email protected]>I'm guessing you'll take this patch directly.
Applied into next/drivers, thanks for the Ack
Arnd
Arnd Bergmann
AppliedRe: [PATCH 2/2] firmware: scpi: add CONFIG_OF dependency
In reply to Sudeep HollaQuoted 6 lines · CEST Sudeep Holla
Quoted 5 lines · Arnd Bergmann
We get a harmless warning if the
ARM_SCPI_POWER_DOMAINdriver is enabled withoutCONFIG_OFduring compile testing:warning: (
ARM_SCPI_POWER_DOMAIN) selectsPM_GENERIC_DOMAINS_OFwhich has unmet direct dependencies (PM_GENERIC_DOMAINS&& OF)
Quoted 9 lines
Quoted 3 lines
There is no need to select
PM_GENERIC_DOMAINS_OFif OF is set, so we can replace the 'select' with a dependency.Thanks for spotting this and fixing. Do you plan to take this directly ? If so,
Acked-by Sudeep Holla <[email protected]>
Applied to next/drivers, thanks for the Ack
Arnd