Message ID | 20230210072643.2772-5-chiawei_wang@aspeedtech.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp809377wrn; Thu, 9 Feb 2023 23:31:39 -0800 (PST) X-Google-Smtp-Source: AK7set8MLqOoNJUvlAO1c71ce1TltKyNf8HnE1sB3SooiWMUxVHu0SEUKtnSWh5OylqdAhD39ia0 X-Received: by 2002:a17:907:7e8f:b0:8aa:be5d:f858 with SMTP id qb15-20020a1709077e8f00b008aabe5df858mr14847138ejc.60.1676014299224; Thu, 09 Feb 2023 23:31:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676014299; cv=none; d=google.com; s=arc-20160816; b=ZF06dNFRJ3ydosKwynSLrGV9tzODTVw7aIJh9R8l55z/zgRLfmlRg7JIgkn3uxQDf9 RytXfhABbWXqSgWPrQUOElB2uTEu70c8jYGi4vpLyD57+YJ0z0Ub7FbeCqV6yyLlnqjI qhoczJ+bBkP3NDr4vilLss4N3T+WZ8hc+w2fZqc5wMqT84dnBx9sqyiNNyxcz4GI4qbL ie4dq7I+HBBGMqhLsgYDwmNOF2/CCnD23kFpdX/jkuwuxUBSZvAbX1W8ZT9uS+t32rYA T9pl5SaS5GQos63ZOVxUFZQyISAiUc5P6giHmRP3f8oCQiyADpEa07LEri+4o5p5+ZFi eD2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from; bh=15JJdwNmtPUc2Nr9NQ/eRJIfd09s/jtJSFTxIfbd6zA=; b=aX0N1pVRtl/2Fua0VGdWS8UUAmtgpIT1o0MiAmZyoPeiYKs/2KfVUpwT+J/uKaFVrX WMQD4Z51d9wydHJ5ld/RALhkvQJ3ecH3oMzxc2dVvlZPsj/4F1++EamTvbFrr2H0URYf AjNuOL3jXvCdWAAp7CV1FlL1WWZ8vKe4n5Bp9pXSSrs9H1k2To1+LKJyYQ731YRW1tu8 PtXSgyPMA+M5whMbBnFjvDBizxsHt4rcmKtOf17ydKSumMUmXe4tN1Ix0T9r1RKY2Y0s QMYcamfQRKYuBaW7JATf2wZXhpoUJHSYyxT0iFQlZgmBS4pdsCxNe8X/XjVIyU70FEJu /qeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id et15-20020a170907294f00b008adcbd7104asi4496873ejc.932.2023.02.09.23.31.16; Thu, 09 Feb 2023 23:31:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231438AbjBJH14 (ORCPT <rfc822;ybw1215001957@gmail.com> + 99 others); Fri, 10 Feb 2023 02:27:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231211AbjBJH1x (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Feb 2023 02:27:53 -0500 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCEC15B744; Thu, 9 Feb 2023 23:27:51 -0800 (PST) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 31A7EWrr068845; Fri, 10 Feb 2023 15:14:33 +0800 (GMT-8) (envelope-from chiawei_wang@aspeedtech.com) Received: from Chiawei-PC03.aspeed.com (192.168.2.66) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 10 Feb 2023 15:26:48 +0800 From: Chia-Wei Wang <chiawei_wang@aspeedtech.com> To: <gregkh@linuxfoundation.org>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <joel@jms.id.au>, <andrew@aj.id.au>, <jirislaby@kernel.org>, <linux-serial@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-aspeed@lists.ozlabs.org>, <linux-kernel@vger.kernel.org>, <openbmc@lists.ozlabs.org> Subject: [PATCH 4/4] ARM: dts: aspeed-g6: Add UDMA node Date: Fri, 10 Feb 2023 15:26:43 +0800 Message-ID: <20230210072643.2772-5-chiawei_wang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230210072643.2772-1-chiawei_wang@aspeedtech.com> References: <20230210072643.2772-1-chiawei_wang@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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 31A7EWrr068845 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757428369914598365?= X-GMAIL-MSGID: =?utf-8?q?1757428369914598365?= |
Series |
arm: aspeed: Add UART with DMA support
|
|
Commit Message
ChiaWei Wang
Feb. 10, 2023, 7:26 a.m. UTC
Add the device tree node for UART DMA controller.
Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com>
---
arch/arm/boot/dts/aspeed-g6.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
Comments
On 10/02/2023 08:26, Chia-Wei Wang wrote: > Add the device tree node for UART DMA controller. > > Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> > --- > arch/arm/boot/dts/aspeed-g6.dtsi | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi > index cc2f8b785917..3f4e9da8f6c7 100644 > --- a/arch/arm/boot/dts/aspeed-g6.dtsi > +++ b/arch/arm/boot/dts/aspeed-g6.dtsi > @@ -850,6 +850,13 @@ fsim1: fsi@1e79b100 { > clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; > status = "disabled"; > }; > + > + udma: uart-dma@1e79e000 { Node names should be generic. https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "aspeed,ast2600-udma"; Please run scripts/checkpatch.pl and fix reported warnings. Best regards, Krzysztof
> From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > Sent: Friday, February 10, 2023 5:14 PM > > On 10/02/2023 08:26, Chia-Wei Wang wrote: > > Add the device tree node for UART DMA controller. > > > > Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> > > --- > > arch/arm/boot/dts/aspeed-g6.dtsi | 7 +++++++ > > 1 file changed, 7 insertions(+) > > > > diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi > b/arch/arm/boot/dts/aspeed-g6.dtsi > > index cc2f8b785917..3f4e9da8f6c7 100644 > > --- a/arch/arm/boot/dts/aspeed-g6.dtsi > > +++ b/arch/arm/boot/dts/aspeed-g6.dtsi > > @@ -850,6 +850,13 @@ fsim1: fsi@1e79b100 { > > clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; > > status = "disabled"; > > }; > > + > > + udma: uart-dma@1e79e000 { > > Node names should be generic. > https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree- > basics.html#generic-names-recommendation > > > + compatible = "aspeed,ast2600-udma"; > > Please run scripts/checkpatch.pl and fix reported warnings. Thanks for reminding. Will add the dt-bindings for UDMA as well. Regards, Chiawei
diff --git a/arch/arm/boot/dts/aspeed-g6.dtsi b/arch/arm/boot/dts/aspeed-g6.dtsi index cc2f8b785917..3f4e9da8f6c7 100644 --- a/arch/arm/boot/dts/aspeed-g6.dtsi +++ b/arch/arm/boot/dts/aspeed-g6.dtsi @@ -850,6 +850,13 @@ fsim1: fsi@1e79b100 { clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; status = "disabled"; }; + + udma: uart-dma@1e79e000 { + compatible = "aspeed,ast2600-udma"; + reg = <0x1e79e000 0x400>; + interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>; + status = "disabled"; + }; }; }; };