From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from twmbx01.aspeedtech.com (mail.aspeedtech.com [211.20.114.72]) (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 D59924DA553; Thu, 1 Oct 2026 09:50:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.20.114.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790848253; cv=none; b=BNuMZQXgNga+mn0Z+gzOwVntwQzCwARNyS8XLiHz6pJ3x3VbByRmM73wamGkTsUqTORf+UJML/X+EuCHqcuFoTZwH73qsm23asT9d536Y+dxFfo+Dlxs/P0rfpgvMzRZxpgX2TYb5boeD0ESmSUl/bRIrIjgqeVmkFa8QXTXeBw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790848253; c=relaxed/simple; bh=2QkJzNzBC5TteyA4kAerBTf8TT9nUDrvrpbSjV4H9a0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=YTlMi3xAnqAwv2q5GrUs5PakzAKzENAKReqwrrN5TQjZqeGmxG4LMgEIVp4yW5iBw5VtaWPMvbEg5hQX02vkDKBjkCecVI4L0gDd1Bqwhv2Q1dX7OTQJHylR7kyorKbCWPt9iPj8xaVESUKVXmFVWgKTBp7xsQK/dXew42m5WcI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass smtp.mailfrom=aspeedtech.com; arc=none smtp.client-ip=211.20.114.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aspeedtech.com Received: from TWMBX01.aspeed.com (192.168.0.62) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1748.10; Thu, 1 Oct 2026 17:50:36 +0800 Received: from [127.0.1.1] (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1748.10 via Frontend Transport; Thu, 1 Oct 2026 17:50:36 +0800 From: Billy Tsai Date: Thu, 1 Oct 2026 17:50:38 +0800 Subject: [PATCH v2 3/3] arm64: dts: aspeed: Add syscon phandle to AST2700 ADC nodes 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: 7bit Message-ID: <20261001-ast27xx-adc-upstream-v2-3-2f9c15cc0064@aspeedtech.com> References: <20261001-ast27xx-adc-upstream-v2-0-2f9c15cc0064@aspeedtech.com> In-Reply-To: <20261001-ast27xx-adc-upstream-v2-0-2f9c15cc0064@aspeedtech.com> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , "Joel Stanley" , Andrew Jeffery , "Ryan Chen" CC: , , , , , Billy Tsai , Jonathan Cameron X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790848236; l=1214; i=billy_tsai@aspeedtech.com; s=20251118; h=from:subject:message-id; bh=2QkJzNzBC5TteyA4kAerBTf8TT9nUDrvrpbSjV4H9a0=; b=yiizZMGtjvqkSIgdptP/Ct9Hes4UXKOm05/DB4hUFN/XzSN5u4DOmmzjaq4YCWFo2f5PK58zI MUMjI+nnSspDYdYKtnBV4tH0blekWXA+nQLg6ZQTR/spz6z0d6BclXu X-Developer-Key: i=billy_tsai@aspeedtech.com; a=ed25519; pk=/A8qvgZ6CPfnwKgT6/+k+nvXOkN477MshEGJvVdzeeQ= Point the ADC nodes at their own syscon1 so the driver can correctly locate the reference-voltage trimming data on AST2700, where syscon0 and syscon1 share the same device-tree node name and would otherwise resolve to the wrong SCU. Signed-off-by: Billy Tsai Assisted-by: Claude:claude-sonnet-5 --- arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi b/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi index bc990f79e693..053673cc4b8e 100644 --- a/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi +++ b/arch/arm64/boot/dts/aspeed/aspeed-g7-soc1.dtsi @@ -246,6 +246,7 @@ adc0: adc@14c00000 { clocks = <&syscon1 SCU1_CLK_AHB>; resets = <&syscon1 SCU1_RESET_ADC>; interrupts-extended = <&intc1 80>; + aspeed,trim-syscon = <&syscon1>; #io-channel-cells = <1>; status = "disabled"; }; @@ -256,6 +257,7 @@ adc1: adc@14c00100 { clocks = <&syscon1 SCU1_CLK_AHB>; resets = <&syscon1 SCU1_RESET_ADC>; interrupts-extended = <&intc1 80>; + aspeed,trim-syscon = <&syscon1>; #io-channel-cells = <1>; status = "disabled"; }; -- 2.34.1