Skip to content

Commit

Permalink
dt-bindings: soc: nuvoton: Add NPCM GFXI
Browse files Browse the repository at this point in the history
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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
  • Loading branch information
Marvin Lin authored and Hans Verkuil committed Sep 27, 2023
1 parent f329051 commit c3dea90
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions Documentation/devicetree/bindings/soc/nuvoton/nuvoton,gfxi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/soc/nuvoton/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 information in registers.

properties:
compatible:
items:
- enum:
- nuvoton,npcm750-gfxi
- nuvoton,npcm845-gfxi
- const: syscon

reg:
maxItems: 1

required:
- compatible
- reg

additionalProperties: false

examples:
- |
gfxi: gfxi@e000 {
compatible = "nuvoton,npcm750-gfxi", "syscon";
reg = <0xe000 0x100>;
};

0 comments on commit c3dea90

Please sign in to comment.