All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: prashanth.baddam@oss.qualcomm.com
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2] arm64: dts: qcom: monza: add Automation HAT overlay
Date: Mon, 23 Nov 2026 05:25:42 +0000	[thread overview]
Message-ID: <sashiko-outbox-228717@kernel.org> (raw)
In-Reply-To: <20261123-automation-hat-v2-1-bdef1a18b858@qti.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] arm64: dts: qcom: decimal LED unit addresses in Monza Automation
  HAT dtso
- [Low] arm64: dts: qcom: unused gpio.h include and unsorted Makefile
  entry
--

commit 07a4903ac9dd988a99b288586f1d04540b8de474
Author: Prashanth Reddy Baddam <prashanth.baddam@oss.qualcomm.com>

arm64: dts: qcom: monza: add Automation HAT overlay

This commit adds a devicetree overlay for the Pimoroni Automation HAT on
the Monza 40-pin JHAT connector and registers the overlay build rule in
arch/arm64/boot/dts/qcom/Makefile.

> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
> index 19310879349d0..b60abdd392ea9 100644
> --- a/arch/arm64/boot/dts/qcom/Makefile
> +++ b/arch/arm64/boot/dts/qcom/Makefile
> @@ -96,6 +96,9 @@ dtb-$(CONFIG_ARCH_QCOM)	+= monaco-evk.dtb
>  monaco-evk-camera-imx577-dtbs	:= monaco-evk.dtb monaco-evk-camera-imx577.dtbo
>  dtb-$(CONFIG_ARCH_QCOM)	+= monaco-evk-camera-imx577.dtb
>  
> +monaco-arduino-monza-automation-hat-dtbs := monaco-arduino-monza.dtb monaco-arduino-monza-automation-hat.dtbo
> +dtb-$(CONFIG_ARCH_QCOM) += monaco-arduino-monza-automation-hat.dtb
> +
>  monaco-evk-el2-dtbs := monaco-evk.dtb monaco-el2.dtbo
>  
>  monaco-ac-evk-ifp-mezzanine-dtbs	:= monaco-ac-evk.dtb monaco-evk-ifp-mezzanine.dtbo
> diff --git a/arch/arm64/boot/dts/qcom/monaco-arduino-monza-automation-hat.dtso b/arch/arm64/boot/dts/qcom/monaco-arduino-monza-automation-hat.dtso
> new file mode 100644
> index 0000000000000..3c35b76f9c2f2
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/monaco-arduino-monza-automation-hat.dtso
> @@ -0,0 +1,62 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + *
> + * Device tree overlay for the Pimoroni Automation HAT connected to the
> + * Monza 40-pin JHAT connector.
> + */
> +
> +/dts-v1/;
> +/plugin/;
> +
> +#include <dt-bindings/gpio/gpio.h>

[Severity: Low]
This isn't a bug, but dt-bindings/gpio/gpio.h is not used in this overlay,
and the monaco-arduino-monza-automation-hat rules in the Makefile are
placed in the middle of the monaco-evk targets rather than in alphabetical
order alongside monaco-arduino-monza.dtb.

[ ... ]

> +	automation_hat_leds: led-controller@54 {
> +		compatible = "si-en,sn3218";
> +		reg = <0x54>;
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		led@16 {
> +			reg = <16>;
> +			label = "automation-hat:red:warn";
> +		};
> +
> +		led@17 {
> +			reg = <17>;
> +			label = "automation-hat:green:comms";
> +		};
> +
> +		led@18 {
> +			reg = <18>;
> +			label = "automation-hat:blue:power";
> +		};
> +	};
> +};

[Severity: Low]
Should these LED child nodes be named led@10, led@11, and led@12?

Devicetree unit addresses use lowercase hexadecimal to match the node's reg
property, so decimal reg values <16>, <17>, and <18> correspond to unit
addresses @10, @11, and @12 (just as monaco-arduino-monza.dts uses led@a
and led@b for reg = <10> and <11>).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-automation-hat-v2-1-bdef1a18b858@qti.qualcomm.com?part=1

      reply	other threads:[~2026-11-23  5:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23  5:16 [PATCH v2] arm64: dts: qcom: monza: add Automation HAT overlay prashanth.baddam
2026-11-23  5:25 ` 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=sashiko-outbox-228717@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=prashanth.baddam@oss.qualcomm.com \
    --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.