[PATCH v7 2/7] media: dt-binding: nuvoton: Add bindings for NPCM VCD and ECE engine
Kun-Fa Lin
milkfafa at gmail.com
Thu Nov 24 14:45:36 AEDT 2022
Hi Rob,
Thanks for the review.
> > +title: Nuvoton NPCM Video Capture/Encode Engine Device Tree Bindings
>
> Drop ' Device Tree Bindings'
>
> > +
> > +maintainers:
> > + - Joseph Liu <kwliu at nuvoton.com>
> > + - Marvin Lin <kflin at 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).
VCD and ECE are 2 h/w blocks and our video capture driver needs to
control their registers.
If I separate them and store a phandle (referring to ece node) in vcd
node like this:
vcd: vcd at f0810000 {
compatible = "nuvoton,npcm750-vcd";
reg = <0xf0810000 0x10000>;
...
nuvoton,enc-engine = <&ece>;
};
ece: ece at f0820000 {
compatible = "nuvoton,npcm750-ece";
reg = <0xf0820000 0x2000>;
...
};
Does it look good to you?
Regards,
Marvin
More information about the openbmc
mailing list