From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4B588F588CF for ; Mon, 20 Apr 2026 13:54:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HHnfVSivmOjDRLNdrgcSo96Vj5bTjsZymFdHhfjfZv4=; b=NCtJ0rsT43pttV vswkCA38LeN4QGXFZrlfmNXndEyvUjjWK/Lqdl6guSk3vA7Ok+xyAMnX4T2am8Fly7dYR/W1Z/aKZ YE7XqIQyEOo7FYi6nQ8zpctM2xU6QXOgaJrV0fTQcH2uv69FqGZosnA2rDZ6gMa+Pa9+CvW6z6wV8 lAKpP/2Ur05RABqL8BURcXqirMxQVMJS1xm7cRBfjR1ItoCxXJ4XaJ15OR7QExiYC8+7FLLBpEShe Dy2GFdCFWa+3a10RDDCcAYqBPbvfQcnd3n4N5MaBdLyzOVa8bzRqRCSlczeR5Sn5nbbcfpe3LQzly iNmJNlPeuTy8CrYLM1wQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEp5A-000000076rO-2R5H; Mon, 20 Apr 2026 13:54:36 +0000 Received: from courrier.aliel.fr ([65.21.61.41]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEp53-000000076hO-0yO7; Mon, 20 Apr 2026 13:54:32 +0000 From: Ronald Claveau DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aliel.fr; s=courrier-s1; t=1776693262; bh=GpJDejnLgsPxpQZNMwUXvOhBaycbEZ7B9+TXhucbK9o=; h=From:Subject:Date:To:Cc; b=VSSe+5dOUrbfk51ehhagomQSqf9bJ8fNp4iro368w84CY1M/GO+ucj/TUimZvJUEZ 3XzyLH9Z0IWeZQG5bZvc5dSs4+ZG8yupTzc2dLMh8tOz4lNp6L9lplpCYe94kO/O1N 8zDEyZfh3IyLoJnReNSTcYG8feqjriddpUIgUqxo= Subject: [PATCH v4 0/4] arm64: dts: amlogic: t7: Add UART support and enable Bluetooth on VIM4 Date: Mon, 20 Apr 2026 15:54:01 +0200 Message-Id: <20260420-add-bluetooth-t7-vim4-v4-0-9505df0e7016@aliel.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/3XOTW6DMBAF4Ksgr+tq/EvJqveIsjD2UCwBTm3HS hVx97okC1SJ5ZvR+2YeJGH0mMipeZCIxScflhrkW0PsaJYvpN7VTDhwDZJJapyj/XTDHEIeaW5 p8bOkAzAEYSVabkjtXiMO/r6558szR/y+VT4/h6Q3CakN8+zzqVnwnunrhCB/hdGnHOLP9ldhW +O1VwcvFEaBQm+gldpa5vSnmTxO70PcwML3iD5CeEU6o1roPgYHSv1DxA7hcISIimjdWceVAIN 7ZF3XX/2BfV50AQAA X-Change-ID: 20260414-add-bluetooth-t7-vim4-f01e03c4ec2a 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=openssh-sha256; t=1776693260; l=2485; i=linux-kernel-dev@aliel.fr; s=id_ed25519; h=from:subject:message-id; bh=GpJDejnLgsPxpQZNMwUXvOhBaycbEZ7B9+TXhucbK9o=; b=U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgMGec55oxeeisqykQiUedekMYyOnR9 BG9E/7rDWyqdNoAAAAGcGF0YXR0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5AAAA QB/NtzyMK0L+V8iPNhG03tjHIFE4iTXyeftIz01ZgKE7P6btIJqoLgSplL9GQgScKHrQP6gQwiB 8Rm4kvY8WjQI= X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openssh; fpr=SHA256:kch4osYZ6A1BrPps5AUs6KnfdE2wm4ocMtyTc8TmZMs X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260420_065429_496193_85E1B6D9 X-CRM114-Status: UNSURE ( 7.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds all UART controllers for the Amlogic T7 SoC and enables the Bluetooth controller on the Khadas VIM4 board. The T7 SoC ships with six UART controllers (A through F), but only uart_a was previously described in the device tree. - Patch 1 adds the pinctrl group for UART C, which is needed to route its four signals (TX, RX, CTS, RTS) through the correct pads. - Patch 2 completes the uart_a node (peripheral clock) and repositions it to respect the ascending reg address order required by the DT specification. It then adds nodes for UART B through F, each with their respective peripheral clock. - Patch 3 removes redundant clocks and clock-names for UART A on Khadas VIM4 DT. It then uses those defined from DTSI. - Patch 4 enables UART C on the Khadas VIM4 board and attaches the on-board BCM43438 Bluetooth controller to it, with hardware flow control, wakeup GPIOs, LPO clock and power supplies. Signed-off-by: Ronald Claveau --- Changes in v4: - Add missing trailers from v2. - Link to v3: https://lore.kernel.org/r/20260420-add-bluetooth-t7-vim4-v3-0-669cd2530ae5@aliel.fr Changes in v3: - Patches 3-4: split into two separate patches: 3. remove redundant clocks from UART A 4. add UART C node according to Neil's feedback. - Link to v2: https://lore.kernel.org/r/20260416-add-bluetooth-t7-vim4-v2-0-9a57098fd055@aliel.fr Changes in v2: - PATCH 1: change underscore to dash in pin node name, according to Xianwei's feedback. - PATCH 3: remove clocks and clock-names as already defined in DTSI, according to Xianwei's feedback. - Link to v1: https://lore.kernel.org/r/20260415-add-bluetooth-t7-vim4-v1-0-0ba0746cc1d6@aliel.fr --- Ronald Claveau (4): arm64: dts: amlogic: t7: Add uart_c pinctrl pins group arm64: dts: amlogic: t7: Add UART controllers nodes arm64: dts: amlogic: t7: khadas-vim4: Remove redundant clocks from UART A arm64: dts: amlogic: t7: khadas-vim4: Enable Bluetooth .../dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts | 21 ++++++- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 73 +++++++++++++++++++--- 2 files changed, 85 insertions(+), 9 deletions(-) --- base-commit: 6aa9edb4f8266cfb913ee74f5e55116550b5574d change-id: 20260414-add-bluetooth-t7-vim4-f01e03c4ec2a Best regards, -- Ronald Claveau