From patchwork Thu Sep 2 02:18:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ChiaWei Wang X-Patchwork-Id: 12470749 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5870EC4320A for ; Thu, 2 Sep 2021 03:49:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 26383610A8 for ; Thu, 2 Sep 2021 03:49:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 26383610A8 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=aspeedtech.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hZ3qSZjB5c+3+0BTWL9J4YnUDnCCJe/cP/mziJgQBNM=; b=tl98yCHbSaQpSq 65oGDYJJyHOIYsOQSbMph5XbgiwOFfEJE58nY3jwXL6N8WYFRhvnZ0UG5eMLtZyfcLqczKFD4hJiR uOuqPPrlcChuaezqpyogQINjT0GTMp/wl9/tbizMtbXyq0PQ07/Rs8gYdocycKw1aiYC3XI6iYCSf JkSttJd4SdbcJSePpUm9RwAPbnSaIa0Fug5yktPR9gtkbGJ95uC0Pa+YUfIhvV8QiLO2fbQ9XMuNs NHLUBfydFA5BfgiGYD28qrfmTRwRaKGdwe8DjF8cQBJyt1Y9aq/hkH8rLPIk5s7f/U7YmEIUELKHM 9T3PlCdg5JFVd7IpwvHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLdhl-008N2q-8h; Thu, 02 Sep 2021 03:47:57 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLdhi-008N2H-TM for linux-arm-kernel@bombadil.infradead.org; Thu, 02 Sep 2021 03:47:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CZgMYUSHW6KHywXbjBe/2dsByQ1qiA+NvRYNV5rhHbA=; b=tu0z347SwxZEgIwBixoSGn3Ecs /IeAJ741Kdj85LmoYBCiozY2FS2SAzFllcjMtwDKGcwnblaHJpKk+uXc79n8K4p94mXEEMeZlLY5v GKI+jlD09USvTH1WFz2RG5KjwxO6JOdeDU7WYxORzp981FypC+jyuiz2P7Dw/kf2c+4hVKlET80Vv 41i1z8h03mZ+X4L9ZhnnFxe57G4CXydSrjpp/I+T+Un8qQhgmShUdLgklmF6Or2bv0Yo/Ay5DdDos ppk2G3PV8uDjKcbQV2rrzjewE+trQkktWyIN+cF26prOFH7gkdetI+8P4luo+hJ6awvoBzxPuxe7V Hgbss4rg==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by casper.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mLcK6-0031Lh-Oy for linux-arm-kernel@lists.infradead.org; Thu, 02 Sep 2021 02:19:50 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1821xAlN068910; Thu, 2 Sep 2021 09:59:10 +0800 (GMT-8) (envelope-from chiawei_wang@aspeedtech.com) Received: from ChiaWeiWang-PC.aspeed.com (192.168.2.66) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Sep 2021 10:18:15 +0800 From: Chia-Wei Wang To: , , , , , , , , , Subject: [PATCH v2 1/3] dt-bindings: aspeed-lpc: Add UART routing compatible string Date: Thu, 2 Sep 2021 10:18:14 +0800 Message-ID: <20210902021817.17506-2-chiawei_wang@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210902021817.17506-1-chiawei_wang@aspeedtech.com> References: <20210902021817.17506-1-chiawei_wang@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.2.66] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1821xAlN068910 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210902_031941_918219_C5129197 X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the compatible string and the device tree description for the Aspeed AST25xx/AST26xx UART routing control. Signed-off-by: Chia-Wei Wang --- .../devicetree/bindings/mfd/aspeed-lpc.txt | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt index 936aa108eab4..45d44f812e5e 100644 --- a/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +++ b/Documentation/devicetree/bindings/mfd/aspeed-lpc.txt @@ -155,3 +155,25 @@ lpc_reset: reset-controller@98 { reg = <0x98 0x4>; #reset-cells = <1>; }; + +UART routing control +-------------------- + +The UART routing control manages the RX muxes among the UART controllers +and the I/O pins. This is typicall used for the Serial-Over-Lan (SOL) +service. + +Required properties: + + - compatible: One of: + "aspeed,ast2500-uart-routing"; + "aspeed,ast2600-uart-routing"; + + - reg: offset and length of the IP in the LPC memory region + +Example: + +uart_routing: uart-routing@98 { + compatible = "aspeed,ast2600-uart-routing"; + reg = <0x98 0x8>; +};