From: sashiko-bot@kernel.org
To: "Josua Mayer" <josua@solid-run.com>
Cc: imx@lists.linux.dev, devicetree@vger.kernel.org, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH v5 10/10] arm64: dts: Add support for LX2160 Twins board in single configuration
Date: Mon, 11 May 2026 22:29:33 +0000 [thread overview]
Message-ID: <20260511222934.91EA4C2BCB0@smtp.kernel.org> (raw)
In-Reply-To: <20260510-lx2160-pci-v5-10-540b83852227@solid-run.com>
Thank you for your contribution! Sashiko AI review found 5 potential issue(s) to consider:
- [High] Undocumented and unrelated SoC revision change for the Clearfog CX board.
- [High] The PCI-E OCP card connector is not enabled in the device tree.
- [Low] Duplicate `function-enumerator` value in the SFP LED definitions.
- [Low] The `dpmac` nodes referenced as LED `trigger-sources` lack the mandatory `#trigger-source-cells` property.
- [Low] The `gpio-mux` configured for PWM fan monitoring has no label and no consumer node.
--
commit e131b341e534ec21c95289bd4bedcef8bb6fcf54
Author: Josua Mayer <josua@solid-run.com>
arm64: dts: Add support for LX2160 Twins board in single configuration
This commit adds support for the SolidRun LX2160A Twins board in its
single CPU configuration. The board features several connectors including
SFP, PCIe OCP, USB-3.0, and microSD.
> - PCI-E OCP card connector
The commit message explicitly lists the PCI-E OCP card connector as a
supported feature. However, looking at the device tree, are there any PCIe
host controller nodes enabled?
All PCIe host controller nodes default to disabled in the base SoC device
trees, and this device tree doesn't seem to override their status to "okay".
> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts
> index 802d7611c6479..6078ce47fabf1 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-clearfog-cx.dts
> @@ -6,7 +6,7 @@
>
> /dts-v1/;
>
> -#include "fsl-lx2160a.dtsi"
> +#include "fsl-lx2160a-rev2.dtsi"
Does this commit intend to change the SoC revision for the Clearfog CX board?
This hardware definition change is not documented in the commit message.
> diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-half-twins.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-half-twins.dts
> new file mode 100644
> index 0000000000000..434b3f4873008
> --- /dev/null
> +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-half-twins.dts
[ ... ]
> + leds {
> + compatible = "gpio-leds";
[ ... ]
> + led_ht_c3_bb: led-sfp-2 {
> + color = <LED_COLOR_ID_GREEN>;
> + default-state = "off";
> + function = LED_FUNCTION_LAN;
> + function-enumerator = <2>;
> + gpios = <&expander3 13 GPIO_ACTIVE_LOW>;
> + trigger-sources = <&dpmac15>;
> + linux,default-trigger = "netdev";
> + };
> +
> + led_ht_c3_at: led-sfp-3 {
> + color = <LED_COLOR_ID_GREEN>;
> + default-state = "off";
> + function = LED_FUNCTION_LAN;
> + function-enumerator = <2>;
Does this node have a duplicate function-enumerator?
It shares the same value as the preceding led_ht_c3_bb (led-sfp-2) node.
> + gpios = <&expander3 11 GPIO_ACTIVE_LOW>;
> + trigger-sources = <&dpmac6>;
Do the referenced dpmac nodes lack the #trigger-source-cells property?
According to the standard LED trigger-source binding, any provider node must
define this property. The base dpmac nodes in fsl-lx2160a.dtsi do not appear
to define it.
[ ... ]
> + mux-controller {
> + compatible = "gpio-mux";
> + #mux-control-cells = <0>;
> + /*
> + * This gpio controlled mux can route the tacho signals of 6 PWM FAN connectors
> + * to the tacho inputs of both CEX-7 modules (twins).
> + *
> + * The first twin controls this mux and monitors four fan connectors, two intended
> + * for itself, and two for the OCP card.
> + *
> + * The second twin monitors only two fan connectors intended for itself.
> + *
> + * The table below maps selector GPIO states to monitored fan connector per twin:
> + *
> + * | SEL1 | SEL0 | Twin 1 | Twin 2 |
> + * | ---: | ---: | :------| ------ |
> + * | 0 | 0 | J10 | J5024 |
> + * | 0 | 1 | J5016 | J5024 |
> + * | 1 | 0 | J5026 | J5025 |
> + * | 1 | 1 | J5013 | J5025 |
> + */
> + mux-gpios = <&expander0 8 GPIO_ACTIVE_HIGH>, /* SEL0 */
> + <&expander0 15 GPIO_ACTIVE_HIGH>; /* SEL1 */
> + };
Is this mux-controller missing a label and a consumer node?
There are no hwmon, fan, or other consumer nodes defined that reference it.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260510-lx2160-pci-v5-0-540b83852227@solid-run.com?part=10
next prev parent reply other threads:[~2026-05-11 22:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-10 15:12 [PATCH v5 00/10] arm64: dts: lx2160a: cleanups, add new board, large pci bars Josua Mayer
2026-05-10 15:12 ` [PATCH v5 01/10] arm64: dts: lx2160a: extend 32-bit, and add 64-bit pci regions Josua Mayer
2026-05-11 21:20 ` sashiko-bot
2026-05-12 14:21 ` Josua Mayer
2026-05-10 15:12 ` [PATCH v5 02/10] arm64: dts: lx2162a-clearfog: use rev2 SoC dtsi Josua Mayer
2026-05-10 15:12 ` [PATCH v5 03/10] arm64: dts: lx2162a-clearfog: cleanup superfluous status properties Josua Mayer
2026-05-10 15:12 ` [PATCH v5 04/10] arm64: dts: lx2162a-clearfog: specify sfp ports led colour and function Josua Mayer
2026-05-10 15:12 ` [PATCH v5 05/10] dt-bindings: arm: fsl: Add solidrun lx2160a twins board Josua Mayer
2026-05-10 15:12 ` [PATCH v5 06/10] arm64: dts: lx2160a-clearfog-itx: remove redundant dts version tag Josua Mayer
2026-05-10 15:12 ` [PATCH v5 07/10] arm64: dts: lx2160a-clearfog-itx: move shared includes to dts Josua Mayer
2026-05-10 15:12 ` [PATCH v5 08/10] arm64: dts: lx2160a: add labels to thermal trip-point nodes Josua Mayer
2026-05-10 15:12 ` [PATCH v5 09/10] arm64: dts: lx2160a-cex7: add labels to i2c buses behind mux Josua Mayer
2026-05-10 15:12 ` [PATCH v5 10/10] arm64: dts: Add support for LX2160 Twins board in single configuration Josua Mayer
2026-05-10 15:23 ` Josua Mayer
2026-05-11 22:29 ` sashiko-bot [this message]
2026-05-12 13:39 ` Josua Mayer
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=20260511222934.91EA4C2BCB0@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=josua@solid-run.com \
--cc=krzk+dt@kernel.org \
--cc=robh@kernel.org \
--cc=sashiko@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox