public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] dt-bindings: media: convert hix5hd2-ir to DT schema
@ 2026-03-28  8:42 Pranav Kharche
  2026-03-28  8:42 ` [PATCH 1/1] " Pranav Kharche
  0 siblings, 1 reply; 3+ messages in thread
From: Pranav Kharche @ 2026-03-28  8:42 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Mauro Carvalho Chehab, linux-media, devicetree, Pranav Kharche

This patch converts the HiSilicon hix5hd2 IR remote controller binding from
legacy plaintext format to JSON Schema (DT schema) YAML format. This is part
of the GSoC 2026 Device Tree Bindings conversion project.

The conversion includes:
- Standardized property definitions with proper types and constraints
- Reference to rc.yaml for common IR remote controller properties
- Proper example device tree node with GIC interrupt specifiers
- Support for schema-based validation of device tree sources

Validation Results:
1. Binding schema check passed:
   $ make dt_binding_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/hix5hd2-ir.yaml
   ✓ PASSED

2. DTB validation with actual IR node passed:
   $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make CHECK_DTBS=y DT_SCHEMA_FILES=Documentation/devicetree/bindings/media/hix5hd2-ir.yaml hisilicon/hi3798cv200-poplar.dtb
   ✓ PASSED

The binding correctly validates the IR controller found in hix5hd2 and
hi3796cv300 HiSilicon SoCs.

---
Note:
* This patch is part of the GSoC2026 application process for device tree bindings conversions
* https://github.com/LinuxFoundationGSoC/ProjectIdeas/wiki/GSoC-2026-Device-Tree-Bindings

Pranav Kharche (1):
  dt-bindings: media: convert hix5hd2-ir to DT schema

 .../devicetree/bindings/media/hix5hd2-ir.txt  | 26 ---------
 .../devicetree/bindings/media/hix5hd2-ir.yaml | 53 +++++++++++++++++++
 2 files changed, 53 insertions(+), 26 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/media/hix5hd2-ir.txt
 create mode 100644 Documentation/devicetree/bindings/media/hix5hd2-ir.yaml

-- 
2.34.1

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

end of thread, other threads:[~2026-03-29  9:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28  8:42 [PATCH 0/1] dt-bindings: media: convert hix5hd2-ir to DT schema Pranav Kharche
2026-03-28  8:42 ` [PATCH 1/1] " Pranav Kharche
2026-03-29  9:45   ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox