Message ID | 20221122085724.3245078-4-milkfafa@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Support Nuvoton NPCM Video Capture/Encode Engine | expand |
On 22/11/2022 09:57, Marvin Lin wrote: > Add dt-bindings document for Graphics Core Information (GFXI) node. It > is used by NPCM video driver to retrieve Graphics core information. > > Signed-off-by: Marvin Lin <milkfafa@gmail.com> > --- > .../bindings/arm/npcm/nuvoton,gfxi.yaml | 41 +++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml > Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. > diff --git a/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml b/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml > new file mode 100644 > index 000000000000..5b785bda5739 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > + > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/arm/npcm/nuvoton,gfxi.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Graphics Core Information block in Nuvoton SoCs > + > +maintainers: > + - Joseph Liu <kwliu@nuvoton.com> > + - Marvin Lin <kflin@nuvoton.com> > + > +description: > + The Graphics Core Information (GFXI) are a block of registers in Nuvoton SoCs > + that analyzes Graphics core behavior and provides inforomation in registers. typo: information > + > +properties: > + compatible: > + items: > + - enum: > + - nuvoton,npcm750-gfxi > + - nuvoton,npcm845-gfxi > + - const: syscon > + - const: simple-mfd That's not simple-mfd, you do not have any devices. Best regards, Krzysztof
Hi Krzysztof, > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC. It might happen, that command when run on an older > kernel, gives you outdated entries. Therefore please be sure you base > your patches on recent Linux kernel. Thanks for your kind reminder. I'll check for this again. > > +description: > > + The Graphics Core Information (GFXI) are a block of registers in Nuvoton SoCs > > + that analyzes Graphics core behavior and provides inforomation in registers. > > typo: information > > > + > > +properties: > > + compatible: > > + items: > > + - enum: > > + - nuvoton,npcm750-gfxi > > + - nuvoton,npcm845-gfxi > > + - const: syscon > > + - const: simple-mfd > > That's not simple-mfd, you do not have any devices. These problems will be addressed in the next patch, thanks for the review. Regards, Marvin
diff --git a/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml b/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml new file mode 100644 index 000000000000..5b785bda5739 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml @@ -0,0 +1,41 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/npcm/nuvoton,gfxi.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Graphics Core Information block in Nuvoton SoCs + +maintainers: + - Joseph Liu <kwliu@nuvoton.com> + - Marvin Lin <kflin@nuvoton.com> + +description: + The Graphics Core Information (GFXI) are a block of registers in Nuvoton SoCs + that analyzes Graphics core behavior and provides inforomation in registers. + +properties: + compatible: + items: + - enum: + - nuvoton,npcm750-gfxi + - nuvoton,npcm845-gfxi + - const: syscon + - const: simple-mfd + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + gfxi: gfxi@e000 { + compatible = "nuvoton,npcm750-gfxi", "syscon", "simple-mfd"; + reg = <0xe000 0x100>; + };
Add dt-bindings document for Graphics Core Information (GFXI) node. It is used by NPCM video driver to retrieve Graphics core information. Signed-off-by: Marvin Lin <milkfafa@gmail.com> --- .../bindings/arm/npcm/nuvoton,gfxi.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/npcm/nuvoton,gfxi.yaml