diff mbox series

firmware: qcom_scm: Add MDM9607 compatible

Message ID 20210131013058.54299-1-konrad.dybcio@somainline.org
State Accepted
Commit 82a6cbf007648e2c07c29a133cce060fc30aa48f
Headers show
Series firmware: qcom_scm: Add MDM9607 compatible | expand

Commit Message

Konrad Dybcio Jan. 31, 2021, 1:30 a.m. UTC
Add a compatible for MDM9607. It uses the "legacy" calling
convention.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
---
 Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 +
 drivers/firmware/qcom_scm.c                             | 3 +++
 2 files changed, 4 insertions(+)

Comments

Rob Herring (Arm) Feb. 9, 2021, 8:38 p.m. UTC | #1
On Sun, Jan 31, 2021 at 02:30:57AM +0100, Konrad Dybcio wrote:
> Add a compatible for MDM9607. It uses the "legacy" calling

> convention.

> 

> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>

> ---

>  Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 +

>  drivers/firmware/qcom_scm.c                             | 3 +++

>  2 files changed, 4 insertions(+)


In the future, please split binding changes to separate patch.

Acked-by: Rob Herring <robh@kernel.org>


> 

> diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt

> index 78456437df5f..df8379356021 100644

> --- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt

> +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt

> @@ -12,6 +12,7 @@ Required properties:

>   * "qcom,scm-ipq4019"

>   * "qcom,scm-ipq806x"

>   * "qcom,scm-ipq8074"

> + * "qcom,scm-mdm9607"

>   * "qcom,scm-msm8660"

>   * "qcom,scm-msm8916"

>   * "qcom,scm-msm8960"

> diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c

> index 7be48c1bec96..b5b9b13d8d29 100644

> --- a/drivers/firmware/qcom_scm.c

> +++ b/drivers/firmware/qcom_scm.c

> @@ -1265,6 +1265,9 @@ static const struct of_device_id qcom_scm_dt_match[] = {

>  							     SCM_HAS_BUS_CLK)

>  	},

>  	{ .compatible = "qcom,scm-ipq4019" },

> +	{ .compatible = "qcom,scm-mdm9607", .data = (void *)(SCM_HAS_CORE_CLK |

> +							     SCM_HAS_IFACE_CLK |

> +							     SCM_HAS_BUS_CLK) },

>  	{ .compatible = "qcom,scm-msm8660", .data = (void *) SCM_HAS_CORE_CLK },

>  	{ .compatible = "qcom,scm-msm8960", .data = (void *) SCM_HAS_CORE_CLK },

>  	{ .compatible = "qcom,scm-msm8916", .data = (void *)(SCM_HAS_CORE_CLK |

> -- 

> 2.30.0

>
Konrad Dybcio Feb. 9, 2021, 10:14 p.m. UTC | #2
On 09.02.2021 21:38, Rob Herring wrote:
> In the future, please split binding changes to separate patch.


I will keep that in mind for the upcoming patches!


Konrad
patchwork-bot+linux-arm-msm@kernel.org June 10, 2021, 6:30 p.m. UTC | #3
Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Sun, 31 Jan 2021 02:30:57 +0100 you wrote:
> Add a compatible for MDM9607. It uses the "legacy" calling

> convention.

> 

> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>

> ---

>  Documentation/devicetree/bindings/firmware/qcom,scm.txt | 1 +

>  drivers/firmware/qcom_scm.c                             | 3 +++

>  2 files changed, 4 insertions(+)


Here is the summary with links:
  - firmware: qcom_scm: Add MDM9607 compatible
    https://git.kernel.org/qcom/c/82a6cbf00764

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.txt b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
index 78456437df5f..df8379356021 100644
--- a/Documentation/devicetree/bindings/firmware/qcom,scm.txt
+++ b/Documentation/devicetree/bindings/firmware/qcom,scm.txt
@@ -12,6 +12,7 @@  Required properties:
  * "qcom,scm-ipq4019"
  * "qcom,scm-ipq806x"
  * "qcom,scm-ipq8074"
+ * "qcom,scm-mdm9607"
  * "qcom,scm-msm8660"
  * "qcom,scm-msm8916"
  * "qcom,scm-msm8960"
diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c
index 7be48c1bec96..b5b9b13d8d29 100644
--- a/drivers/firmware/qcom_scm.c
+++ b/drivers/firmware/qcom_scm.c
@@ -1265,6 +1265,9 @@  static const struct of_device_id qcom_scm_dt_match[] = {
 							     SCM_HAS_BUS_CLK)
 	},
 	{ .compatible = "qcom,scm-ipq4019" },
+	{ .compatible = "qcom,scm-mdm9607", .data = (void *)(SCM_HAS_CORE_CLK |
+							     SCM_HAS_IFACE_CLK |
+							     SCM_HAS_BUS_CLK) },
 	{ .compatible = "qcom,scm-msm8660", .data = (void *) SCM_HAS_CORE_CLK },
 	{ .compatible = "qcom,scm-msm8960", .data = (void *) SCM_HAS_CORE_CLK },
 	{ .compatible = "qcom,scm-msm8916", .data = (void *)(SCM_HAS_CORE_CLK |