From nobody Sun Feb 8 22:08:37 2026 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 059E92FFF8F; Mon, 19 Jan 2026 10:34:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768818863; cv=none; b=jG9jdWGL5AoFG9PpdUs0xWeDPsGkyidz8agxHA5XE3y6Ewa0n0GZzqNgPcim4kG+5PfuTCV4Z/LXW+vK2EFjSvSvmbH8JuZ/FdWBRFwke5PvMfPMUkZN5488HMqr3NFPXwZlJDk/i1g7Kbe0gFOOB7dTFWK1s7VcWHC4W/Y6vCI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768818863; c=relaxed/simple; bh=fj232GmAoHu7V5lmyciqNRwAZDZPTG+mhI5rguahGEo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=EvPQ5+/FpRVM35FFxkFEk1JbzeMhpG8+Z4+wEuc7bxMjLUnTZq89LUID9aCXsoqASv3wfhaIPovhTxsXb66gLbCD5aqv/aAYly96YdMW2iW1UNJ/qsMQsvHWWnFPJGJYpQLdMWXgoAJpyOi+2YA7cHUOomf3Lvn5BXnbuRAaG8E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=QAgxHRju; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="QAgxHRju" Received: from francesco-nb.corp.toradex.com (248.201.173.83.static.wline.lns.sme.cust.swisscom.ch [83.173.201.248]) by mail11.truemail.it (Postfix) with ESMTPA id 973101FB96; Mon, 19 Jan 2026 11:34:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1768818859; bh=wHYYYEHkaavFzc9JB6CtumJUwbAhau1BEoORQW5BAZ0=; h=From:To:Subject; b=QAgxHRjuUsjwozQGL0H3ogk6wYVKNXePVQLKLYDqUnqi6ArDN1f2azQ/c8AgoLiF2 7OfASJKoFmIntgAiUPUO+uSGlTRaPUdz//OOY8TNjtWQVzzgmhXVcaoCbvNeHvC5/v MT320Wj+UDq2+arC+OxldskKwOtMMitL8b2yEQh6bxLaI/784h1RglievMVKg1mTSB Rz/4MyHTfrgEbjdfZ7sxTcVqEfTFZNBwmbGSVv46Dq/U9NYXoYgDWExJUoca55Q/xr MFwSGm+sHGiuuHW6gSnLq5hh+ZAaxlDmpq3e4bWsaK3gRufio1J6CBN4w3hE4NRXX1 +PHrEoHhq1fRw== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Francesco Dolcini , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] arm64: dts: imx8-apalis: Fix LEDs name collision Date: Mon, 19 Jan 2026 11:34:09 +0100 Message-ID: <20260119103411.50397-1-francesco@dolcini.it> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Dolcini Ixora boards have multiple instances of status leds, to avoid a name collision add the function-enumerator property. This fixes the following Linux kernel warnings: leds-gpio leds: Led green:status renamed to green:status_1 due to name co= llision leds-gpio leds: Led red:status renamed to red:status_1 due to name collis= ion Fixes: c083131c9021 ("arm64: dts: freescale: add apalis imx8 aka quadmax ca= rrier board support") Signed-off-by: Francesco Dolcini Reviewed-by: Daniel Baluta Reviewed-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi | 4 ++++ arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi b/ar= ch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi index 7022de46b8bf..abb131d247c3 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.1.dtsi @@ -21,6 +21,7 @@ led-1 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <1>; gpios =3D <&lsio_gpio5 27 GPIO_ACTIVE_HIGH>; }; =20 @@ -29,6 +30,7 @@ led-2 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <1>; gpios =3D <&lsio_gpio5 29 GPIO_ACTIVE_HIGH>; }; =20 @@ -37,6 +39,7 @@ led-3 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <2>; gpios =3D <&lsio_gpio5 20 GPIO_ACTIVE_HIGH>; }; =20 @@ -45,6 +48,7 @@ led-4 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <2>; gpios =3D <&lsio_gpio5 21 GPIO_ACTIVE_HIGH>; }; }; diff --git a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi b/ar= ch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi index 12732ed7f811..a0b452b92b3e 100644 --- a/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-apalis-ixora-v1.2.dtsi @@ -21,6 +21,7 @@ led-1 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <1>; gpios =3D <&lsio_gpio5 27 GPIO_ACTIVE_HIGH>; }; =20 @@ -29,6 +30,7 @@ led-2 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <1>; gpios =3D <&lsio_gpio5 29 GPIO_ACTIVE_HIGH>; }; =20 @@ -37,6 +39,7 @@ led-3 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <2>; gpios =3D <&lsio_gpio5 20 GPIO_ACTIVE_HIGH>; }; =20 @@ -45,6 +48,7 @@ led-4 { color =3D ; default-state =3D "off"; function =3D LED_FUNCTION_STATUS; + function-enumerator =3D <2>; gpios =3D <&lsio_gpio5 21 GPIO_ACTIVE_HIGH>; }; }; --=20 2.47.3