From nobody Mon Feb 9 16:51:56 2026 Received: from TWMBX01.aspeed.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 5FB131FA8EB for ; Fri, 17 Jan 2025 09:52:31 +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=1737107553; cv=none; b=LzWwm88Z6+xrsFPAzrw/w3zFgf15ArcqG51cCrRTbYhplNNq73X2j4fkUadzt5rz29OxJa1CakfBvJbRih7eQG4/Ewz3BOHmtbzweDMHnurz+gpJZEgZWaM04q0SL+VR7CR7jt3hH+Va3h+iQUvPEtTyur8CXN5O3StRKMrm8Ds= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737107553; c=relaxed/simple; bh=yytOUYDufyWxzW5AUtDZTYt+ma56XTcHRw/CgDF6JIY=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=AH9oi18h6sdUmg3fG4VikVVMu3T/oad4Hkf6JobpjmLWneJfqoIxPGfikCLsMkeAHZv2mm3M39kp1OGzXsAr8N7SO9SavSTLY9CtINWtNi8DsvphnwTx9jXbHXskVChq23cowljwT105OA5PaUPj155MbPso6O4E1slHp62i8YU= 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.1258.12; Fri, 17 Jan 2025 17:52:20 +0800 Received: from localhost.localdomain (192.168.10.10) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Fri, 17 Jan 2025 17:52:20 +0800 From: Kevin Chen To: , , , , , CC: Kevin Chen Subject: [PATCH v0 1/3] dt-binding: aspeed: Add LPC PCC controller Date: Fri, 17 Jan 2025 17:52:15 +0800 Message-ID: <20250117095217.661070-2-kevin_chen@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250117095217.661070-1-kevin_chen@aspeedtech.com> References: <20250117095217.661070-1-kevin_chen@aspeedtech.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Add dt-bindings for Aspeed for Aspeed LPC POST code capture controller. Signed-off-by: Kevin Chen --- .../bindings/soc/aspeed/lpc-pcc.yaml | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/aspeed/lpc-pcc.ya= ml diff --git a/Documentation/devicetree/bindings/soc/aspeed/lpc-pcc.yaml b/Do= cumentation/devicetree/bindings/soc/aspeed/lpc-pcc.yaml new file mode 100644 index 000000000000..6c2134497de2 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/aspeed/lpc-pcc.yaml @@ -0,0 +1,51 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# # Copyright (c) 2024 Aspeed Technology Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/aspeed/lpc-pcc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Aspeed Post Cost Capture Controller + +maintainers: + - Kevin Chen + - Chia-Wei Wang + +description: + The Aspeed PCC control allow to capture POST code from Host. + + This driver is for the BMC side. POST code data can be access by + /dev/aspeed-lpc-pcc0. For example, POST code data is below. + ~# hexdump /dev/aspeed-lpc-pcc0 + 0000000 40b3 40a0 40a3 40a2 40a2 40b4 40a5 40ee + 0000010 40ee 40ee 40ee 40ee 40ee 40ee 40ee 40ee + 0000020 40ee 40ee 40ee 40ee 40ee 40ee 40ee 40a6 + +properties: + compatible: + items: + - enum: + - aspeed,ast2600-lpc-pcc + reg: + maxItems: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + lpc: lpc@1e789000 { + compatible =3D "aspeed,ast2600-lpc-v2", "simple-mfd", "syscon"; + reg =3D <0x1e789000 0x1000>; + + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges =3D <0x0 0x1e789000 0x1000>; + + lpc_pcc: lpc-pcc@0 { + compatible =3D "aspeed,ast2600-lpc-pcc"; + reg =3D <0x0 0x140>; + }; + }; --=20 2.34.1