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, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 3/7] arm64: dts: qcom: Add Motorola One
Date: Fri, 21 Aug 2026 12:37:24 +0000	[thread overview]
Message-ID: <20260821123724.ADE361F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260821-next-patches-v4-3-7ab02c0d4eb9@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] The `dai@22` and `dai@127` node names use decimal unit-addresses instead of hexadecimal, causing a mismatch with their `reg` properties.
--

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

arm64: dts: qcom: Add Motorola One

Add a devicetree for the Motorola One smartphone, which is based
on the Jacala/MSM8953 SoC. Supported functionality includes I2C
peripherals, keys, 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..4bc407e23580b
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts
[ ... ]
> +&q6afedai {
> +	dai@22 {
> +		reg = <QUATERNARY_MI2S_RX>;
> +		qcom,sd-lines = <0>;
> +	};
> +
> +	dai@127 {
> +		reg = <QUINARY_MI2S_RX>;
> +		qcom,sd-lines = <1>;
> +	};
> +};

[Severity: Low]
Should these node names use hexadecimal unit-addresses (dai@16 and dai@7f)
to match the evaluated values of their reg properties?

The macros QUATERNARY_MI2S_RX and QUINARY_MI2S_RX evaluate to 22 (0x16) and
127 (0x7F) respectively. The Device Tree specification requires the
unit-address in a node name to match the first address specified in its reg
property formatted in hexadecimal. Using decimal values here will likely cause
the dtc compiler to emit simple_bus_reg warnings during the build.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260821-next-patches-v4-0-7ab02c0d4eb9@gmail.com?part=3

  reply	other threads:[~2026-08-21 12:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21 12:18 [PATCH v4 0/7] arm64: dts: qcom: Add 3 new devices Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 1/7] dt-bindings: vendor-prefixes: Add LeEco Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 2/7] dt-bindings: arm: qcom: Document Motorola Moto One Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 3/7] arm64: dts: qcom: Add Motorola One Adam Skladowski
2026-08-21 12:37   ` sashiko-bot [this message]
2026-08-21 12:19 ` [PATCH v4 4/7] dt-bindings: arm: qcom: Document LeEco Le2 Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 5/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-21 12:36   ` sashiko-bot
2026-08-21 12:19 ` [PATCH v4 6/7] dt-bindings: arm: qcom: Document Xiaomi Redmi 9T Adam Skladowski
2026-08-21 12:19 ` [PATCH v4 7/7] arm64: dts: qcom: Add " Adam Skladowski
2026-08-21 12:32   ` sashiko-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=20260821123724.ADE361F00A3A@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.