lkml.org 
[lkml]   [2021]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] media: dt-bindings: media: venus: Add firmware-name
On Wednesday, July 14th, 2021 at 10:03 PM, Rob Herring <robh@kernel.org> wrote:

> 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 y.oudjana@protonmail.com
> >
> > .../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.
>
Noted.

> Is there a specific pattern and/or default name you can specify?
>
The pattern is usually something like "qcom/<soc>/<device>/venus.mbn", but it can be any path really.
The default would be to not set this property.

> > - 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

\
 
 \ /
  Last update: 2021-07-14 20:14    [W:0.043 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site