From nobody Wed Sep 10 11:03:50 2025 Received: from bali.collaboradmins.com (bali.collaboradmins.com [148.251.105.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE8B53451C4; Fri, 5 Sep 2025 11:52:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.251.105.195 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757073130; cv=none; b=pyaqCYN2Sd4sVijMRk1Jvt5DJH5l83hG8WUrDYkHCtyfK5fRsv4jDK4crVq60ykmFymLmVLuqL++u5hzSsVyfdg2HLWGJ7YCVceySOZHYoun2PQz4NpN9o+XDsTdAA8ijZqNRmJnRD1OgTQzD8numOMzlhTRHsj5g3NFg0uYZ84= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757073130; c=relaxed/simple; bh=zIcPzz4+ZUV4cxLri5m6RzjiaeHPYd2Q0gnoN2653mA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gsP4VTesYygaNog9KTEH8RenFsDnZGXgiBIDAcdQgv7iIPy+rZ6wv3V72cI1oQ7an9tmmmmPdCCvD8k75EgMFLIC152AJhpr7b19PY+m5i3Slps7KB3uGtAJKyGRp6jJHqU5VyF8XwlpxdSZc3T4dqo5kxnVT7l03LzWNr5+5no= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=n/5wTmOJ; arc=none smtp.client-ip=148.251.105.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="n/5wTmOJ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1757073127; bh=zIcPzz4+ZUV4cxLri5m6RzjiaeHPYd2Q0gnoN2653mA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=n/5wTmOJizcJeU4glq9D89n5nNLNFkbZpRFaDOEH34cQ50NB3U7c1CU0/O7JwaNTA 3Tt+eCqbDpu5MR4mScsm9u8LtOv5L/G/8INm66hPFwxrp18SuBwA+BdeNhx2bIKJRo VV1EIuzzgtiQ6xmiHuutnDmFJ1TcHf7G1N9MBe+E0+qfRTB9tMNRo8uXIez0Mg0Slz 0SUKxGqewoDknKev/GpFeDBSW2fsPpKhadKKBn0YIO/wRqhkc78QPzA9jiGd0ue0T9 LGgxDyuSfyMbaHCd/k0Amvp0oE8PtmATzKMD7Wfm26Vjr5AyJNV/2Y+1Q4fwTvcWrx J1JXqIApbA5VQ== Received: from localhost-live.home (2a01cb0892F2D600c8F85cf092D4Af51.ipv6.abo.wanadoo.fr [IPv6:2a01:cb08:92f2:d600:c8f8:5cf0:92d4:af51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: jmassot) by bali.collaboradmins.com (Postfix) with ESMTPSA id 8FE6017E12BA; Fri, 5 Sep 2025 13:52:06 +0200 (CEST) From: Julien Massot Date: Fri, 05 Sep 2025 13:52:00 +0200 Subject: [PATCH v3 3/3] arm64: dts: mediatek: mt8395-nio-12l: add support for blue and red LEDs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250905-radxa-nio-12-l-gpio-v3-3-40f11377fb55@collabora.com> References: <20250905-radxa-nio-12-l-gpio-v3-0-40f11377fb55@collabora.com> In-Reply-To: <20250905-radxa-nio-12-l-gpio-v3-0-40f11377fb55@collabora.com> To: kernel@collabora.com, Dmitry Torokhov , Matthias Brugger , AngeloGioacchino Del Regno , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Louis-Alexis Eyraud Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Julien Massot X-Mailer: b4 0.14.2 The Radxa NIO 12L board has an RGB LED, of which only red and blue are controllable. Red and blue LEDs: no need to choose, both are enabled. Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Julien Massot --- .../boot/dts/mediatek/mt8395-radxa-nio-12l.dts | 29 ++++++++++++++++++= ++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts b/arch/a= rm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts index fd596e2298285361ad7c2fb828feec598d75a73e..0ea36e7c960fc0b2607833d743c= 5e2e806864600 100644 --- a/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts +++ b/arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include @@ -73,6 +74,26 @@ button-volume-up { }; }; =20 + gpio-leds { + compatible =3D "gpio-leds"; + pinctrl-0 =3D <&gpio_leds_pins>; + pinctrl-names =3D "default"; + + /* + * This board has a RGB LED, of which only R and B + * are controllable. + */ + rgb-blue { + color =3D ; + gpios =3D <&pio 6 GPIO_ACTIVE_HIGH>; + }; + + led-1 { + color =3D ; + gpios =3D <&pio 7 GPIO_ACTIVE_HIGH>; + }; + }; + wifi_vreg: regulator-wifi-3v3-en { compatible =3D "regulator-fixed"; regulator-name =3D "wifi_3v3_en"; @@ -647,6 +668,14 @@ pins { }; }; =20 + gpio_leds_pins: gpio-leds-pins { + pins { + pinmux =3D , + ; + output-low; + }; + }; + i2c2_pins: i2c2-pins { pins-bus { pinmux =3D , --=20 2.51.0