Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Erikas Bitovtas" <xerikasxx@gmail.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 3/3] arm64: dts: qcom: sm7125-samsung: add initial device tree
Date: Fri, 03 Jul 2026 08:11:47 +0000	[thread overview]
Message-ID: <20260703081147.E97981F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260703-sm7125-samsung-v1-3-3e5f752048c1@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The `vibrator` node specifies `pinctrl-names = "default";` but lacks the required `pinctrl-0` property to define the pin configuration for the GPIO.
- [Low] The GPIO key node `vol-up` violates the `gpio-keys.yaml` binding schema naming convention.
--

commit 4c3f46af7d91551d5cb47755e411d4869514c5fb
Author: Erikas Bitovtas <xerikasxx@gmail.com>

arm64: dts: qcom: sm7125-samsung: add initial device tree
    
This commit adds the initial device tree for the Samsung Galaxy A52 and A72
devices on the SM7125 platform. It introduces support for basic peripherals
including the framebuffer, GPIO keys, sensors, and regulators.

> diff --git a/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi b/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi
> new file mode 100644
> index 0000000000000..836dc9b8b1a56
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi

[ ... ]

> +	gpio-keys {
> +		compatible = "gpio-keys";
> +
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&key_vol_up_default>, <&hall_sensor_default>;
> +
> +		vol-up {

[Severity: Low]
Does this node name violate the gpio-keys.yaml schema?

It looks like dtbs_check expects names following the pattern button-*,
event-*, key-*, or switch-*. Could this be named "key-vol-up" or
"button-vol-up" to avoid validation warnings?

> +			label = "Volume up";
> +			gpios = <&pm6150l_gpios 8 GPIO_ACTIVE_LOW>;
> +			linux,code = <KEY_VOLUMEUP>;
> +			debounce-interval = <15>;
> +		};

[ ... ]

> +	vibrator {
> +		compatible = "gpio-vibrator";
> +		enable-gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
> +		pinctrl-names = "default";

[Severity: Low]
Is there a missing pinctrl-0 property here? 

The pinctrl-names property is defined as "default", but without a
corresponding pinctrl-0, this will trigger a dtbs_check warning and leave
the pin configuration to hardware defaults.

> +	};
> +};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260703-sm7125-samsung-v1-0-3e5f752048c1@gmail.com?part=3

  reply	other threads:[~2026-07-03  8:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-03  7:59 [PATCH 0/3] arm64: dts: qcom: sm7125-samsung: add initial device tree for SM7125 Samsung platform Erikas Bitovtas
2026-07-03  7:59 ` [PATCH 1/3] dt-bindings: arm: qcom: Document Samsung Galaxy A52/A72 Erikas Bitovtas
2026-07-03  8:23   ` Bartosz Golaszewski
2026-07-03  7:59 ` [PATCH 2/3] firmware: qcom: tzmem: disable SHM bridge for SM7125 platform Erikas Bitovtas
2026-07-03  8:22   ` Bartosz Golaszewski
2026-07-03 23:23   ` Dmitry Baryshkov
2026-07-03  7:59 ` [PATCH 3/3] arm64: dts: qcom: sm7125-samsung: add initial device tree Erikas Bitovtas
2026-07-03  8:11   ` sashiko-bot [this message]
2026-07-03 13:31   ` Konrad Dybcio
2026-07-03 17:36     ` Erikas Bitovtas
2026-07-04  8:55     ` Erikas Bitovtas
2026-07-04  8:58     ` Erikas Bitovtas
2026-07-04 14:05   ` David Heidelberg

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=20260703081147.E97981F00A3A@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=xerikasxx@gmail.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