From: Kalyani Patra <kalyanipatra2003@gmail.com>
To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org
Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org,
tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch,
dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, daniel.baluta@nxp.com,
simona.toaca@nxp.com, d-gole@ti.com, m-chawdhry@ti.com,
Kalyani Patra <kalyanipatra2003@gmail.com>
Subject: [PATCH] dt-bindings: display: convert via,vt8500-fb binding to YAML
Date: Tue, 17 Mar 2026 22:59:56 +0530 [thread overview]
Message-ID: <20260317172955.250192-2-kalyanipatra2003@gmail.com> (raw)
Signed-off-by: Kalyani Patra <kalyanipatra2003@gmail.com>
---
Note: this patch is part of the GSoC 2026 Device Tree bindings conversion project.
---
.../bindings/display/via,vt8500-fb.txt | 36 -----------
.../bindings/display/via,vt8500-fb.yaml | 63 +++++++++++++++++++
2 files changed, 63 insertions(+), 36 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/display/via,vt8500-fb.txt
create mode 100644 Documentation/devicetree/bindings/display/via,vt8500-fb.yaml
diff --git a/Documentation/devicetree/bindings/display/via,vt8500-fb.txt b/Documentation/devicetree/bindings/display/via,vt8500-fb.txt
deleted file mode 100644
index 2871e218a0fb..000000000000
--- a/Documentation/devicetree/bindings/display/via,vt8500-fb.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-VIA VT8500 Framebuffer
------------------------------------------------------
-
-Required properties:
-- compatible : "via,vt8500-fb"
-- reg : Should contain 1 register ranges(address and length)
-- interrupts : framebuffer controller interrupt
-- bits-per-pixel : bit depth of framebuffer (16 or 32)
-
-Required subnodes:
-- display-timings: see display-timing.txt for information
-
-Example:
-
- fb@d8050800 {
- compatible = "via,vt8500-fb";
- reg = <0xd800e400 0x400>;
- interrupts = <12>;
- bits-per-pixel = <16>;
-
- display-timings {
- native-mode = <&timing0>;
- timing0: 800x480 {
- clock-frequency = <0>; /* unused but required */
- hactive = <800>;
- vactive = <480>;
- hfront-porch = <40>;
- hback-porch = <88>;
- hsync-len = <0>;
- vback-porch = <32>;
- vfront-porch = <11>;
- vsync-len = <1>;
- };
- };
- };
-
diff --git a/Documentation/devicetree/bindings/display/via,vt8500-fb.yaml b/Documentation/devicetree/bindings/display/via,vt8500-fb.yaml
new file mode 100644
index 000000000000..1ebea3b82f30
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/via,vt8500-fb.yaml
@@ -0,0 +1,63 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/via,vt8500-fb.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: VIA VT8500 Framebuffer Controller
+
+maintainers:
+ - Kalyani Patra <kalyanipatra2003@gmail.com>
+
+description:
+ Framebuffer controller present on VIA VT8500 SoCs.
+
+properties:
+ compatible:
+ const: via,vt8500-fb
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ bits-per-pixel:
+ description: Framebuffer bit depth
+ enum: [16, 32]
+
+ display-timings:
+ $ref: /schemas/display/panel/display-timings.yaml#
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - bits-per-pixel
+ - display-timings
+
+additionalProperties: false
+
+examples:
+ - |
+ fb@d8050800 {
+ compatible = "via,vt8500-fb";
+ reg = <0xd800e400 0x400>;
+ interrupts = <12>;
+ bits-per-pixel = <16>;
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: timing0 {
+ clock-frequency = <0>;
+ hactive = <800>;
+ vactive = <480>;
+ hfront-porch = <40>;
+ hback-porch = <88>;
+ hsync-len = <0>;
+ vback-porch = <32>;
+ vfront-porch = <11>;
+ vsync-len = <1>;
+ };
+ };
+ };
--
2.43.0
next reply other threads:[~2026-03-17 17:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-17 17:29 Kalyani Patra [this message]
2026-03-17 17:38 ` Krzysztof Kozlowski
2026-03-17 17:54 ` Kalyani P
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=20260317172955.250192-2-kalyanipatra2003@gmail.com \
--to=kalyanipatra2003@gmail.com \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=d-gole@ti.com \
--cc=daniel.baluta@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m-chawdhry@ti.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=simona.toaca@nxp.com \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®