From: Kevin Chen <kevin_chen@aspeedtech.com>
To: <lee@kernel.org>, <robh@kernel.org>, <krzk+dt@kernel.org>,
<conor+dt@kernel.org>, <joel@jms.id.au>,
<andrew@codeconstruct.com.au>, <chiawei_wang@aspeedtech.com>,
<linux-aspeed@lists.ozlabs.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: Kevin Chen <kevin_chen@aspeedtech.com>
Subject: [PATCH v1 1/3] dt-binding: aspeed: Add LPC PCC controller
Date: Mon, 17 Feb 2025 19:48:29 +0800 [thread overview]
Message-ID: <20250217114831.3225970-2-kevin_chen@aspeedtech.com> (raw)
In-Reply-To: <20250217114831.3225970-1-kevin_chen@aspeedtech.com>
Add dt-bindings for Aspeed for Aspeed LPC POST code capture controller.
Signed-off-by: Kevin Chen <kevin_chen@aspeedtech.com>
---
.../devicetree/bindings/mfd/aspeed-lpc.yaml | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml b/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml
index 5dfe77aca167..367847bd7e75 100644
--- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml
+++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml
@@ -149,6 +149,35 @@ patternProperties:
- interrupts
- snoop-ports
+ "^lpc-pcc@[0-9a-f]+$":
+ type: object
+ additionalProperties: false
+
+ description:
+ The LPC pcc interface allows the BMC to listen on and record the data
+ bytes written by the Host to the targeted LPC I/O pots.
+
+ properties:
+ compatible:
+ items:
+ - enum:
+ - aspeed,ast2600-lpc-pcc
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ pcc-ports:
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ description: The LPC I/O ports to pcc
+
+ required:
+ - compatible
+ - interrupts
+ - pcc-ports
+
"^uart-routing@[0-9a-f]+$":
$ref: /schemas/soc/aspeed/uart-routing.yaml#
description: The UART routing control under LPC register space
@@ -176,6 +205,13 @@ examples:
#size-cells = <1>;
ranges = <0x0 0x1e789000 0x1000>;
+ lpc_pcc: lpc-pcc@0 {
+ compatible = "aspeed,ast2600-lpc-pcc";
+ reg = <0x0 0x140>;
+ interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
+ pcc-ports = <0x80>;
+ };
+
lpc_ctrl: lpc-ctrl@80 {
compatible = "aspeed,ast2600-lpc-ctrl";
reg = <0x80 0x80>;
--
2.34.1
next prev parent reply other threads:[~2025-02-17 11:48 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-17 11:48 [PATCH v1 0/3] Add AST2600 LPC PCC support Kevin Chen
2025-02-17 11:48 ` Kevin Chen [this message]
2025-02-17 11:56 ` [PATCH v1 1/3] dt-binding: aspeed: Add LPC PCC controller Krzysztof Kozlowski
2025-02-17 11:48 ` [PATCH v1 2/3] ARM: dts: aspeed-g6: Add AST2600 LPC PCC support Kevin Chen
2025-02-17 11:48 ` [PATCH v1 3/3] soc: aspeed: lpc-pcc: Add PCC controller support Kevin Chen
2025-02-17 12:00 ` Krzysztof Kozlowski
2025-02-18 0:56 ` Andrew Jeffery
2025-02-18 11:11 ` Kevin Chen
2025-02-19 1:04 ` Andrew Jeffery
2025-02-19 11:59 ` Kevin Chen
2025-02-20 1:22 ` Andrew Jeffery
2025-02-21 0:51 ` Kevin Chen
2025-02-25 4:27 ` Andrew Jeffery
[not found] ` <CAOO6b=udHyXx3QXyUE=siuuJopanUxzbFeBujtqWRy=j2ut4fw@mail.gmail.com>
2025-02-25 23:28 ` Andrew Jeffery
2025-02-26 0:48 ` Mo Elbadry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250217114831.3225970-2-kevin_chen@aspeedtech.com \
--to=kevin_chen@aspeedtech.com \
--cc=andrew@codeconstruct.com.au \
--cc=chiawei_wang@aspeedtech.com \
--cc=conor+dt@kernel.org \
--cc=joel@jms.id.au \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox