Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Shashank Maurya" <shashank.maurya@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay
Date: Mon, 07 Sep 2026 06:47:44 +0000	[thread overview]
Message-ID: <20260907064745.45B381F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260907-rpi_dts_overlay-v2-1-a4989322ce00@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] The overlay uses 'regulator-always-on' for 'reg_dsi_touch' to work around missing regulator support in the 'rpi-touchscreen-v2' driver, breaking power management.
- [Low] The &i2c8 node contains undocumented downstream properties 'qcom,load-firmware' and 'qcom,xfer-mode'.
- [Low] The panel node is missing the required fallback compatible string 'ilitek,ili9881c'.
--

commit ea08b302349d4826d0dcf202cbbe6bec559335f7
Author: Shashank Maurya <shashank.maurya@oss.qualcomm.com>

arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay

This commit adds a device tree overlay for the Raspberry Pi 7-inch DSI
touchscreen panel on the Monaco EVK platform. It enables mdss_dsi0 with 2 data
lanes and configures the panel MCU on I2C8.

> diff --git a/arch/arm64/boot/dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso b/arch/arm64/boot/dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso
> new file mode 100644
> index 0000000000000..f27b5a4a60934
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/monaco-evk-raspberrypi-dsi-7inch.dtso

[ ... ]

> +	reg_dsi_touch: regulator-touch {
> +		compatible = "regulator-fixed";
> +		regulator-name = "rpi-touch";
> +		regulator-min-microvolt = <5500000>;
> +		regulator-max-microvolt = <5500000>;
> +		gpio = <&expander3 5 GPIO_ACTIVE_HIGH>;
> +		enable-active-high;
> +		regulator-always-on;

[Severity: Medium]
Does this regulator-always-on property prevent the display from being powered
down?

It appears this forces the regulator to remain active because the I2C MCU
driver (rpi-panel-v2-regulator) does not acquire or enable vcc-supply.

While this ensures the MCU has power during I2C probe, it structurally
prevents the display driver from legitimately disabling power during system
suspend or display blanking, leading to increased power consumption.

> +	};
> +};
> +
> +&i2c8 {
> +	qcom,load-firmware;
> +	qcom,xfer-mode = <1>;

[Severity: Low]
Are these downstream properties supported by the upstream device tree schemas?

Adding qcom,load-firmware and qcom,xfer-mode directly to the I2C bus node
will lead to dtbs_check validation failures during compilation since they are
undocumented.

> +
> +	status = "okay";

[ ... ]

> +&mdss_dsi0 {
> +	vdda-supply = <&vreg_l1c>;
> +
> +	status = "okay";
> +
> +	#address-cells = <1>;
> +	#size-cells = <0>;
> +
> +	panel@0 {
> +		compatible = "raspberrypi,dsi-7inch";

[Severity: Low]
Is this missing the required ilitek,ili9881c fallback compatible string?

The DT schema for the Ilitek ILI9881c explicitly requires the compatible string
to be an array that includes the device-specific compatible and the
ilitek,ili9881c fallback. Omitting it will cause dtbs_check validation
failures.

> +		reg = <0>;

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260907-rpi_dts_overlay-v2-0-a4989322ce00@oss.qualcomm.com?part=1

  reply	other threads:[~2026-09-07  6:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-07  6:33 [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Shashank Maurya
2026-09-07  6:33 ` [PATCH v2 1/2] arm64: dts: qcom: monaco-evk: Add Raspberry Pi 7-inch DSI panel overlay Shashank Maurya
2026-09-07  6:47   ` sashiko-bot [this message]
2026-09-09 14:50   ` Konrad Dybcio
2026-09-09 14:51   ` Konrad Dybcio
2026-09-07  6:33 ` [PATCH v2 2/2] arm64: dts: qcom: lemans-evk: " Shashank Maurya
2026-09-07  6:44   ` sashiko-bot
2026-09-10 19:35 ` [PATCH v2 0/2] arm64: dts: qcom: Add RPi 7-inch DSI panel overlays for Monaco/Lemans EVK Bjorn Andersson

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=20260907064745.45B381F00A3D@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=shashank.maurya@oss.qualcomm.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