From nobody Fri Jun 12 20:21:54 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E2F213955D0; Tue, 12 May 2026 17:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778608101; cv=none; b=DPJbhLAEUOn1KsLN8GvD6KBOCqCzWe6cAumAYVTwerGlts75nSP9zoPrQjeu4XAPTobAc8Y4nDFvZDqyuG8XPC68jTaHF76J2pHWqpHV3dmrEW+A4+FN+pJfMwQyucv2+jQk0U7EaLqVbqzGq2RQu0cob4lCzz9vtcUHDiZ/8FA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778608101; c=relaxed/simple; bh=yzhiuLK/wwcykh5U1JFLwd/q+FY8atYPjgq9u4+qZks=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QFS+B1yApVY8PotChU97xcVxv1wrISypexRqZZmqCIXkSLousOO7uBWM7FJxdubarIg5excpQHokUdAz6XW3lgZJmV7qoC6Ycy1JSLAeTTJckOM9t1Ar8DrzeqXgUJFaVBHnzzLa3yl4OEcPZ4wLgJ1PdC0BLjIiblmU2JgcpcE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=h2p3tdPP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="h2p3tdPP" Received: by smtp.kernel.org (Postfix) with ESMTPS id B9E5DC2BCF6; Tue, 12 May 2026 17:48:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778608100; bh=yzhiuLK/wwcykh5U1JFLwd/q+FY8atYPjgq9u4+qZks=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=h2p3tdPPiBxd4jfwp5pf4CGb4gm4BX3HMBXI8IgvRMjKnd5n3CWSKkfgYerEHo+AR 1zu/4AX2GawWwKLB2frIT8Bjh/WITgHmJPZrlBKMOO+3/lsiWDXtxty0kv5f3CRs5U ooEt0/Chv1XCg0GEPkCKqT1WR1No4h4riMKppKQ0WM/OarMyjTU0dOE4hR9ddN3Nov X8Bmt0xLp0ZCauGOvyVWr3rVrK6XSq4V5yAf/6yfnd9DvFGEhWI6NgnRw+QeglxB2Q MUW/qjvFlQqeFy7DRk+w9zefKoJXU4HUbStxH4gKuAYJnkdmItxTwJOLqxvL7YVahl f8z3V2WpBUrMA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A905FCD4F25; Tue, 12 May 2026 17:48:20 +0000 (UTC) From: Ronald Claveau via B4 Relay Date: Tue, 12 May 2026 19:47:28 +0200 Subject: [PATCH 1/2] arm64: dts: amlogic: t7: Fix pwm_ao_c pinmux definitions 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: <20260512-add-kvim4-sysled-v1-1-7178719a43e7@aliel.fr> References: <20260512-add-kvim4-sysled-v1-0-7178719a43e7@aliel.fr> In-Reply-To: <20260512-add-kvim4-sysled-v1-0-7178719a43e7@aliel.fr> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1390; i=linux-kernel-dev@aliel.fr; h=from:subject:message-id; bh=Vceb+Rx57Kg52Yl+xM01/jcuRqzhC1zMhtRZU3GpSrg=; b=owGbwMvMwCWm1SvKXP3cUInxtFoSQxZz+oM9/rIHYgxu7G+yVuoqFlDmfPno/EeN/ov7/ot59 X/6zzS1o5SFQYyLQVZMkaV/ruWJd5ePnvm6Rz0FZg4rE8gQBi5OAZiI+GlGhqkicoyPj61ZFWio +TQ+5qTCFd8COxf/nVLZbzKumZ1kmM7I8O9/UkNpaTBvvkTtJdavt1YmiUhsdvzZWKyxViLuqoU GJwA= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openpgp; fpr=DFD863F61375BF917F0012173953305EF1D0EC3E X-Endpoint-Received: by B4 Relay for linux-kernel-dev@aliel.fr/default with auth_id=744 X-Original-From: Ronald Claveau Reply-To: linux-kernel-dev@aliel.fr From: Ronald Claveau The pwm_ao_c pin node was incomplete: it was missing the group name suffix, conflating two distinct pin groups (pwm_ao_c_d and pwm_ao_c_e) into a single, ambiguous entry. Split the node into two separate pinmux entries: - pwm_ao_c_d_pins: uses group "pwm_ao_c_d" - pwm_ao_c_e_pins: uses group "pwm_ao_c_e" Both alternate pins are not yet referenced by any peripheral node, so this has no functional impact on existing boards. No backport needed. Fixes: ee6e05a49b93 ("arm64: dts: amlogic: t7: Add PWM pinctrl nodes") Signed-off-by: Ronald Claveau Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi b/arch/arm64/boot/= dts/amlogic/amlogic-t7.dtsi index 7fe72c94ed623..62f6b9baad28b 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi @@ -400,9 +400,17 @@ mux { }; }; =20 - pwm_ao_c_pins: pwm-ao-c { + pwm_ao_c_d_pins: pwm-ao-c-d { mux { - groups =3D "pwm_ao_c"; + groups =3D "pwm_ao_c_d"; + function =3D "pwm_ao_c"; + bias-disable; + }; + }; + + pwm_ao_c_e_pins: pwm-ao-c-e { + mux { + groups =3D "pwm_ao_c_e"; function =3D "pwm_ao_c"; bias-disable; }; --=20 2.49.0 From nobody Fri Jun 12 20:21:54 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E6BAE3BB11B; Tue, 12 May 2026 17:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778608101; cv=none; b=hIRA5yKn6vwaEoZE7t4ac6PNEkemg9hiZaq/0ktNlkCoIgT6vLdqLzgCZHJ7sUXY3F+JYpkMleMNbScuneEqTWbWqJGcLtUAs/6oeE3aTrU//TnZmBL8CJOa8vz5zBahaUAOWoy4o6Vjqa35SsRcoRyBg4MCobH/OD+8sdp+Jxc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778608101; c=relaxed/simple; bh=fcW13kjSD93mQbIhQzCZ6BHO6+uiUNMkiFo3/S9zFOI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nJ9Zy5JATiRtBcgTfoKuvOwOn1/00HXbue2bOqbMToNrt7ZYo1hrgdzkRpgBfUEotlVbz62xu1a071Har1hO6p0MB6EYmKx2KHXVCb4Uy/oZlbv9LFNtMhsvQZi6tP9O8Vbg2fFhCE2ZEkGbJzlgZZH1Hi+yUXlT+lOQBr2K0og= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jvQNT6kO; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jvQNT6kO" Received: by smtp.kernel.org (Postfix) with ESMTPS id C83E3C2BCFA; Tue, 12 May 2026 17:48:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778608100; bh=fcW13kjSD93mQbIhQzCZ6BHO6+uiUNMkiFo3/S9zFOI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=jvQNT6kOjZDRDJgCV6PO9c//cQO9AL1lHVvtGDkV813udL+7TtbTsoNnCTKXPuD64 1/QeVBEMwll15/TS+agJkqctRn0+iWcBB873BfnLsObv6NoI++QZ4J5oyBD+g08tvM oDQUrOB39ZBO4d1SVA8lIDNO6Yd7BK8k5hJVOAVJ8i32b+7M5TLx37muNx8Rex1YG2 KDF8vRaVP1OY8l1jnD4eNGl3UcKCGEz6lOvqE0U+p35VnQEqK3Hhay0V3DpNpsNrG9 VMC9zVo8yLJYH3EoWNtF7qnV6fIV6Mq5FLgEu6I9coB4pXe3B5LrpEcJUJTB105VoI Oam6nTFxDaGMA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB9E1CD4F24; Tue, 12 May 2026 17:48:20 +0000 (UTC) From: Ronald Claveau via B4 Relay Date: Tue, 12 May 2026 19:47:29 +0200 Subject: [PATCH 2/2] arm64: dts: amlogic: t7: khadas-vim4: add PWM-driven status LED 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: <20260512-add-kvim4-sysled-v1-2-7178719a43e7@aliel.fr> References: <20260512-add-kvim4-sysled-v1-0-7178719a43e7@aliel.fr> In-Reply-To: <20260512-add-kvim4-sysled-v1-0-7178719a43e7@aliel.fr> To: Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ronald Claveau X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1966; i=linux-kernel-dev@aliel.fr; h=from:subject:message-id; bh=ljQWRXfzQQh8+VfKgDXENiNlXKLzV1x0O1tJjws741c=; b=owGbwMvMwCWm1SvKXP3cUInxtFoSQxZz+iOTDNUAxlZuft2cj74q23NnBk7RKjZxtJpo1iuW5 vWhqr+jlIVBjItBVkyRpX+u5Yl3l4+e+bpHPQVmDisTyBAGLk4BmIjOf4Z/RlOWnGoRnP0j7dAi 190me1fo61VWLg7R+zvjztvgysq8LkaGaXu+2JwO5FQ6nr7i+4N6I9G19zji5roJWQsZqE8KuXC SGQA= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openpgp; fpr=DFD863F61375BF917F0012173953305EF1D0EC3E X-Endpoint-Received: by B4 Relay for linux-kernel-dev@aliel.fr/default with auth_id=744 X-Original-From: Ronald Claveau Reply-To: linux-kernel-dev@aliel.fr From: Ronald Claveau The VIM4 board exposes a status LED wired to the PWM_AO_C_D output. Enable the pwm_ao_cd controller with its pinmux, and declare a pwm-leds node with a heartbeat trigger. Also, move the xtal-clk node to restore alphabetical ordering. Signed-off-by: Ronald Claveau --- .../dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts | 30 +++++++++++++++++-= ---- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts = b/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts index 69d6118ba57e7..c41525a34b721 100644 --- a/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts +++ b/arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts @@ -45,13 +45,6 @@ secmon_reserved_bl32: secmon@5300000 { }; }; =20 - xtal: xtal-clk { - compatible =3D "fixed-clock"; - clock-frequency =3D <24000000>; - clock-output-names =3D "xtal"; - #clock-cells =3D <0>; - }; - dc_in: regulator-dc-in { compatible =3D "regulator-fixed"; regulator-name =3D "DC_IN"; @@ -60,6 +53,16 @@ dc_in: regulator-dc-in { regulator-always-on; }; =20 + pwm-leds { + compatible =3D "pwm-leds"; + + status { + linux,default-trigger=3D"heartbeat"; + max-brightness =3D <255>; + pwms =3D <&pwm_ao_cd 0 30040 0>; + }; + }; + sd_3v3: regulator-sdcard-3v3 { compatible =3D "regulator-fixed"; regulator-name =3D "SD_3V3"; @@ -155,6 +158,13 @@ wifi32k: wifi32k { clock-frequency =3D <32768>; pwms =3D <&pwm_ab 0 30518 0>; }; + + xtal: xtal-clk { + compatible =3D "fixed-clock"; + clock-frequency =3D <24000000>; + clock-output-names =3D "xtal"; + #clock-cells =3D <0>; + }; }; =20 &pwm_ab { @@ -163,6 +173,12 @@ &pwm_ab { pinctrl-names =3D "default"; }; =20 +&pwm_ao_cd { + status =3D "okay"; + pinctrl-0 =3D <&pwm_ao_c_d_pins>; + pinctrl-names =3D "default"; +}; + /* SDIO */ &sd_emmc_a { status =3D "okay"; --=20 2.49.0