2021-06-22 16:22:06

by Yassine Oudjana

[permalink] [raw]
Subject: (No Subject)

Date: Tue, 22 Jun 2021 20:08:25 +0400
Subject: [PATCH] media: dt-bindings: media: venus: Add firmware-name

Support for parsing the firmware-name property was added a while ago [1],
but the dt-bindings were never updated with the new property. This patch
adds it to all venus dt-bindings.

Signed-off-by: Yassine Oudjana <[email protected]>

[1]: https://lore.kernel.org/linux-arm-msm/[email protected]/
---
.../devicetree/bindings/media/qcom,msm8916-venus.yaml | 5 +++++
.../devicetree/bindings/media/qcom,msm8996-venus.yaml | 5 +++++
.../devicetree/bindings/media/qcom,sc7180-venus.yaml | 5 +++++
.../devicetree/bindings/media/qcom,sdm845-venus-v2.yaml | 5 +++++
.../devicetree/bindings/media/qcom,sdm845-venus.yaml | 5 +++++
5 files changed, 25 insertions(+)

diff --git a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
index 59ab16ad12f1..cb1b866d9c37 100644
--- a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
@@ -80,6 +80,11 @@ properties:
required:
- iommus

+ firmware-name:
+ maxItems: 1
+ description: |
+ Relative firmware image path for venus.
+
required:
- compatible
- reg
diff --git a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
index 199f45217b4a..b8809325138f 100644
--- a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
@@ -107,6 +107,11 @@ properties:
required:
- iommus

+ firmware-name:
+ maxItems: 1
+ description: |
+ Relative firmware image path for venus.
+
required:
- compatible
- reg
diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
index 04013e5dd044..ffd3e2850366 100644
--- a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
@@ -99,6 +99,11 @@ properties:
required:
- iommus

+ firmware-name:
+ maxItems: 1
+ description: |
+ Relative firmware image path for venus.
+
required:
- compatible
- reg
diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
index 04b9af4db191..cd7a5e1374ce 100644
--- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
@@ -94,6 +94,11 @@ properties:
required:
- iommus

+ firmware-name:
+ maxItems: 1
+ description: |
+ Relative firmware image path for venus.
+
required:
- compatible
- reg
diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml
index 680f37726fdf..ae256238a637 100644
--- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml
@@ -108,6 +108,11 @@ properties:
required:
- iommus

+ firmware-name:
+ maxItems: 1
+ description: |
+ Relative firmware image path for venus.
+
required:
- compatible
- reg
--
2.32.0



2021-07-14 18:05:17

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: (No Subject)

On Tue, Jun 22, 2021 at 04:20:24PM +0000, Yassine Oudjana wrote:
> Date: Tue, 22 Jun 2021 20:08:25 +0400
> Subject: [PATCH] media: dt-bindings: media: venus: Add firmware-name
>
> Support for parsing the firmware-name property was added a while ago [1],
> but the dt-bindings were never updated with the new property. This patch
> adds it to all venus dt-bindings.
>
> Signed-off-by: Yassine Oudjana <[email protected]>
>
> [1]: https://lore.kernel.org/linux-arm-msm/[email protected]/
> ---
> .../devicetree/bindings/media/qcom,msm8916-venus.yaml | 5 +++++
> .../devicetree/bindings/media/qcom,msm8996-venus.yaml | 5 +++++
> .../devicetree/bindings/media/qcom,sc7180-venus.yaml | 5 +++++
> .../devicetree/bindings/media/qcom,sdm845-venus-v2.yaml | 5 +++++
> .../devicetree/bindings/media/qcom,sdm845-venus.yaml | 5 +++++
> 5 files changed, 25 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
> index 59ab16ad12f1..cb1b866d9c37 100644
> --- a/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,msm8916-venus.yaml
> @@ -80,6 +80,11 @@ properties:
> required:
> - iommus
>
> + firmware-name:
> + maxItems: 1

Not an array.

Is there a specific pattern and/or default name you can specify?

> + description: |
> + Relative firmware image path for venus.
> +
> required:
> - compatible
> - reg
> diff --git a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
> index 199f45217b4a..b8809325138f 100644
> --- a/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,msm8996-venus.yaml
> @@ -107,6 +107,11 @@ properties:
> required:
> - iommus
>
> + firmware-name:
> + maxItems: 1
> + description: |
> + Relative firmware image path for venus.
> +
> required:
> - compatible
> - reg
> diff --git a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
> index 04013e5dd044..ffd3e2850366 100644
> --- a/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,sc7180-venus.yaml
> @@ -99,6 +99,11 @@ properties:
> required:
> - iommus
>
> + firmware-name:
> + maxItems: 1
> + description: |
> + Relative firmware image path for venus.
> +
> required:
> - compatible
> - reg
> diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
> index 04b9af4db191..cd7a5e1374ce 100644
> --- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus-v2.yaml
> @@ -94,6 +94,11 @@ properties:
> required:
> - iommus
>
> + firmware-name:
> + maxItems: 1
> + description: |
> + Relative firmware image path for venus.
> +
> required:
> - compatible
> - reg
> diff --git a/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml b/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml
> index 680f37726fdf..ae256238a637 100644
> --- a/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml
> +++ b/Documentation/devicetree/bindings/media/qcom,sdm845-venus.yaml
> @@ -108,6 +108,11 @@ properties:
> required:
> - iommus
>
> + firmware-name:
> + maxItems: 1
> + description: |
> + Relative firmware image path for venus.
> +
> required:
> - compatible
> - reg
> --
> 2.32.0
>
>
>