mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: display: convert via,vt8500-fb binding to YAML
@ 2026-03-17 17:29 Kalyani Patra
  2026-03-17 17:38 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 3+ messages in thread
From: Kalyani Patra @ 2026-03-17 17:29 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt
  Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	dri-devel, devicetree, linux-kernel, daniel.baluta, simona.toaca,
	d-gole, m-chawdhry, Kalyani Patra

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: display: convert via,vt8500-fb binding to YAML
  2026-03-17 17:29 [PATCH] dt-bindings: display: convert via,vt8500-fb binding to YAML Kalyani Patra
@ 2026-03-17 17:38 ` Krzysztof Kozlowski
  2026-03-17 17:54   ` Kalyani P
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-17 17:38 UTC (permalink / raw)
  To: Kalyani Patra, robh, krzk+dt, conor+dt
  Cc: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	dri-devel, devicetree, linux-kernel, daniel.baluta, simona.toaca,
	d-gole, m-chawdhry

On 17/03/2026 18:29, Kalyani Patra wrote:
> Signed-off-by: Kalyani Patra <kalyanipatra2003@gmail.com>
> ---
> Note: this patch is part of the GSoC 2026 Device Tree bindings conversion project.

Please carefully follow GSoC requirements. Really, really carefully.

For example one of the required steps is to run checkpatch. You did not
fulfill that requirement.

...

> +%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>

I have doubts you have hardware or manual, so this should be the driver
or platform maintainer.

> +
> +description:
> +  Framebuffer controller present on VIA VT8500 SoCs.
> +

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: display: convert via,vt8500-fb binding to YAML
  2026-03-17 17:38 ` Krzysztof Kozlowski
@ 2026-03-17 17:54   ` Kalyani P
  0 siblings, 0 replies; 3+ messages in thread
From: Kalyani P @ 2026-03-17 17:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: robh, krzk+dt, conor+dt, maarten.lankhorst, mripard, tzimmermann,
	airlied, simona, dri-devel, devicetree, linux-kernel,
	daniel.baluta, simona.toaca, d-gole, m-chawdhry

On Tue, Mar 17, 2026 at 06:38:21PM +0100, Krzysztof Kozlowski wrote:
>Please carefully follow GSoC requirements. Really, really carefully.
>
>For example one of the required steps is to run checkpatch. You did not
>fulfill that requirement.
Understood. I'll re-run the checkpatch to confirm no errors and warnings are present.

>
>I have doubts you have hardware or manual, so this should be the driver
>or platform maintainer.
I'll update the maintainers field appropriately and send a revised version. 
Thank you for looking into it. 

Warm Regards, 
Kalyani Patra


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-17 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-17 17:29 [PATCH] dt-bindings: display: convert via,vt8500-fb binding to YAML Kalyani Patra
2026-03-17 17:38 ` Krzysztof Kozlowski
2026-03-17 17:54   ` Kalyani P

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®