[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <96979d33-829a-4b38-bd8e-83b7f07a7c2c@collabora.com>
Date: Wed, 9 Nov 2022 10:29:45 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Yunfei Dong <yunfei.dong@...iatek.com>,
Rob Herring <robh@...nel.org>,
Chen-Yu Tsai <wenst@...omium.org>,
Hans Verkuil <hverkuil-cisco@...all.nl>,
Benjamin Gaignard <benjamin.gaignard@...labora.com>,
Tiffany Lin <tiffany.lin@...iatek.com>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Hsin-Yi Wang <hsinyi@...omium.org>,
Daniel Vetter <daniel@...ll.ch>,
Steve Cho <stevecho@...omium.org>, linux-media@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH 2/3] media: dt-bindings: media: mediatek: vcodec: Change
the max reg value to 2
Il 09/11/22 08:35, Yunfei Dong ha scritto:
> Need to add racing control register base in device node for mt8195 support
> inner racing mode. Changing the max reg value from 1 to 2.
>
> Signed-off-by: Yunfei Dong <yunfei.dong@...iatek.com>
> ---
> .../bindings/media/mediatek,vcodec-subdev-decoder.yaml | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
> index 794012853834..1697feb1f854 100644
> --- a/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
> +++ b/Documentation/devicetree/bindings/media/mediatek,vcodec-subdev-decoder.yaml
> @@ -61,7 +61,7 @@ properties:
> - mediatek,mt8195-vcodec-dec
>
> reg:
> - maxItems: 1
> + maxItems: 2
What about doing, instead...
- description: VDEC_SYS register space
- description: VDEC_RACING_CTRL register space
then, setting `minItems: 1` will make the racing_ctrl iospace optional :-)
Regards,
Angelo
Powered by blists - more mailing lists