From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 131F13A7F41 for ; Tue, 18 Aug 2026 19:12:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787080327; cv=none; b=YNZZV6FL7utk1S6poRdggFC1n5q5xNyAqdYMlHddTzW7BqrgOIx8TWEQC1ijz2wTfG006jE5qLCgEtSnEnTztHnvGFfRw0XjGNrL/rcoJLqcijRgclZZBhE52kU6//WuEZ+9GvEnXHkWQXe4A4ghhwY1ngjtGnosWKjKptn68f8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787080327; c=relaxed/simple; bh=aFH/RtkadQBoSpCLWig67N9HtD1tu2cQ2bxMv5Qe0dk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mSR6RJYUqkQ6f1qJqGMh4Nl1mRvH+IObHP6f5KzBANRWWUAe2LxYzWNyJ3yHfIA3Mt5vJLOikdb8tvOn3nH0JZm6DU+wz7nGvovMizm6YmtrpWa1lVfmbO09x1xI1bCBst06xENsb8XXlYH4+Ac6xbNGo9KNvlYrx5dQTO4plnQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-47362928f65so127987f8f.2 for ; Tue, 18 Aug 2026 12:12:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787080324; x=1787685124; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Bax9W38/JMIaV0Z2sDQmJSHm0aG/QQBKaWLZNsB4ByY=; b=bXo6jUZwIrlgjxAt+AGfVm5ANtIERfC1AhgoO2nZZ+hbt5bLctUP6lhDCkerQyF4Yp kvxQ581h2H0NofjDOaKVKRm3Edn7MP1EeQC8jhLnrttV0R0WHfnIRdS+OxoBjeuTUOnB xTkFoLocAyD3TqV/hRcJYXo0I75VcInlLVyW/6gYSYBJcKawH5Vm5ujRjiieTC2UdlQu OMvOSekkbRwaeYeXpVxmAM5pbTj/Wrt/jruvxzleVPIBuwpiZaGndhwzPxVGmjcEpnYq WbKVREjgZteBF907aA6aK6joedKrSsPRdlq8jcm9o+EAlcrdg7OrRDN3OK1Kd96NVNv9 6sgg== X-Forwarded-Encrypted: i=1; AHgh+Rq+PtHLf0v/A/v44wiuD/SZRJOnrrmROycpRGmIsl5S2YQ5wQLnX6G+OIfIwZ7JR0wpyyzGnSRJuUJbot8=@vger.kernel.org X-Gm-Message-State: AOJu0YzxJ1JJs4CeBLF0ZONJVCY7bSCVCHV63NfXTFB6gbbTAZF0aZIm Va7yo11LOmKpzHjCBMRH8RAFZ5Sc0HnxZVxTBwt7PIdtaNlc8RwPxWYL X-Gm-Gg: AR+sD104ne1pqwv2Y/lYllZ0erMsfnXf9/kSsp07lEBbdaN2fdYQeSZmnplKlv3j9GP IKlk+TyNa5jcoyoZNQe5pNQH2hq/mdUjsnYbxc+rSuZWQQiP7SwSVqXVh6+II9sDsokRJr9eU1p NPKiVAZlOpuL53kiLldIZ7Wbv+UQWsgxHigEixWrQBiSCCogj4ZuOLI6CmWnfC1iQMFatdjf2sw s3zwAIvyR7nSEybfz+6BZCAkoDumYpKV7mP888yfJyB3AFx0W6fxD58BwKUbzxdItn2VvHp2Cw0 CVCLhCcKMJMVoAGc7UpxeGtJY6EAF0KGJVhrICz8hbeixE7/LS0BJuOolC8KglnXDVtnY5mdDdX oJwOs+pXbfnNzNnj5l2x9J7+axgPlUnDVsuVZYZjtCWh0DUkFC/FWcvexJYlkUNGdS1Tywx1oeZ tyfQPReRzh9vy4lm8Y8R5tz6CExJ4nz2tNO/ePphI647K7oFhmhaiJSoweO7XkkPKryIZQzxlDa aAE4AdiNyp699FjCnH6o4qkbmQ= X-Received: by 2002:a05:6000:480f:b0:482:a36c:a5e1 with SMTP id ffacd0b85a97d-482b07c826dmr482120f8f.1.1787080324198; Tue, 18 Aug 2026 12:12:04 -0700 (PDT) Received: from threads.localdomain ([83.106.158.114]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-482a5b783c6sm14673154f8f.31.2026.08.18.12.12.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Aug 2026 12:12:03 -0700 (PDT) From: Lucas Tanure To: Neil Armstrong , Kevin Hilman , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, Xianwei Zhao , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] arm64: dts: amlogic: t7: fix UART clock and SD card recovery Date: Tue, 18 Aug 2026 20:11:57 +0100 Message-ID: <20260818191159.11523-1-tanure@linux.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Two fixes found while booting mainline on a Khadas VIM4. The first one wires uart_a to the real UART bus clock. It was pointed at the 24MHz crystal as a placeholder, because the T7 clock controller driver did not exist when these boards were added. That leaves the real clock without a user, so the kernel turns it off when it disables unused clocks at the end of boot, and the board hangs with the console gone. The second one drops regulator-always-on from the SD card supply. A card that refuses the 1.8V UHS switch can only be recovered by removing its power, which that property prevents, so the card never initialises and the MMC core retries forever. Both were tested on a Khadas VIM4 booting v7.2 from the SD card. Lucas Tanure (2): arm64: dts: amlogic: t7: use the real UART pclk arm64: dts: amlogic: t7: khadas-vim4: allow the SD card to be power cycled arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-an400.dts | 2 -- arch/arm64/boot/dts/amlogic/amlogic-t7-a311d2-khadas-vim4.dts | 3 --- arch/arm64/boot/dts/amlogic/amlogic-t7.dtsi | 4 ++++ 3 files changed, 4 insertions(+), 5 deletions(-) -- 2.55.0