Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'icc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc into char-misc-linus

Georgi writes:

interconnect fixes for v5.11

This contains a few fixes for iMX and Qualcomm drivers and also
updates my email to my kernel.org address.

- qcom: Fix rpmh link failures when compile test is enabled
- imx: Add a missing of_node_put after of_device_is_available
- imx: Remove a useless test
- imx8mq: Use icc_sync_state

Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>

* tag 'icc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/djakov/icc:
MAINTAINERS: Update Georgi's email address
interconnect: imx8mq: Use icc_sync_state
interconnect: imx: Remove a useless test
interconnect: imx: Add a missing of_node_put after of_device_is_available
interconnect: qcom: fix rpmh link failures

+20 -10
+1 -1
MAINTAINERS
··· 9240 9240 K: \bSGX_ 9241 9241 9242 9242 INTERCONNECT API 9243 - M: Georgi Djakov <georgi.djakov@linaro.org> 9243 + M: Georgi Djakov <djakov@kernel.org> 9244 9244 L: linux-pm@vger.kernel.org 9245 9245 S: Maintained 9246 9246 F: Documentation/devicetree/bindings/interconnect/
+2 -1
drivers/interconnect/imx/imx.c
··· 96 96 return -ENODEV; 97 97 } 98 98 /* Allow scaling to be disabled on a per-node basis */ 99 - if (!dn || !of_device_is_available(dn)) { 99 + if (!of_device_is_available(dn)) { 100 100 dev_warn(dev, "Missing property %s, skip scaling %s\n", 101 101 adj->phandle_name, node->name); 102 + of_node_put(dn); 102 103 return 0; 103 104 } 104 105
+2
drivers/interconnect/imx/imx8mq.c
··· 7 7 8 8 #include <linux/module.h> 9 9 #include <linux/platform_device.h> 10 + #include <linux/interconnect-provider.h> 10 11 #include <dt-bindings/interconnect/imx8mq.h> 11 12 12 13 #include "imx.h" ··· 95 94 .remove = imx8mq_icc_remove, 96 95 .driver = { 97 96 .name = "imx8mq-interconnect", 97 + .sync_state = icc_sync_state, 98 98 }, 99 99 }; 100 100
+15 -8
drivers/interconnect/qcom/Kconfig
··· 42 42 This is a driver for the Qualcomm Network-on-Chip on qcs404-based 43 43 platforms. 44 44 45 + config INTERCONNECT_QCOM_RPMH_POSSIBLE 46 + tristate 47 + default INTERCONNECT_QCOM 48 + depends on QCOM_RPMH || (COMPILE_TEST && !QCOM_RPMH) 49 + depends on QCOM_COMMAND_DB || (COMPILE_TEST && !QCOM_COMMAND_DB) 50 + depends on OF || COMPILE_TEST 51 + help 52 + Compile-testing RPMH drivers is possible on other platforms, 53 + but in order to avoid link failures, drivers must not be built-in 54 + when QCOM_RPMH or QCOM_COMMAND_DB are loadable modules 55 + 45 56 config INTERCONNECT_QCOM_RPMH 46 57 tristate 47 58 48 59 config INTERCONNECT_QCOM_SC7180 49 60 tristate "Qualcomm SC7180 interconnect driver" 50 - depends on INTERCONNECT_QCOM 51 - depends on (QCOM_RPMH && QCOM_COMMAND_DB && OF) || COMPILE_TEST 61 + depends on INTERCONNECT_QCOM_RPMH_POSSIBLE 52 62 select INTERCONNECT_QCOM_RPMH 53 63 select INTERCONNECT_QCOM_BCM_VOTER 54 64 help ··· 67 57 68 58 config INTERCONNECT_QCOM_SDM845 69 59 tristate "Qualcomm SDM845 interconnect driver" 70 - depends on INTERCONNECT_QCOM 71 - depends on (QCOM_RPMH && QCOM_COMMAND_DB && OF) || COMPILE_TEST 60 + depends on INTERCONNECT_QCOM_RPMH_POSSIBLE 72 61 select INTERCONNECT_QCOM_RPMH 73 62 select INTERCONNECT_QCOM_BCM_VOTER 74 63 help ··· 76 67 77 68 config INTERCONNECT_QCOM_SM8150 78 69 tristate "Qualcomm SM8150 interconnect driver" 79 - depends on INTERCONNECT_QCOM 80 - depends on (QCOM_RPMH && QCOM_COMMAND_DB && OF) || COMPILE_TEST 70 + depends on INTERCONNECT_QCOM_RPMH_POSSIBLE 81 71 select INTERCONNECT_QCOM_RPMH 82 72 select INTERCONNECT_QCOM_BCM_VOTER 83 73 help ··· 85 77 86 78 config INTERCONNECT_QCOM_SM8250 87 79 tristate "Qualcomm SM8250 interconnect driver" 88 - depends on INTERCONNECT_QCOM 89 - depends on (QCOM_RPMH && QCOM_COMMAND_DB && OF) || COMPILE_TEST 80 + depends on INTERCONNECT_QCOM_RPMH_POSSIBLE 90 81 select INTERCONNECT_QCOM_RPMH 91 82 select INTERCONNECT_QCOM_BCM_VOTER 92 83 help