From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C93F5C35FF1 for ; Fri, 14 Mar 2025 11:21:34 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4ZDhlK2hnWz2yhG; Fri, 14 Mar 2025 22:21:33 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=211.20.114.72 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1741951293; cv=none; b=dDkTra4fM8zWsaVQbSbhynjQmVaZh5eALtgNugo/HOi3kKWubHxp7c6FbCVlrKBqVjfJc73/OWW8eg/O1kWp3INsUhtw9geK0LbtiW8G/hhXkISu3kuHsiMSMe+Ya9STajXaZE16ScX5RMrNKnkMNyLR5pLVT3YBZlkLkJImDJvd57/cT8Pj5FK8e1O6b+UfmnmongrFI72CA1dKQSnM8nsswvwSGOfzKZxipdLojNrd02K9pYl8vzEP8dPhaL6rRgsNTPJtZux3y4xnFdFYPS8CqY0jLqMOJG0VDOWS5Po6UXPT5kH07rQ5JEnKdAgj2IGlCt8vyNab26FpduZ1TA== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1741951293; c=relaxed/relaxed; bh=ZPeOALh8hvdV7JWB8QVZ8vIgqd6Fip8BkDA60r1vc3s=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IH2ltDsdef7+fVFNqSTxBlH49Jh+aerymSL/RU1hpWbGPvcqJZPQe8j8Nve8TEv8SZnzCpEvQ7wM2atcHKhsz1Qm+IgYydE8FOVovYpgj2US+MAZwpCpG1bPijCITcdKTolAWTyUnzsj5pZ/HgMZJCFEfDxvOXHhJ5nR7SeRDA0udjfPtSt3NZCFs7Ny0JsJuaCJzvR+yS3MIUe120RpPKf/oHFbBpStDiDvIUL67uw6EQJ6DKJYtMytT8HORo13S+9Td3zTMXKhDhcCUnCC/VW5DvXtNyjWRnBJ+vSVWB9zBBgROKpUI06NXpEkUpesKMTDnCJtpLlbdebk/D8vxQ== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com; spf=pass (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=kevin_chen@aspeedtech.com; receiver=lists.ozlabs.org) smtp.mailfrom=aspeedtech.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=quarantine dis=none) header.from=aspeedtech.com Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=aspeedtech.com (client-ip=211.20.114.72; helo=twmbx01.aspeed.com; envelope-from=kevin_chen@aspeedtech.com; receiver=lists.ozlabs.org) 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 lists.ozlabs.org (Postfix) with ESMTPS id 4ZDhlJ5J52z2xmk for ; Fri, 14 Mar 2025 22:21:32 +1100 (AEDT) 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, 14 Mar 2025 19:21:14 +0800 Received: from aspeed-fw03.aspeedtech.com (192.168.10.13) by TWMBX01.aspeed.com (192.168.0.62) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Fri, 14 Mar 2025 19:21:14 +0800 From: Kevin Chen To: , , , , , , , , , , , , , CC: Kevin Chen Subject: [PATCH v4 1/3] dt-binding: aspeed: Add LPC PCC controller Date: Fri, 14 Mar 2025 19:21:11 +0800 Message-ID: <20250314112113.953238-2-kevin_chen@aspeedtech.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250314112113.953238-1-kevin_chen@aspeedtech.com> References: <20250314112113.953238-1-kevin_chen@aspeedtech.com> X-Mailing-List: linux-aspeed@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Add dt-bindings for Aspeed for Aspeed LPC POST code capture controller. Signed-off-by: Kevin Chen --- .../devicetree/bindings/mfd/aspeed-lpc.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml b/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml index 5dfe77aca167..178c151a19ba 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.yaml @@ -149,6 +149,37 @@ 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: + As a device handshake with a host using the port-mmaped I/O in x86 + architecture, need to handle specific which port I/O address for use. + + 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 +207,13 @@ examples: #size-cells = <1>; ranges = <0x0 0x1e789000 0x1000>; + lpc_pcc: lpc-pcc@0 { + compatible = "aspeed,ast2600-lpc-pcc"; + reg = <0x0 0x140>; + interrupts = ; + pcc-ports = <0x80>; + }; + lpc_ctrl: lpc-ctrl@80 { compatible = "aspeed,ast2600-lpc-ctrl"; reg = <0x80 0x80>; -- 2.34.1