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

firmware: qcom: scm: Add ipq4019 soc compatible

Add the compatible for ipq4019.
This does not need clocks to do scm calls.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sricharan R <sricharan@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>

authored by

Sricharan R and committed by
Andy Gross
53e51b4a 60cc43fc

+5 -1
+2 -1
Documentation/devicetree/bindings/firmware/qcom,scm.txt
··· 11 11 * "qcom,scm-msm8660" for MSM8660 platforms 12 12 * "qcom,scm-msm8690" for MSM8690 platforms 13 13 * "qcom,scm-msm8996" for MSM8996 platforms 14 + * "qcom,scm-ipq4019" for IPQ4019 platforms 14 15 * "qcom,scm" for later processors (MSM8916, APQ8084, MSM8974, etc) 15 16 - clocks: One to three clocks may be required based on compatible. 16 - * No clock required for "qcom,scm-msm8996" 17 + * No clock required for "qcom,scm-msm8996", "qcom,scm-ipq4019" 17 18 * Only core clock required for "qcom,scm-apq8064", "qcom,scm-msm8660", and "qcom,scm-msm8960" 18 19 * Core, iface, and bus clocks required for "qcom,scm" 19 20 - clock-names: Must contain "core" for the core clock, "iface" for the interface
+3
drivers/firmware/qcom_scm.c
··· 603 603 { .compatible = "qcom,scm-msm8996", 604 604 .data = NULL, /* no clocks */ 605 605 }, 606 + { .compatible = "qcom,scm-ipq4019", 607 + .data = NULL, /* no clocks */ 608 + }, 606 609 { .compatible = "qcom,scm", 607 610 .data = (void *)(SCM_HAS_CORE_CLK 608 611 | SCM_HAS_IFACE_CLK