From: "Jonathan Neuschäfer" <j.neuschaefer@gmx.net>
To: Marvin Lin <milkfafa@gmail.com>
Cc: mchehab@kernel.org, linux-media@vger.kernel.org,
linux-kernel@vger.kernel.org, kwliu@nuvoton.com,
tmaimon77@gmail.com, avifishman70@gmail.com,
openbmc@lists.ozlabs.org, tali.perry1@gmail.com,
kflin@nuvoton.com
Subject: Re: [PATCH v1 2/5] dt-bindings: media: Add dt-bindings for NPCM Video Capture/Encode Engine
Date: Tue, 17 May 2022 15:24:34 +0200 [thread overview]
Message-ID: <YoOiEtY822XQ+JYl@latitude> (raw)
In-Reply-To: <20220512072722.25005-3-kflin@nuvoton.com>
[-- Attachment #1: Type: text/plain, Size: 1870 bytes --]
Hi,
since the WPCM450 also includes a VCD block, I'd be interested in
reusing the same bindings and driver there.
On Thu, May 12, 2022 at 03:27:19PM +0800, Marvin Lin wrote:
> Add dt-bindings document for NPCM Video Capture/Encode Engine.
>
> Signed-off-by: Marvin Lin <kflin@nuvoton.com>
> ---
> .../bindings/media/nuvoton,npcm-video.yaml | 87 +++++++++++++++++++
> 1 file changed, 87 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/media/nuvoton,npcm-video.yaml
>
> diff --git a/Documentation/devicetree/bindings/media/nuvoton,npcm-video.yaml b/Documentation/devicetree/bindings/media/nuvoton,npcm-video.yaml
> new file mode 100644
> index 000000000000..b5be7ef09038
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/media/nuvoton,npcm-video.yaml
> @@ -0,0 +1,87 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/media/nuvoton,npcm-video.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Nuvoton NPCM Video Capture/Encode Engine Device Tree Bindings
> +
> +maintainers:
> + - Joseph Liu <kwliu@nuvoton.com>
> + - Marvin Lin <kflin@nuvoton.com>
> +
> +description: |
> + Video Capture/Differentiation Engine (VCD) and Encoding Compression Engine
> + (ECE) present on Nuvoton NPCM SoCs.
> +
> +properties:
> + compatible:
> + enum:
> + - nuvoton,npcm750-video
> + - nuvoton,npcm845-video
> +
> + reg:
> + items:
> + - description: VCD registers
> + - description: ECE registers
I'd somewhat prefer if these were actually two separate devicetree
nodes, since there are two hardware blocks and two register ranges.
This would make reuse of the VCD binding easier on WPCM450, because it
doesn't have an ECE block.
Best regards,
Jonathan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2022-05-17 13:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 7:27 [PATCH v1 0/5] Support Nuvoton NPCM Video Capture/Encode Engine Marvin Lin
2022-05-12 7:27 ` [PATCH v1 1/5] arm: dts: Add node for " Marvin Lin
2022-05-12 7:27 ` [PATCH v1 2/5] dt-bindings: media: Add dt-bindings " Marvin Lin
2022-05-17 13:24 ` Jonathan Neuschäfer [this message]
2022-05-12 7:27 ` [PATCH v1 3/5] dt-bindings: arm/npcm: Add dt-bindings for Graphics Core Information Marvin Lin
2022-05-12 7:27 ` [PATCH v1 4/5] media: Add HEXTILE compressed format Marvin Lin
2022-05-12 13:18 ` Nicolas Dufresne
2022-05-12 7:27 ` [PATCH v1 5/5] drivers: media: platform: Add NPCM Video Capture/Encode Engine driver Marvin Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YoOiEtY822XQ+JYl@latitude \
--to=j.neuschaefer@gmx.net \
--cc=avifishman70@gmail.com \
--cc=kflin@nuvoton.com \
--cc=kwliu@nuvoton.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=milkfafa@gmail.com \
--cc=openbmc@lists.ozlabs.org \
--cc=tali.perry1@gmail.com \
--cc=tmaimon77@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox