[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<TYZPR06MB65685EF88A548AEC26A54EC8F1922@TYZPR06MB6568.apcprd06.prod.outlook.com>
Date: Mon, 2 Sep 2024 01:44:55 +0000
From: Jammy Huang <jammy_huang@...eedtech.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, "robh@...nel.org"
<robh@...nel.org>, "conor+dt@...nel.org" <conor+dt@...nel.org>,
"eajames@...ux.ibm.com" <eajames@...ux.ibm.com>, "mchehab@...nel.org"
<mchehab@...nel.org>, "joel@....id.au" <joel@....id.au>, "andrew@...id.au"
<andrew@...id.au>, "hverkuil@...all.nl" <hverkuil@...all.nl>,
"pmenzel@...gen.mpg.de" <pmenzel@...gen.mpg.de>, "krzk+dt@...nel.org"
<krzk+dt@...nel.org>
CC: "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
"openbmc@...ts.ozlabs.org" <openbmc@...ts.ozlabs.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-aspeed@...ts.ozlabs.org"
<linux-aspeed@...ts.ozlabs.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v6 1/2] dt-bindings: media: convert aspeed-video.txt to
dt-schema
Hi Krzysztof,
On 2024/8/29 下午 03:56, Krzysztof Kozlowski wrote:
>
> On 29/08/2024 08:45, Jammy Huang wrote:
> > Convert the ASPEED SoCs video txt bindings to dt-schema.
> >
> > Signed-off-by: Jammy Huang <jammy_huang@...eedtech.com>
> > ---
> > .../bindings/media/aspeed,video-engine.yaml | 78
> +++++++++++++++++++
> > .../bindings/media/aspeed-video.txt | 33 --------
> > 2 files changed, 78 insertions(+), 33 deletions(-) create mode
> > 100644
> > Documentation/devicetree/bindings/media/aspeed,video-engine.yaml
> > delete mode 100644
> > Documentation/devicetree/bindings/media/aspeed-video.txt
>
> Fix the paths in kernel (git grep).
Sorry, I don't know exactly how to fix that.
Do you mean I need to change the file name from 'drivers/media/platform/aspeed/aspeed-video.c'
to ' drivers/media/platform/aspeed/aspeed-video-engine.c'???
>
> ...
>
> > +
> > + resets:
> > + maxItems: 1
> > +
> > + interrupts:
> > + maxItems: 1
> > +
> > + memory-region:
> > + description: |
> > + Phandle to a memory region to allocate from, as defined in
> > +
> > +
> Documentation/devicetree/bindings/reserved-memory/reserved-memory.tx
> > + t
>
> Useless description, completely redundant. Please say something useful about
> this particular memory region and its usage.
>
> Missing maxItems.
OK, more information will be added for the usage of 'memory-region' in ASPEED VE.
>
> > +
> > + aspeed,scu:
> > + $ref: /schemas/types.yaml#/definitions/phandle
> > + description: |
> > + Specifies the scu node that is needed if video wants to capture
> > + from sources other than Host VGA.
> > +
> > + aspeed,gfx:
> > + $ref: /schemas/types.yaml#/definitions/phandle
> > + description: |
> > + Specifies the Soc Display(gfx) node that needs to be queried to get
> > + related information if video wants to use gfx as capture source.
>
> These two were not in the binding. Mention in the commit msg any changes
> from pure conversion with rationale WHY you are changing the binding.
OK, I will split the patch.
>
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > + - clock-names
> > + - interrupts
> > +
> > +additionalProperties: false
> Best regards,
> Krzysztof
Best regards,
Jammy
Powered by blists - more mailing lists