From nobody Sun Feb 8 18:09:44 2026 Received: from thales.epochal.quest (thales.epochal.quest [51.222.15.28]) (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 7C0CC1D63CA; Mon, 2 Dec 2024 04:49:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=51.222.15.28 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733114992; cv=none; b=qcthbK/DjuatdMPuiBFNRsP72TUQ6piqmnAZnxxXL/KE2E5zuxVwa18O82013quMtrgsDFrFgEwmwf1X3PGg/XguDd3Kgmd2XR/DzxfYybjZpiGwopPzq4QPXM0QZOdQXYzoqlLSvYosSFtZPp2lVKNfzNCteZeGfzRuuqwToVM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733114992; c=relaxed/simple; bh=Uc4cUQX10gCThUVCN/Dj7IXiMDW/TpvvOgV47ajb33Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Xr3scxTEOPDUjB0fMKUcM6Nd1Buol5BNmE0/h0GL5mBSUbZ3UIhnhJPAs4p4INIlRIHLt+98F4KjLzcI4vhRIGxP+t92T3AhwGUsfb1yzwKm4nw3mDCxVXR/ASwc+gXjPUZGmasF/20KBmTZSQVhmS5JNT6hcBb0E+sFIuoUQnE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=epochal.quest; spf=pass smtp.mailfrom=epochal.quest; dkim=pass (2048-bit key) header.d=epochal.quest header.i=@epochal.quest header.b=PTMdjBRo; arc=none smtp.client-ip=51.222.15.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=epochal.quest Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=epochal.quest Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=epochal.quest header.i=@epochal.quest header.b="PTMdjBRo" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=epochal.quest; s=default; t=1733114627; bh=Uc4cUQX10gCThUVCN/Dj7IXiMDW/TpvvOgV47ajb33Y=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=PTMdjBRotFtICZaNdmndcnzbIhiLtpEWFvCC7jbPmvJBu34rFeJ8lxtPyMpGoTwA/ KN9RJx0iTOzonEYidXZ5miPIeg/rnDZLSTv6afBOryGnJ9kspdXqd2T4hDJib2lgcq Br1E/GbjiW1KCPzUg0dHxiNULFq/lQ8l+cLEjF8GAMKKmOoEeKwXY8umAe8Ce2wWGC NEX3ZEOJeL5RHHrsUYdGhQc5AZP/6sb8pDcIBLyOJ9a9p0NxdQPKLLAye5/QdbpnTu Vrelprdp2ZdOEBjkFiNwhUVjvP7afLYmULpiWCGmCBhmEcG2+yr+zgfvlEZrIhMjvh 0L97VeDbd3Hzw== X-Virus-Scanned: by epochal.quest From: Cody Eksal Date: Mon, 02 Dec 2024 00:43:26 -0400 Subject: [PATCH 1/2] dt-bindings: sram: sunxi-sram: Add A100 compatible 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: <20241202-a100-syscon-v1-1-86c6524f24d7@epochal.quest> References: <20241202-a100-syscon-v1-0-86c6524f24d7@epochal.quest> In-Reply-To: <20241202-a100-syscon-v1-0-86c6524f24d7@epochal.quest> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Parthiban Nallathambi , Andre Przywara , Cody Eksal X-Mailer: b4 0.14.2 The Allwinner A100 has a system configuration block similar to that of the A64 and H6. Add a compatible for it. Signed-off-by: Cody Eksal Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml | 4 = +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-sys= tem-control.yaml b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a= 10-system-control.yaml index d9322704f3588e036280d08deaf59972f1dfeb7f..a7236f7db4ec34d44c4e2268f76= 281ef8ed83189 100644 --- a/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-con= trol.yaml +++ b/Documentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-con= trol.yaml @@ -47,7 +47,9 @@ properties: - const: allwinner,sun8i-v3s-system-control - const: allwinner,sun8i-h3-system-control - items: - - const: allwinner,sun50i-h6-system-control + - enum: + - allwinner,sun50i-a100-system-control + - allwinner,sun50i-h6-system-control - const: allwinner,sun50i-a64-system-control =20 reg: --=20 2.47.1 From nobody Sun Feb 8 18:09:44 2026 Received: from thales.epochal.quest (thales.epochal.quest [51.222.15.28]) (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 75CAF2A1CA; Mon, 2 Dec 2024 04:49:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=51.222.15.28 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733114992; cv=none; b=BkJBdFDHOtR3i+Vs+I4MpFFlQWSDzGcfqXwJ5oBenU4E6f3cvjeqHLFSvEd9BOH0M13Zwa80WdpT56Jn/R54EUzrybuwhM3+mhVxb2E2qwjvncOdwhmYvugo+d0m56iglTSBFih35si0kiDrVpcTpIoXOU3hMcmOj7SegBMmNJc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733114992; c=relaxed/simple; bh=c7DrF4FY6ek6JMuSQX4DMWp2SLBG/+HX8Rg78u1FF5U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=osR/3h/yS3FGTzg7HWYBy/wrbqSr40uCN7vlUvNmriRz736yPQ8AiEqVZJMRVAQOC9kiYmW/hRisWKFQRescG4Mo60ysBzbCN7CuYsMio561VDozm5WYWhS/+nq+evq2pFet1PguqXLblT1tXk6AsLfrt/+TUMHcDYEpCsE/uMc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=epochal.quest; spf=pass smtp.mailfrom=epochal.quest; dkim=pass (2048-bit key) header.d=epochal.quest header.i=@epochal.quest header.b=dBqagzb1; arc=none smtp.client-ip=51.222.15.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=epochal.quest Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=epochal.quest Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=epochal.quest header.i=@epochal.quest header.b="dBqagzb1" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=epochal.quest; s=default; t=1733114627; bh=c7DrF4FY6ek6JMuSQX4DMWp2SLBG/+HX8Rg78u1FF5U=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=dBqagzb1CFLZ4juBxO+3shH0BexnFVBgz4rTYgptwcYNP3CpnalGsKNgXBi2yR3en go8UM4LGs1a7MNMozITf5qtHb216sKbMj2FfNnMDDzTtH3jGsT2Xa1hkqxDjqp47sg 1fMYZQJf/uW6iV+SNQKwulyncODdPHQIQkBewoyg7k9Sk90TDAlkpUxqEc0olmqb3G hGGh6u4qh6eulZ/mQFBMmtjATUud2FDc7Tr5ArUqYQRWYfRN7H1z9nUYqC7JEnOecu P483uscsys5NR8/TTy54HcfT+3pBUL3apwXLtPlo8UfNovVrQ8l8E8Bg1ks5GcO6ed OOyDhV09H9kmQ== X-Virus-Scanned: by epochal.quest From: Cody Eksal Date: Mon, 02 Dec 2024 00:43:27 -0400 Subject: [PATCH 2/2] arm64: dts: allwinner: a100: Add syscon 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: quoted-printable Message-Id: <20241202-a100-syscon-v1-2-86c6524f24d7@epochal.quest> References: <20241202-a100-syscon-v1-0-86c6524f24d7@epochal.quest> In-Reply-To: <20241202-a100-syscon-v1-0-86c6524f24d7@epochal.quest> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Maxime Ripard Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Parthiban Nallathambi , Andre Przywara , Cody Eksal X-Mailer: b4 0.14.2 The Allwinner A100 has a system configuration block, denoted as SYS_CFG in the user manual's memory map. It is undocumented in the manual, but a glance at the vendor tree shows this block is similar to its predecessors in the A64 and H6. The A100 also has 3 SRAM blocks: A1, A2, and C. Add all of these to the SoC's device tree. Signed-off-by: Cody Eksal Reviewed-by: Parthiban Nallathambi --- arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 31 ++++++++++++++++++++++= ++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/bo= ot/dts/allwinner/sun50i-a100.dtsi index 29ac7716c7a5284ccf8af675db9c7d016785f0ff..31540a7ca1f01c6c2e69e329054= aca16ffd112c4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi @@ -101,6 +101,37 @@ soc { #size-cells =3D <1>; ranges =3D <0 0 0 0x3fffffff>; =20 + syscon: syscon@3000000 { + compatible =3D "allwinner,sun50i-a100-system-control", + "allwinner,sun50i-a64-system-control"; + reg =3D <0x03000000 0x1000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges; + + sram_a1: sram@20000 { + compatible =3D "mmio-sram"; + reg =3D <0x00020000 0x4000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x00020000 0x4000>; + }; + sram_c: sram@24000 { + compatible =3D "mmio-sram"; + reg =3D <0x024000 0x21000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x024000 0x21000>; + }; + sram_a2: sram@100000 { + compatible =3D "mmio-sram"; + reg =3D <0x0100000 0x14000>; + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0 0x0100000 0x14000>; + }; + }; + ccu: clock@3001000 { compatible =3D "allwinner,sun50i-a100-ccu"; reg =3D <0x03001000 0x1000>; --=20 2.47.1