From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: ARM: dts: am335x: Add Seeed Studio BeagleBone HDMI cape overlay
Date: Tue, 17 Feb 2026 05:55:38 +1000 [thread overview]
Message-ID: <review-patch3-20260216-feature_bbge-v2-3-22805cfdbf62@bootlin.com> (raw)
In-Reply-To: <20260216-feature_bbge-v2-3-22805cfdbf62@bootlin.com>
Patch Review
> +am335x-bonegreen-hdmi-00a0-dtbs := am335x-bonegreen-eco.dtb \
> + am335x-bone-hdmi-00a0.dtbo
The composite DTB uses `am335x-bonegreen-eco.dtb` as the base. The cover letter says the cape is "compatible with BeagleBone and BeagleBone Black due to pin compatibility," but only one composite DTB is produced for the Green Eco variant. This seems intentional (the primary target board), but it might be worth noting that users of other boards would need to apply the overlay manually at runtime.
> + it66121: it66121 {
> + compatible = "ite,it66121";
> + reg = <0x4d>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&bb_lcd_pins>;
The LCD pin muxing is assigned via `pinctrl-0` on the IT66121 I2C device node rather than on the `&lcdc` node. This is somewhat unusual -- typically you would expect the display controller to own its output pin configuration. However, since this is an overlay, placing it on the bridge device that "triggers" the need for these pins is a pragmatic approach, and the pinctrl framework will configure the pins when the IT66121 device probes. It works, though it could be argued the pins are more logically associated with the LCDC.
> + sound {
> + compatible = "simple-audio-card";
> + simple-audio-card,name = "TI BeagleBone Green HDMI cape";
Minor nit: the product is "Seeed Studio BeagleBone Green HDMI cape" according to the commit message and Link, but the audio card name says "TI BeagleBone Green HDMI cape." This is cosmetic but could be confusing -- it mixes the board vendor (TI/BeagleBone) with the cape vendor (Seeed Studio).
> +&lcdc {
> + status = "okay";
> + blue-and-red-wiring = "straight";
> + port {
> + lcdc_0: endpoint@0 {
> + remote-endpoint = <&it66121_in>;
> + };
> + };
> +};
The `lcdc` node in `am33xx-l4.dtsi` has `status = "disabled"` by default, so enabling it here is correct. The `blue-and-red-wiring = "straight"` property is a tilcdc-specific property indicating no R/B swap.
> +&mcasp0 {
> + status = "okay";
> + #sound-dai-cells = <0>;
> + pinctrl-names = "default";
> + pinctrl-0 = <&mcasp0_pins>;
> + op-mode = <0>;
> + tdm-slots = <2>;
> + serial-dir = < 0 0 1 0 >;
> + tx-num-evt = <32>;
> + rx-num-evt = <32>;
> +};
The McASP configuration looks standard for I2S stereo output (tdm-slots=2, one serializer transmitting at index 2). No issues here.
> + enable-gpios = <&gpio1 27 0>;
The `0` for the GPIO flags means `GPIO_ACTIVE_HIGH`. This could be written as `GPIO_ACTIVE_HIGH` for readability by including `<dt-bindings/gpio/gpio.h>`, but using the raw value `0` is not incorrect.
Overall this is a clean overlay. No correctness bugs found.
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-02-16 19:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-16 16:55 [PATCH v2 0/3] Add support for Seeed Studio BeagleBone HDMI cape overlay Kory Maincent (TI)
2026-02-16 16:55 ` [PATCH v2 1/3] ARM: dts: ti: Enable overlays for am335x BeagleBoard devicetrees Kory Maincent (TI)
2026-02-16 19:55 ` Claude review: " Claude Code Review Bot
2026-02-16 16:55 ` [PATCH v2 2/3] ARM: multi_v7_defconfig: omap2plus_defconfig: Enable ITE IT66121 driver Kory Maincent (TI)
2026-02-16 19:55 ` Claude review: " Claude Code Review Bot
2026-02-16 16:55 ` [PATCH v2 3/3] ARM: dts: am335x: Add Seeed Studio BeagleBone HDMI cape overlay Kory Maincent (TI)
2026-02-16 19:55 ` Claude Code Review Bot [this message]
2026-02-16 19:55 ` Claude review: Add support for " Claude Code Review Bot
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=review-patch3-20260216-feature_bbge-v2-3-22805cfdbf62@bootlin.com \
--to=claude-review@example.com \
--cc=dri-devel-reviews@example.com \
/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