All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Marvin Lin <milkfafa@gmail.com>
Cc: devicetree@vger.kernel.org, tmaimon77@gmail.com,
	kwliu@nuvoton.com, avifishman70@gmail.com,
	openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org,
	tali.perry1@gmail.com, mchehab@kernel.org, kflin@nuvoton.com,
	linux-media@vger.kernel.org
Subject: Re: [PATCH v7 2/7] media: dt-binding: nuvoton: Add bindings for NPCM VCD and ECE engine
Date: Tue, 22 Nov 2022 18:05:52 -0600	[thread overview]
Message-ID: <20221123000552.GA817752-robh@kernel.org> (raw)
In-Reply-To: <20221122085724.3245078-3-milkfafa@gmail.com>

On Tue, Nov 22, 2022 at 04:57:19PM +0800, Marvin Lin wrote:
> Add dt-binding document for Video Capture/Differentiation Engine (VCD)
> and Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs.
> 
> Signed-off-by: Marvin Lin <milkfafa@gmail.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

Drop ' 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.

Sounds like 2 h/w blocks? If so, then it should be 2 separate nodes.

> +
> +properties:
> +  compatible:
> +    enum:
> +      - nuvoton,npcm750-video
> +      - nuvoton,npcm845-video

'video' doesn't sound like the name of the h/w block(s).

> +
> +  reg:
> +    items:
> +      - description: VCD registers
> +      - description: ECE registers
> +
> +  reg-names:
> +    items:
> +      - const: vcd
> +      - const: ece
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  resets:
> +    items:
> +      - description: VCD reset control
> +      - description: ECE reset control
> +
> +  reset-names:
> +    items:
> +      - const: vcd
> +      - const: ece
> +
> +  nuvoton,syscon-gcr:
> +    $ref: /schemas/types.yaml#definitions/phandle
> +    description: Phandle to the Global Control Register DT node
> +
> +  nuvoton,syscon-gfxi:
> +    $ref: /schemas/types.yaml#definitions/phandle
> +    description: Phandle to the Graphics Core Information DT node
> +
> +  memory-region:
> +    description:
> +      CMA pool to use for buffers allocation instead of the default CMA pool.
> +
> +required:
> +  - compatible
> +  - reg
> +  - reg-names
> +  - interrupts
> +  - resets
> +  - reset-names
> +  - nuvoton,syscon-gcr
> +  - nuvoton,syscon-gfxi
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
> +
> +    video: video@f0810000 {
> +        compatible = "nuvoton,npcm750-video";
> +        reg = <0xf0810000 0x10000>,
> +              <0xf0820000 0x2000>;
> +        reg-names = "vcd", "ece";
> +        interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
> +        resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>,
> +                 <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>;
> +        reset-names = "vcd", "ece";
> +        nuvoton,syscon-gcr = <&gcr>;
> +        nuvoton,syscon-gfxi = <&gfxi>;
> +    };
> -- 
> 2.34.1
> 
> 

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Marvin Lin <milkfafa@gmail.com>
Cc: mchehab@kernel.org, linux-media@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	openbmc@lists.ozlabs.org, avifishman70@gmail.com,
	tmaimon77@gmail.com, tali.perry1@gmail.com, kwliu@nuvoton.com,
	kflin@nuvoton.com
Subject: Re: [PATCH v7 2/7] media: dt-binding: nuvoton: Add bindings for NPCM VCD and ECE engine
Date: Tue, 22 Nov 2022 18:05:52 -0600	[thread overview]
Message-ID: <20221123000552.GA817752-robh@kernel.org> (raw)
In-Reply-To: <20221122085724.3245078-3-milkfafa@gmail.com>

On Tue, Nov 22, 2022 at 04:57:19PM +0800, Marvin Lin wrote:
> Add dt-binding document for Video Capture/Differentiation Engine (VCD)
> and Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs.
> 
> Signed-off-by: Marvin Lin <milkfafa@gmail.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

Drop ' 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.

Sounds like 2 h/w blocks? If so, then it should be 2 separate nodes.

> +
> +properties:
> +  compatible:
> +    enum:
> +      - nuvoton,npcm750-video
> +      - nuvoton,npcm845-video

'video' doesn't sound like the name of the h/w block(s).

> +
> +  reg:
> +    items:
> +      - description: VCD registers
> +      - description: ECE registers
> +
> +  reg-names:
> +    items:
> +      - const: vcd
> +      - const: ece
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  resets:
> +    items:
> +      - description: VCD reset control
> +      - description: ECE reset control
> +
> +  reset-names:
> +    items:
> +      - const: vcd
> +      - const: ece
> +
> +  nuvoton,syscon-gcr:
> +    $ref: /schemas/types.yaml#definitions/phandle
> +    description: Phandle to the Global Control Register DT node
> +
> +  nuvoton,syscon-gfxi:
> +    $ref: /schemas/types.yaml#definitions/phandle
> +    description: Phandle to the Graphics Core Information DT node
> +
> +  memory-region:
> +    description:
> +      CMA pool to use for buffers allocation instead of the default CMA pool.
> +
> +required:
> +  - compatible
> +  - reg
> +  - reg-names
> +  - interrupts
> +  - resets
> +  - reset-names
> +  - nuvoton,syscon-gcr
> +  - nuvoton,syscon-gfxi
> +
> +additionalProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>
> +
> +    video: video@f0810000 {
> +        compatible = "nuvoton,npcm750-video";
> +        reg = <0xf0810000 0x10000>,
> +              <0xf0820000 0x2000>;
> +        reg-names = "vcd", "ece";
> +        interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
> +        resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>,
> +                 <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>;
> +        reset-names = "vcd", "ece";
> +        nuvoton,syscon-gcr = <&gcr>;
> +        nuvoton,syscon-gfxi = <&gfxi>;
> +    };
> -- 
> 2.34.1
> 
> 

  parent reply	other threads:[~2022-11-23  0:06 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-22  8:57 [PATCH v7 0/7] Support Nuvoton NPCM Video Capture/Encode Engine Marvin Lin
2022-11-22  8:57 ` Marvin Lin
2022-11-22  8:57 ` [PATCH v7 1/7] ARM: dts: nuvoton: Add node for NPCM VCD and ECE engine Marvin Lin
2022-11-22  8:57   ` Marvin Lin
2022-11-22  8:57 ` [PATCH v7 2/7] media: dt-binding: nuvoton: Add bindings " Marvin Lin
2022-11-22  8:57   ` Marvin Lin
2022-11-22 20:28   ` Rob Herring
2022-11-22 20:28     ` Rob Herring
2022-11-23  0:05   ` Rob Herring [this message]
2022-11-23  0:05     ` Rob Herring
2022-11-24  3:45     ` Kun-Fa Lin
2022-11-24  3:45       ` Kun-Fa Lin
2022-11-22  8:57 ` [PATCH v7 3/7] dt-bindings: arm: nuvoton: Add bindings for NPCM GFXI Marvin Lin
2022-11-22  8:57   ` Marvin Lin
2022-11-23 15:59   ` Krzysztof Kozlowski
2022-11-23 15:59     ` Krzysztof Kozlowski
2022-11-24  3:53     ` Kun-Fa Lin
2022-11-24  3:53       ` Kun-Fa Lin
2022-11-22  8:57 ` [PATCH v7 4/7] media: v4l: Add HEXTILE compressed format Marvin Lin
2022-11-22  8:57   ` Marvin Lin
2022-11-22  8:57 ` [PATCH v7 5/7] media: v4l2-ctrls: Reserve user control base for NPCM video controls Marvin Lin
2022-11-22  8:57   ` Marvin Lin
2022-11-22  8:57 ` [PATCH v7 6/7] media: uapi: Add controls for NPCM video driver Marvin Lin
2022-11-22  8:57   ` Marvin Lin
2022-11-23  8:11   ` kernel test robot
2022-11-23  8:11     ` kernel test robot
2022-11-23  8:21   ` kernel test robot
2022-11-23  8:21     ` kernel test robot
2022-11-22  8:57 ` [PATCH v7 7/7] media: nuvoton: Add driver for NPCM video capture and encode engine Marvin Lin
2022-11-22  8:57   ` Marvin Lin
2022-11-22 12:21   ` Andrzej Pietrasiewicz
2022-11-22 12:21     ` Andrzej Pietrasiewicz
2022-11-24  3:30     ` Kun-Fa Lin
2022-11-24  3:30       ` Kun-Fa 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=20221123000552.GA817752-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=avifishman70@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.