From: Claude Code Review Bot <claude-review@example.com>
To: dri-devel-reviews@example.com
Subject: Claude review: ARM: dts: ti: omap: espresso-common: Add common device tree for Samsung Galaxy Tab 2 series
Date: Tue, 24 Feb 2026 10:31:42 +1000 [thread overview]
Message-ID: <review-patch5-20260223055113.1288-6-bavishimithil@gmail.com> (raw)
In-Reply-To: <20260223055113.1288-6-bavishimithil@gmail.com>
Patch Review
This is the largest patch, adding the shared common dtsi. Several items to note:
> +#include "dt-bindings/gpio/gpio.h"
> +#include <dt-bindings/interrupt-controller/irq.h>
> +#include <dt-bindings/input/input.h>
The first include uses quotes while the other two use angle brackets. Every other file in the OMAP DT directory uses angle brackets for dt-bindings includes. This should be `#include <dt-bindings/gpio/gpio.h>` for consistency.
> + continuous_splash: framebuffer@bef00000{
> + reg = <0xbef00000 (1024 * 600 * 4)>;
> + no-map;
> + };
Two issues here. First, there's a missing space before `{`. Second, and more substantively, this reserves `1024 * 600 * 4` bytes (about 2.4 MB), which is sized for the 7" panel. The espresso10 variant uses a 1280x800 panel, which would need `1280 * 800 * 4` bytes (about 3.9 MB). If the bootloader renders a splash screen at the native 10" resolution, this reservation is too small and the framebuffer would overlap with non-reserved memory. Should this size be overridden in the espresso10 DTS, or should the common dtsi use the larger of the two sizes?
> + chosen {
> + stdout-path = &uart3;
> + #address-cells = <1>;
> + };
The `#address-cells` property in `chosen` without a corresponding `#size-cells` seems like a leftover. The v4 changelog mentions "Removed address/size-cells in chosen" but `#address-cells` is still present. Does the `chosen` node actually need this?
> + magnetometer@2e {
> + compatible = "yamaha,yas530";
> + reg = <0x2e>;
> + vdd-supply = <&ldo4>;
> + iovdd-supply = <&ldo5>;
> + reset-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
> + interrupts = <&gpio6 10 IRQ_TYPE_EDGE_RISING>;
> + };
The `interrupts` property does not accept phandle references -- it only takes interrupt specifier cells relative to the node's interrupt parent. This should be either `interrupts-extended = <&gpio6 10 IRQ_TYPE_EDGE_RISING>;` or split into `interrupt-parent = <&gpio6>;` plus `interrupts = <10 IRQ_TYPE_EDGE_RISING>;`. As written, dtc should flag this.
> + ledir_pins: pimux-ledir-pins {
Typo: `pimux` should be `pinmux`.
> + lvds_pins: pinmux-lvds-pins {
> + pinctrl-single,pins = <
> + OMAP4_IOPAD(0X136, PIN_OUTPUT | MUX_MODE3)
A few OMAP4_IOPAD calls use uppercase `0X` for the hex prefix (also `0X0D8`, `0X0D6` in other pin groups). The rest of the file and the tree generally use lowercase `0x`. Minor inconsistency.
> + pinctrl-names = "default";
> + pinctrl-0 = <
> + &twl6030_pins
> + &twl6030_wkup_pins
> + >;
These pinctrl properties on the `twl` node are redundant since `twl6030_omap4.dtsi` (included a few lines later) sets the same properties on `&twl`. You could drop these from the inline node definition and rely on the include.
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-02-24 0:31 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 5:51 [PATCH v7 0/8] Initial support for Samsung Galaxy Tab 2 series Mithil Bavishi
2026-02-23 5:51 ` [PATCH v7 1/8] ARM: dts: twl6032: Add DTS file for TWL6032 PMIC Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-02-23 5:51 ` [PATCH v7 2/8] dt-bindings: vendor-prefixes: Add Doestek Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-02-23 5:51 ` [PATCH v7 3/8] dt-bindings: display: bridge: lvds-codec: add doestek, dtc34lm85am Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-02-23 5:51 ` [PATCH v7 4/8] dt-bindings: display: panel-lvds: Add compatibles for Samsung LTN070NL01 and LTN101AL03 panels Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-02-23 5:51 ` [PATCH v7 5/8] ARM: dts: ti: omap: espresso-common: Add common device tree for Samsung Galaxy Tab 2 series Mithil Bavishi
2026-02-24 0:31 ` Claude Code Review Bot [this message]
2026-02-23 5:51 ` [PATCH v7 6/8] dt-bindings: omap: Add Samsung Galaxy Tab 2 7.0 and 10.1 Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-02-23 5:51 ` [PATCH v7 7/8] ARM: dts: ti: omap: samsung-espresso7: Add initial support for Galaxy Tab 2 7.0 Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-02-23 5:51 ` [PATCH v7 8/8] ARM: dts: ti: omap: samsung-espresso10: Add initial support for Galaxy Tab 2 10.1 Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-02-24 0:31 ` Claude review: Initial support for Samsung Galaxy Tab 2 series Claude Code Review Bot
-- strict thread matches above, loose matches on Subject: below --
2026-03-03 20:30 [PATCH v9 0/8] " Mithil Bavishi
2026-03-03 20:30 ` [PATCH v9 5/8] ARM: dts: ti: omap: espresso-common: Add common device tree " Mithil Bavishi
2026-03-03 20:45 ` Claude review: " Claude Code Review Bot
2026-02-19 21:03 [PATCH v6 0/8] Initial support " Mithil Bavishi
2026-02-19 21:04 ` [PATCH v6 5/8] ARM: dts: ti: omap: espresso-common: Add common device tree " Mithil Bavishi
2026-02-22 20:16 ` Claude review: " 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-patch5-20260223055113.1288-6-bavishimithil@gmail.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