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: Mon, 23 Feb 2026 06:16:28 +1000 [thread overview]
Message-ID: <review-patch5-20260219210408.5451-6-bavishimithil@gmail.com> (raw)
In-Reply-To: <20260219210408.5451-6-bavishimithil@gmail.com>
Patch Review
This is the largest patch and has several issues.
> + 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 here contains a phandle (`&gpio6`) which is not valid for this property. The `interrupts` property expects only the interrupt specifier (numeric cells), with the interrupt controller specified separately via `interrupt-parent`. To include an inline phandle reference, this should be `interrupts-extended = <&gpio6 10 IRQ_TYPE_EDGE_RISING>;`. As written, the DT compiler may not flag this, but the kernel will misparse the interrupt specifier.
> + continuous_splash: framebuffer@bef00000{
> + reg = <0xbef00000 (1024 * 600 * 4)>;
> + no-map;
> + };
Two issues here. First, missing space before `{` (`framebuffer@bef00000{` should be `framebuffer@bef00000 {`).
Second, this is in the common dtsi but the framebuffer size `(1024 * 600 * 4)` is specific to the 7" variant's resolution. The 10" variant uses 1280x800, which would need `(1280 * 800 * 4)` -- nearly double the size. If the bootloader sets up a splash screen on the 10" variant, this reservation is too small and memory could be corrupted. This should either be overridden in the variant-specific dts files, or use the larger size of the two variants, or not be in the common dtsi at all. Additionally, the `continuous_splash` label is never referenced anywhere.
> + ledir_pins: pimux-ledir-pins {
Typo: `pimux-ledir-pins` should be `pinmux-ledir-pins`.
> + chosen {
> + stdout-path = &uart3;
> + #address-cells = <1>;
> + };
Having `#address-cells` in `chosen` without `#size-cells` is unusual. Is this intentionally here for something specific (e.g., a bootloader convention), or is it leftover?
> +&omap4_pmx_wkup {
> + gpio_keys: gpio-keys-pins {
> + pinctrl-single,pins = <
> + OMAP4_IOPAD(0x046, WAKEUP_EN | PIN_INPUT | MUX_MODE3)
> + /* sim_cd.gpio_wk3 - EXT_WAKEUP */
> + OMAP4_IOPAD(0x056, WAKEUP_EN | PIN_INPUT | MUX_MODE3)
> + /* fref_clk3_req.gpio_wk30 - VOL_UP */
> + OMAP4_IOPAD(0x05C, WAKEUP_EN | PIN_INPUT | MUX_MODE3)
> + /* fref_clk4_out.gpio_wk8 - VOL_DN */
> + >;
> + };
> +
> + prox_irq: prox-irq-pins {
> + pinctrl-single,pins = <
> + OMAP4_IOPAD(0x042, WAKEUP_EN | PIN_INPUT_PULLUP | MUX_MODE3)
> + /* sim_clk.gpio_wk1 - PS_VOUT */
> + >;
> + };
The v6 changelog states "Remove references to WAKEUP_EN (drivers dont support interrupts-extended)" but WAKEUP_EN is still present in these pin definitions. Andreas Kemnade also pointed out in his review that WAKEUP_EN is not needed for the gpio1 controller since it's always active per the OMAP4 TRM Table 3-327.
The commit message could also use improvement: "Let's create a common tree for all the variants first, later we can device specific trees based on their screen sizes" appears to be missing the word "add" or "create" after "we can."
---
Generated by Claude Code Patch Reviewer
next prev parent reply other threads:[~2026-02-22 20:16 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 21:03 [PATCH v6 0/8] Initial support for Samsung Galaxy Tab 2 series Mithil Bavishi
2026-02-19 21:04 ` [PATCH v6 1/8] ARM: dts: twl6032: Add DTS file for TWL6032 PMIC Mithil Bavishi
2026-02-22 20:16 ` Claude review: " Claude Code Review Bot
2026-02-19 21:04 ` [PATCH v6 2/8] dt-bindings: vendor-prefixes: Add Doestek Mithil Bavishi
2026-02-22 20:16 ` Claude review: " Claude Code Review Bot
2026-02-19 21:04 ` [PATCH v6 3/8] dt-bindings: display: bridge: lvds-codec: add doestek, dtc34lm85am Mithil Bavishi
2026-02-22 20:16 ` Claude review: " Claude Code Review Bot
2026-02-19 21:04 ` [PATCH v6 4/8] dt-bindings: display: panel-lvds: Add compatibles for Samsung LTN070NL01 and LTN101AL03 panels Mithil Bavishi
2026-02-22 20:16 ` Claude review: " Claude Code Review Bot
2026-02-19 21:04 ` [PATCH v6 5/8] ARM: dts: ti: omap: espresso-common: Add common device tree for Samsung Galaxy Tab 2 series Mithil Bavishi
2026-02-20 20:55 ` Andreas Kemnade
2026-02-22 20:16 ` Claude Code Review Bot [this message]
2026-02-19 21:04 ` [PATCH v6 6/8] dt-bindings: omap: Add Samsung Galaxy Tab 2 7.0 and 10.1 Mithil Bavishi
2026-02-22 20:16 ` Claude review: " Claude Code Review Bot
2026-02-19 21:04 ` [PATCH v6 7/8] ARM: dts: ti: omap: samsung-espresso7: Add initial support for Galaxy Tab 2 7.0 Mithil Bavishi
2026-02-22 20:16 ` Claude review: " Claude Code Review Bot
2026-02-19 21:04 ` [PATCH v6 8/8] ARM: dts: ti: omap: samsung-espresso10: Add initial support for Galaxy Tab 2 10.1 Mithil Bavishi
2026-02-22 20:16 ` Claude review: " Claude Code Review Bot
2026-02-22 20:16 ` Claude review: Initial support for Samsung Galaxy Tab 2 series Claude Code Review Bot
-- strict thread matches above, loose matches on Subject: below --
2026-02-23 5:51 [PATCH v7 0/8] " Mithil Bavishi
2026-02-23 5:51 ` [PATCH v7 5/8] ARM: dts: ti: omap: espresso-common: Add common device tree " Mithil Bavishi
2026-02-24 0:31 ` Claude review: " Claude Code Review Bot
2026-03-03 20:30 [PATCH v9 0/8] Initial support " 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
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-20260219210408.5451-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