All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Adam Skladowski" <a39.skl@gmail.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 3/7] arm64: dts: qcom: Add Motorola One
Date: Thu, 20 Aug 2026 09:56:09 +0000	[thread overview]
Message-ID: <20260820095609.9CF7B1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260820-next-patches-v2-3-7130d68183d9@gmail.com>

Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] Touchscreen `reset-gpios` logic is inverted, which will hold the controller in reset during operation.
- [Medium] The touchscreen node is disabled, contradicting the commit message claim of supported functionality.
- [Low] The `usb-role-switch` property in the `fcs,fusb302` node is a DT schema violation and misdirected.
--

--- Patch [3]: [PATCH v2 3/7] arm64: dts: qcom: Add Motorola One ---
commit a01f938ee143a61f1aad41106fd89f197d7a249a
Author: Adam Skladowski <a39.skl@gmail.com>

arm64: dts: qcom: Add Motorola One

This commit adds a devicetree for the Motorola One smartphone based on the
Jacala/MSM8953 SoC. It introduces support for basic functionality including
I2C peripherals, physical buttons, regulators, remoteprocs, and USB.

> diff --git a/arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts b/arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts
> new file mode 100644
> index 0000000000000..acb0b61b8f947
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts

[ ... ]

> +&i2c_1 {
> +	status = "okay";
> +
> +	typec-portc@22 {
> +		compatible = "fcs,fusb302";
> +		reg = <0x22>;
> +		interrupts-extended = <&tlmm 9 IRQ_TYPE_LEVEL_LOW>;
> +
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&fusb302_int_default>;
> +
> +		usb-role-switch = <&usb3>;

[Severity: Low]
Does this property violate the fcs,fusb302 device tree schema? The binding
strictly disallows additional properties like usb-role-switch.

Also, should this point to the DWC3 core node (&usb3_dwc3) instead of the
wrapper node (&usb3) where the role switch is actually registered?

> +		vbus-supply = <&fusb302_vbus>;

[ ... ]

> +&i2c_3 {
> +	status = "okay";
> +
> +	touchscreen@62 {
> +		compatible = "novatek,nt36672a-ts";
> +		reg = <0x62>;
> +		interrupts-extended = <&tlmm 65 IRQ_TYPE_EDGE_RISING>;
> +
> +		reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;

[Severity: High]
Will this hold the touchscreen controller in reset during operation?

During driver probe, the reset GPIO is requested with GPIOD_OUT_LOW to bring
the controller out of reset. If the hardware reset line is active-low,
defining it as GPIO_ACTIVE_HIGH here will cause the driver to incorrectly
drive the pin physically low and hold the controller in reset.

> +		iovcc-supply = <&pm8953_l6>;
> +		/* vcc-supply should follow lab from panel */
> +
> +		pinctrl-0 = <&ts_reset_default &ts_int_default>;
> +		pinctrl-1 = <&ts_reset_sleep &ts_int_sleep>;
> +		pinctrl-names = "default", "sleep";
> +
> +		touchscreen-size-x = <720>;
> +		touchscreen-size-y = <1520>;
> +
> +		status = "disabled";

[Severity: Medium]
The commit message explicitly lists the touchscreen as supported functionality
in this initial submission, but it is disabled here.

Should the commit message be updated to reflect that it remains disabled
due to missing dependencies?

> +	};
> +};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260820-next-patches-v2-0-7130d68183d9@gmail.com?part=3

  reply	other threads:[~2026-08-20  9:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20  9:42 [PATCH v2 0/7] arm64: dts: qcom: Add 3 new devices Adam Skladowski
2026-08-20  9:42 ` [PATCH v2 1/7] dt-bindings: vendor-prefixes: Add LeEco Adam Skladowski
2026-08-20  9:42 ` [PATCH v2 2/7] dt-bindings: arm: qcom: Document Motorola Moto One Adam Skladowski
2026-08-20  9:42 ` [PATCH v2 3/7] arm64: dts: qcom: Add Motorola One Adam Skladowski
2026-08-20  9:56   ` sashiko-bot [this message]
2026-08-20 10:17   ` Konrad Dybcio
2026-08-20 15:24     ` Adam Skladowski
2026-08-20 15:56       ` Konrad Dybcio
2026-08-20  9:42 ` [PATCH v2 4/7] dt-bindings: arm: qcom: Document LeEco Le2 Adam Skladowski
2026-08-20  9:42 ` [PATCH v2 5/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-20  9:59   ` sashiko-bot
2026-08-20 10:14   ` Konrad Dybcio
2026-08-20  9:42 ` [PATCH v2 6/7] dt-bindings: arm: qcom: Document Xiaomi Redmi 9T Adam Skladowski
2026-08-20  9:42 ` [PATCH v2 7/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-20  9:53   ` sashiko-bot
2026-08-20 10:14   ` Konrad Dybcio

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=20260820095609.9CF7B1F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=a39.skl@gmail.com \
    --cc=conor+dt@kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.