thermal: broadcom: ns-thermal: depends/default only for NS/NSP
PATCH 1/1 thermal: broadcom: ns-thermal: depends/default only for NS/NSP
ARCH_BCM_IPROC includes support for many SoCs, not all of which have the same thermal hardware interface as the Northstar/Northstar Plus SoCs. This is not a major issue, as this driver will only be probed if the relevant device tree entry is present. However, it will result in a slightly larger than necessary kernel. By limiting the driver to only work on the NS/NSP SoCs, we can avoid the issue.
--- drivers/thermal/broadcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/thermal/broadcom/Kconfig +2 -2
@@ -8,8 +8,8 @@ config BCM2835_THERMAL config BCM_NS_THERMAL tristate "Northstar thermal driver" - depends on ARCH_BCM_IPROC || COMPILE_TEST - default y if ARCH_BCM_IPROC + depends on ARCH_BCM_NSP || ARCH_BCM_5301X || COMPILE_TEST + default y if ARCH_BCM_NSP || ARCH_BCM_5301X help Support for the Northstar and Northstar Plus family of SoCs (e.g. BCM4708, BCM4709, BCM5301x, BCM95852X, etc). It contains DMU (Device
Signature · 1 line
2.7.4
Quoted 9 lines · Jon Mason
ARCH_BCM_IPROCincludes support for many SoCs, not all of which have the same thermal hardware interface as the Northstar/Northstar Plus SoCs. This is not a major issue, as this driver will only be probed if the relevant device tree entry is present. However, it will result in a slightly larger than necessary kernel. By limiting the driver to only work on the NS/NSP SoCs, we can avoid the issue.Suggested-by Scott Branden <[email protected]>Signed-off-by Jon Mason <[email protected]>
Signature · 1 line
Florian
Quoted 9 lines · Jon Mason
ARCH_BCM_IPROCincludes support for many SoCs, not all of which have the same thermal hardware interface as the Northstar/Northstar Plus SoCs. This is not a major issue, as this driver will only be probed if the relevant device tree entry is present. However, it will result in a slightly larger than necessary kernel. By limiting the driver to only work on the NS/NSP SoCs, we can avoid the issue.Suggested-by Scott Branden <[email protected]>Signed-off-by Jon Mason <[email protected]>
Should this commit message include a Fixes: tag?
Maybe
Quoted 22 lines
--- drivers/thermal/broadcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/thermal/broadcom/Kconfig +2
-2@@ -8,8 +8,8 @@ config BCM2835_THERMAL config BCM_NS_THERMAL tristate "Northstar thermal driver" - depends on ARCH_BCM_IPROC || COMPILE_TEST - default y if ARCH_BCM_IPROC + depends on ARCH_BCM_NSP || ARCH_BCM_5301X || COMPILE_TEST + default y if ARCH_BCM_NSP || ARCH_BCM_5301X help Support for the Northstar and Northstar Plus family of SoCs (e.g. BCM4708, BCM4709, BCM5301x, BCM95852X, etc). It contains DMU (DeviceSignature · 1 line
2.7.4
Quoted 8 lines · Eduardo Valentin
Quoted 7 lines · Jon Mason
ARCH_BCM_IPROCincludes support for many SoCs, not all of which have the same thermal hardware interface as the Northstar/Northstar Plus SoCs. This is not a major issue, as this driver will only be probed if the relevant device tree entry is present. However, it will result in a slightly larger than necessary kernel. By limiting the driver to only work on the NS/NSP SoCs, we can avoid the issue.
Quoted 7 lines
Quoted 2 lines
Suggested-by Scott Branden <[email protected]>Signed-off-by Jon Mason <[email protected]>Should this commit message include a Fixes: tag?
Maybe
Fixes a94cb7e ("thermal: broadcom: add Northstar thermal driver")
Technically, it would be 2 patches
We could probably get away with only doing the latter one, as it is the one that makes it enabled by default
Quoted 22 lines
Quoted 22 lines
--- drivers/thermal/broadcom/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/thermal/broadcom/Kconfig +2
-3@@ -8,8 +8,8 @@ config BCM2835_THERMAL config BCM_NS_THERMAL tristate "Northstar thermal driver" - depends on ARCH_BCM_IPROC || COMPILE_TEST - default y if ARCH_BCM_IPROC + depends on ARCH_BCM_NSP || ARCH_BCM_5301X || COMPILE_TEST + default y if ARCH_BCM_NSP || ARCH_BCM_5301X help Support for the Northstar and Northstar Plus family of SoCs (e.g. BCM4708, BCM4709, BCM5301x, BCM95852X, etc). It contains DMU (Device --2.7.4
Quoted 9 lines · Jon Mason
ARCH_BCM_IPROCincludes support for many SoCs, not all of which have the same thermal hardware interface as the Northstar/Northstar Plus SoCs. This is not a major issue, as this driver will only be probed if the relevant device tree entry is present. However, it will result in a slightly larger than necessary kernel. By limiting the driver to only work on the NS/NSP SoCs, we can avoid the issue.Suggested-by Scott Branden <[email protected]>Signed-off-by Jon Mason <[email protected]>
Sounds OK, thanks.