From: sashiko-bot@kernel.org
To: "Dario Binacchi" <dario.binacchi@amarulasolutions.com>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 13/14] arm64: dts: st: support Engicam MicroGEA-STM32MP257-RMM board
Date: Fri, 05 Jun 2026 12:42:02 +0000 [thread overview]
Message-ID: <20260605124202.DAC431F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260605121957.78409-14-dario.binacchi@amarulasolutions.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] Touchscreen coordinate limits do not match the explicitly configured display panel resolution, leading to skewed touch mapping.
- [High] Incorrect SPI chip select polarity configured for the ILI9806E panel on the spi1 bus.
--
commit 854048d228db5381ac3f46c66e9b5c98347cf9f6
Author: Dario Binacchi <dario.binacchi@amarulasolutions.com>
arm64: dts: st: support Engicam MicroGEA-STM32MP257-RMM board
This commit adds device tree support for the Engicam MicroGEA-STM32MP257-RMM
board. It defines various peripherals including an LCD panel with a
touchscreen, an audio codec, CAN, LEDs, and an SD card.
> diff --git a/arch/arm64/boot/dts/st/stm32mp257-engicam-microgea-rmm.dts b/arch/arm64/boot/dts/st/stm32mp257-engicam-microgea-rmm.dts
> new file mode 100644
> index 0000000000000..0212c03aae1ac
> --- /dev/null
> +++ b/arch/arm64/boot/dts/st/stm32mp257-engicam-microgea-rmm.dts
[ ... ]
> + touchscreen@38 {
> + compatible = "edt,edt-ft5306";
> + reg = <0x38>;
> + interrupt-parent = <&gpiob>;
> + interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
> + reset-gpios = <&gpiod 1 GPIO_ACTIVE_LOW>;
> + touchscreen-size-x = <1280>;
> + touchscreen-size-y = <800>;
[Severity: High]
Are these touchscreen coordinate limits correct for the configured display
panel?
The device tree configures the display panel below as
rocktech,rk050hr345-ct106a, which is a 480x854 portrait panel.
However, the touchscreen size is explicitly set to 1280x800 here. The input
subsystem and userspace will scale touch events assuming these larger
hardware coordinates. Since the actual touchscreen overlaid on a 480x854
panel will report coordinates matching the panel's physical dimensions,
will touches be incorrectly scaled down?
> + };
[ ... ]
> +&spi1 {
> + pinctrl-names = "default", "sleep";
> + pinctrl-0 = <&spi1_pins_a>;
> + pinctrl-1 = <&spi1_sleep_pins_a>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + cs-gpios = <&gpioh 8 GPIO_ACTIVE_HIGH>, <&gpioh 3 GPIO_ACTIVE_HIGH>;
[Severity: High]
Will the physical polarity of the SPI chip select lines conflict with the
panel's active-low requirement?
The cs-gpios property is configured with the GPIO_ACTIVE_HIGH flag. The
display panel node display@0 below does not specify the spi-cs-high
property, meaning the SPI device expects an active-low chip select.
Since the Linux gpiolib and SPI subsystem rules do not invert the logical
polarity when an active-high GPIO is used for an active-low SPI device,
the SPI core will drive the physical line HIGH when asserting the chip
select.
Because the ILI9806E panel requires an active-low chip select, will it
receive a HIGH signal during SPI transfers and ignore the initialization
commands? Should the cs-gpios property specify GPIO_ACTIVE_LOW instead?
> + status = "okay";
> +
> + display: display@0 {
> + compatible = "rocktech,rk050hr345-ct106a", "ilitek,ili9806e";
> + reg = <0>;
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260605121957.78409-1-dario.binacchi@amarulasolutions.com?part=13
prev parent reply other threads:[~2026-06-05 12:42 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-05 12:18 [PATCH v4 00/14] arm64: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 01/14] dt-bindings: arm: stm32: " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 02/14] arm64: dts: st: add SDMMC2 support on stm32mp25 Dario Binacchi
2026-06-05 12:31 ` sashiko-bot
2026-06-05 12:18 ` [PATCH v4 03/14] arm64: dts: st: add CAN1 " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 04/14] arm64: dts: st: add i2c1 pins for stm32mp25 Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 05/14] arm64: dts: st: add ltdc " Dario Binacchi
2026-06-05 12:27 ` sashiko-bot
2026-06-05 12:18 ` [PATCH v4 06/14] arm64: dts: st: add can1 " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 07/14] arm64: dts: st: add pwm2/pwm4 " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 08/14] arm64: dts: st: add sai1 " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 09/14] arm64: dts: st: add sdmmc2 " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 10/14] arm64: dts: st: add spi1 " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 11/14] arm64: dts: st: add usart1 " Dario Binacchi
2026-06-05 12:18 ` [PATCH v4 12/14] arm64: dts: st: support Engicam MicroGEA-STM32MP257 SoM Dario Binacchi
2026-06-05 12:36 ` sashiko-bot
2026-06-05 12:18 ` [PATCH v4 13/14] arm64: dts: st: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
2026-06-05 12:42 ` sashiko-bot [this message]
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=20260605124202.DAC431F00893@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=dario.binacchi@amarulasolutions.com \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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