From patchwork Thu Apr 4 08:16:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10885231 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 18BCD1708 for ; Thu, 4 Apr 2019 08:17:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 01EE928A28 for ; Thu, 4 Apr 2019 08:17:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9F9328A2D; Thu, 4 Apr 2019 08:17:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5EF6228A28 for ; Thu, 4 Apr 2019 08:17:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=PuRhrBXOZT5fR80FyL3ZeaWXWXTEbsHpZf7Amhi0FLE=; b=CcptldAjeJEvYe+wvEphSaH369 ZPlmDn4nEQLdkOj0Smefx8jvYcTTwbshpWC3MNyd7PlJt4ej/I4mG7D9tYAa+CHsPqf2kbXT6blKM Ja4WcEW+Ef/44rqfHRPqAs9fzVn+BvOyE2nRM8uhq6Qjpr9fXWx+VyagH0Pgy03g1f+UOgk3rqP/w cjKAH6ACR3uM9J2LEoZLQbTRlRSb5XNEs8IIC/fSyfwIh0EkPP+LNiDyAWlUVGNFcJoNbWIkvwEER WetuhlXA0wJKsl3euyo/kVVJnzEBlgPOxb/nAaCB4h3RwYxW7Gzo/qCK3GBs0av0tkNsRchA51QbV Dc2gubyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBxYb-00060r-Pw; Thu, 04 Apr 2019 08:17:09 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBxY7-0005H3-F5 for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2019 08:16:51 +0000 Received: by mail-pl1-x641.google.com with SMTP id m10so767051plt.10 for ; Thu, 04 Apr 2019 01:16:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3WFDGlXmYECw79Q41NjIHGfPygiaXYVxcsbulVh6YIk=; b=xqhXud9D8ZzCmeNC+QrKKIVT/UiIn9dig1QYWFOsNlIqPrHFW6xklV/clsCXg5AZDy UG2AlkD/QMa24G9mgqBTIcQUMVO3uUsYvrwcCRCVnY6GGYVYJlPWJY+vNP4C9/KzgcUG gJur1UWcQMxN5XJ/Yi28RoJ2LYVFTOHTYMUoAQYHFGMiVHY8s+t+UbaF8jFhjdyy1Diw RPU1i1ZGBIGr8BWShbl8yeHdIXDcJSez62uEOSRysvspiUCo1GEeq59HRq9itOxTT0ck w3UT5zTTpVMmfHlarxqEZYRS3nWhTyGgxbesnz13LF+uQioZbARJJkkplj/Bi8JXPTCb qzeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3WFDGlXmYECw79Q41NjIHGfPygiaXYVxcsbulVh6YIk=; b=gNXKopGaxaalkOBASuifM58BYQElqwBtZ8hdAu9CJkAtvccWO5eeA1+HbUwpg5+5I6 wMOMUQIiUTJIZQiok+32jFAMNp9UayXqbaF6C8FUmLW0SDPvcW4BcosIWOUaqEnH8lXi irRE5z2vfyQcIDUfEwWKW9NIFy4TmA8iiuhjBjWbNbAAYAIfK1UaGpDB5KageO2hDzMB tUUBmU3v7bgGFl9SPZyqufVKdnhmxL6ivf1zA/3lGT4P/zRXt2z6LhPSqx9EpNpAnO6L TNTm2S4eQbWB7+WKN8fSQR64wwGK1zSjWSIZfRL86pd0ZXlm+E2uRF9pd8RG1dc4+Cdm rEYw== X-Gm-Message-State: APjAAAVGoRYBwPaHkJPTKpWi4wJsMjjP1ihHWPbzYOBRGAKMpWX324Zs 1he50UqCrZMNiPotbtLyoTRU1A== X-Google-Smtp-Source: APXvYqxOJZkdZc7XRyOpy0yck6xh7db+3GYFns8oLKKHvkJELSlhfGsMaakrZsTuwxhQpS0eV8bZUg== X-Received: by 2002:a17:902:8349:: with SMTP id z9mr4817116pln.144.1554365798362; Thu, 04 Apr 2019 01:16:38 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id d129sm26041389pfa.142.2019.04.04.01.16.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 01:16:37 -0700 (PDT) From: John Stultz To: lkml Subject: [RESEND][PATCH 1/3] arm64: dts: hi3660: Add dma to uart nodes Date: Thu, 4 Apr 2019 01:16:26 -0700 Message-Id: <1554365788-25610-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> References: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190404_011639_857819_D07B2CF1 X-CRM114-Status: GOOD ( 13.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Grachek , Zhuangluan Su , Tanglei Han , Wei Xu , Rob Herring , John Stultz , Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Try to add DMA support to the uart nodes following the assignments made in the dts from the victoria vendor kernel here: https://consumer.huawei.com/en/opensource/detail/?siteCode=worldwide&keywords=p10&fileType=openSourceSoftware&pageSize=10&curPage=1 Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Acked-by: Manivannan Sadhasivam Signed-off-by: John Stultz --- v3: * Remove dma enablment on uart0 which would use reserved channel 0 --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 1734675..37a997a 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -484,6 +484,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf00000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 2 &dma0 3>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART1>, <&crg_ctrl HI3660_CLK_GATE_UART1>; clock-names = "uartclk", "apb_pclk"; @@ -496,6 +498,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf03000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 4 &dma0 5>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART2>, <&crg_ctrl HI3660_PCLK>; clock-names = "uartclk", "apb_pclk"; @@ -520,6 +524,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf01000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 6 &dma0 7>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART4>, <&crg_ctrl HI3660_CLK_GATE_UART4>; clock-names = "uartclk", "apb_pclk"; @@ -532,6 +538,8 @@ compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf05000 0x0 0x1000>; interrupts = ; + dma-names = "rx", "tx"; + dmas = <&dma0 8 &dma0 9>; clocks = <&crg_ctrl HI3660_CLK_GATE_UART5>, <&crg_ctrl HI3660_CLK_GATE_UART5>; clock-names = "uartclk", "apb_pclk"; From patchwork Thu Apr 4 08:16:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10885239 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F12E61708 for ; Thu, 4 Apr 2019 08:17:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D858A28A22 for ; Thu, 4 Apr 2019 08:17:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC99728A28; Thu, 4 Apr 2019 08:17:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 65E9F28A22 for ; Thu, 4 Apr 2019 08:17:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=99y6UMy/pD/8+XWKu/7knLtwZw46SqNLG65c2slW93w=; b=RGXJwX1wVLUPTalLQSh4oSznIp fSaXH8myRPvuyviQVD8FBfznVfNN+b/kA6fR4umZmAWK2bbXaSFvhZ+4GMfC6PKtY6jqvY7gFVQdL ZepZeXr9oJFJNv9p8OZYIfBoCAhJJsHo/nHjsprvxWW78vZHb5M4oxnCSPnAoWJmgA+3mozFI15hz XSQorlARW4eVxEttQI+wMqd94p2cNPL6s8XeBH4y7GCEw+oy8vRvSQLa2KJvuehWhbu3kWMQYp+/Y 1fi6xzfEjYOp0QQgd1O65xiv1LEPjNNAI1+mSfc0Imto4YzyT1+hsA3Lc2aBQu0sIg/8S2X5JAisR ORO/6vxA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBxYr-0006H1-F3; Thu, 04 Apr 2019 08:17:25 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBxYA-0005Lz-8m for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2019 08:16:55 +0000 Received: by mail-pl1-x642.google.com with SMTP id ck15so784726plb.3 for ; Thu, 04 Apr 2019 01:16:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8TATOwz6aXOPqLspdWK5FSdnAdwr3+Rn9JXDFFJJK1Y=; b=qlPyZQe2k4wk6pI34bnrMhkkRZAsgZ//8T3OV8/7UGiCthavaNdAmsoxLLn2DhBr0J fFRYvVVtuDiTHfbzsL3QBWEb9Px27LuXrIIqqVuLLZQfKMBbufQlcVgpCdul0L+J6JRM HO916R/L1nLQsrVJU62l1qjr8cqIMu2lSQCgdCQHjUjTze7L4U0nqvO9FmZxsGL/9SdG p+OgKbZt37sijCUVLZ9yiI5i9FB+JrejOB3rnrFEwzFQTB4oA9vEudF972/4tsD+IzM1 HXieFxpvBsb3vwJFlWTgwHSXgJ2wLEbPr29UxX8+7x2xooPga9J77H5rNx3pxRZX7RQL t9ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8TATOwz6aXOPqLspdWK5FSdnAdwr3+Rn9JXDFFJJK1Y=; b=TJwdOKK1xceLiwjYnuM7z9BopXDe8V+U7VyVJ+znNr8JPvQPFgjBS9lVwg6Jc9lqw8 SZjq8S94kfJuHN6UpqU849Bhr3JIdoesVxZehVw48P+YyxcUgG8riQdUym2SJvnaQ4v9 PUO1kEVSMzIQpiTjxoyNpbEbeBx68JizIGY4KWuxRHPETXfgjbSjTezaSeu7IS+aR6JY yrhE0JOHp7sDGMS5dIbfoD7olxxXxIwjGwEEMe8D17ACfo8goki1CJPfvayh8CGksmKe W8epno4KWFW3mgGIpsG65YMtrBKFnOcYINtIdmUX2Ec5+dyY6qbqMYGtq9OIn8Zv+tHn LAuw== X-Gm-Message-State: APjAAAVtscZytNYnlP4MosnMPgLZD3JFu9Ard6QAzAYme14Rcwk0qrAp JbTz9YHsST5ahW+AzRSVSj4kQQ== X-Google-Smtp-Source: APXvYqye00pzihCc2KsJ33XnWNuJwdLWM74dx5TRNOni3qA70wB7lHM099I81RCMo2nW6Ego8xb4+Q== X-Received: by 2002:a17:902:b94a:: with SMTP id h10mr5040322pls.82.1554365801186; Thu, 04 Apr 2019 01:16:41 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id d129sm26041389pfa.142.2019.04.04.01.16.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 01:16:39 -0700 (PDT) From: John Stultz To: lkml Subject: [RESEND][PATCH 2/3] arm64: dts: hi3660: Add hisi asp dma device Date: Thu, 4 Apr 2019 01:16:27 -0700 Message-Id: <1554365788-25610-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> References: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190404_011643_224771_BE2ABAC2 X-CRM114-Status: GOOD ( 14.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Youlin Wang , Ryan Grachek , Zhuangluan Su , Tanglei Han , Wei Xu , Rob Herring , John Stultz , Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Youlin Wang Add asp-dma device to hi3660 dts Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Acked-by: Manivannan Sadhasivam Signed-off-by: Youlin Wang Signed-off-by: Tanglei Han Signed-off-by: John Stultz --- v2: Removed undocumented bindings --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 37a997a..7f92049 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -573,6 +573,16 @@ dma-type = "hi3660_dma"; }; + asp_dmac: dma-controller@e804b000 { + compatible = "hisilicon,hisi-pcm-asp-dma-1.0"; + reg = <0x0 0xe804b000 0x0 0x1000>; + #dma-cells = <1>; + dma-channels = <16>; + dma-requests = <32>; + interrupts = ; + interrupt-names = "asp_dma_irq"; + }; + rtc0: rtc@fff04000 { compatible = "arm,pl031", "arm,primecell"; reg = <0x0 0Xfff04000 0x0 0x1000>; From patchwork Thu Apr 4 08:16:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10885249 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A34751708 for ; Thu, 4 Apr 2019 08:17:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B28C28745 for ; Thu, 4 Apr 2019 08:17:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7FA3628A27; Thu, 4 Apr 2019 08:17:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1CE5528745 for ; Thu, 4 Apr 2019 08:17:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Okh/hUTwAShi/jcEsKIbonk2Jvw5sG2uca66a9055xo=; b=DUI6zJ1DFga/lr6aQdWpRXBvN/ 8ufbGVc8HkyYMSgyZ/mA1w13m3ewVWCZy9U0lGDIzxrCbIEneRQWj0AbR8hnd1tXDMrFky38y8/E5 ATyqNxYbgoyXaLGRlXkZunU+aloz3BQZQ7HWeGBNvcTZAKiyX++S5eskftTg4TLV1nCZzdg3Y7BXR gNRWxRd++dL8jk7dm29ccsghyKlMT5+aCtA6RZJ1Bc+o/OL/YYpKqwKBZ10y8o/KLfO/wTM5kyPeh qXxrb74ZWSWnrUoSOPKj98Rx4TFUJeCkuj6L3ksxW0clMNEDgqGjM0ZeV+HXc4FHm8ZPQQ21OxwNI JIrdV7EA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBxZ0-0006Vx-5x; Thu, 04 Apr 2019 08:17:34 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBxYB-0005Oy-CW for linux-arm-kernel@lists.infradead.org; Thu, 04 Apr 2019 08:16:56 +0000 Received: by mail-pl1-x641.google.com with SMTP id y6so791059plt.1 for ; Thu, 04 Apr 2019 01:16:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KhgbgRH9XeCw4nvk0p0Dwx+VqDYiBCuQQlEnM4jc05A=; b=YhYzhED6uUTkU6u5uXoQT6MfOcOxtdeQW9GLsDdBais6mrTPxgTYFn94nawBmaXxFe Obxq1eTY3pi9dhxkYIKp3l9cyNO67By+aX/RWbQhVCEICXxgkpIIQn++sgtmdJSWt0Vj rvqg7QWjdM39RPu7y509kp1x7rhTNemBT0lzNYneeHW9uehGluK4Ulv2BhxuVjdUpbTW EKg2i2H+2rK8Sfw4Qa6fxaLX9dhniwmwi+byPmBz+96asrdCfLEa/S86uhy5Sq0tLNra 1NViXS+tdOM52X8KHf9IPY1egsj/8l1b2xe1Q/rmiZsyiKyLUbCLg4cO6qMRRUr3+emw Stog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=KhgbgRH9XeCw4nvk0p0Dwx+VqDYiBCuQQlEnM4jc05A=; b=WhmBNm7AwZ010w5h5CLt8Z3xo51YG5LSqLQqtYIUrPGmj3WiqVQXnPHGN9b678CpV6 fM9KVuK87aMahSOcH7NjA8T8Xk09NNDFHxqvMwZjyACzVyCBs9GmDp9NZBIQrPUfFQbl ZxCPVkWZuba++uZBQq9cdWQ/sQOw2EVCEC1taytAtz9udV4an6WzX74menJAskmPO5iQ Q4Cd1pXmpsATMWEeT5ucrfrw0gyXtsUWsuRWyxFe2P49VGfOcvp03tXzMX1RXCsKYo2/ YbAmHn9SC+u8j6m1eZTFpTscS1531YIiAQIibOAqEmpepcuqoq3lD+zWTsltXfQ6zeuF 8DcA== X-Gm-Message-State: APjAAAWV3e4ACh1ww6XDFRjhPO2AI3qI4xZEyQrUyVQpgDX6pGMh2QEg x04Jwo3qOoAykbfUlyh9u23DQA== X-Google-Smtp-Source: APXvYqwwZPtQ7nXCXE18CoJJUaXicMvExbJma7NjlfgZEKKuCiHkylHkUZOtjkoNXxhyRop2fE116w== X-Received: by 2002:a17:902:2aca:: with SMTP id j68mr4868134plb.233.1554365802824; Thu, 04 Apr 2019 01:16:42 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id d129sm26041389pfa.142.2019.04.04.01.16.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 04 Apr 2019 01:16:41 -0700 (PDT) From: John Stultz To: lkml Subject: [RESEND][PATCH 3/3] arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask Date: Thu, 4 Apr 2019 01:16:28 -0700 Message-Id: <1554365788-25610-4-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> References: <1554365788-25610-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190404_011644_177245_B1AE054C X-CRM114-Status: GOOD ( 14.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ryan Grachek , Zhuangluan Su , Tanglei Han , Wei Xu , Rob Herring , John Stultz , Manivannan Sadhasivam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP A undocumented and unimplemented binding got into the hi3660 dtsi, and this switches that binding to the now documented one. Cc: Tanglei Han Cc: Zhuangluan Su Cc: Ryan Grachek Cc: Manivannan Sadhasivam Cc: Wei Xu Cc: Rob Herring Cc: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org Cc: devicetree@vger.kernel.org Signed-off-by: John Stultz --- v3: Renamed to hisi-dma-avail-chan v4: Renamed to dma-channel-mask --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 7f92049..7a49aa9 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -566,7 +566,7 @@ #dma-cells = <1>; dma-channels = <16>; dma-requests = <32>; - dma-min-chan = <1>; + dma-channel-mask = <0xfffe>; interrupts = ; clocks = <&crg_ctrl HI3660_CLK_GATE_DMAC>; dma-no-cci;