From: Pranav Kharche <pranavkharche7@gmail.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
Pranav Kharche <pranavkharche7@gmail.com>
Subject: [PATCH 0/1] dt-bindings: media: convert hix5hd2-ir to DT schema
Date: Sat, 28 Mar 2026 14:12:37 +0530 [thread overview]
Message-ID: <20260328084238.201452-1-pranavkharche7@gmail.com> (raw)
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
next reply other threads:[~2026-03-28 8:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-28 8:42 Pranav Kharche [this message]
2026-03-28 8:42 ` [PATCH 1/1] dt-bindings: media: convert hix5hd2-ir to DT schema Pranav Kharche
2026-03-29 9:45 ` Krzysztof Kozlowski
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=20260328084238.201452-1-pranavkharche7@gmail.com \
--to=pranavkharche7@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=robh@kernel.org \
/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