From patchwork Wed Mar 20 20:25:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10862601 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 1EDB61575 for ; Wed, 20 Mar 2019 20:26:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1E8A2969F for ; Wed, 20 Mar 2019 20:26:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E657A29EA6; Wed, 20 Mar 2019 20:26:07 +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 5F0362969F for ; Wed, 20 Mar 2019 20:26:07 +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=HVG+5aBllW2BCLaYXn8wiLtk9SgGR4/M4glM6+m+WO4=; b=FWDwrikXDmQA0bt/0qLcoopQwg v94Ahypakhjiz1L6BohYTBoAaG9qvf4RawtAbai8L9a2UzIxXydfF4kqsJynbYLvWZev8oVJhUECi JYBdi7ey6jA38PbXeACscDV9pv9jPAx+xiLT2/JJzRqiwOrXJ4TLLcU5iObUdghfUXhrPVuU9TKaY 0wv+eGCHmiyRSm+lVA7Tlmni7M2s6s+6Fjl/BgOwlRFvvgxvSWlqPgZn1JQtpNVBRbslMxjcOzmsZ YY31rVM1r7L57u7lWRGISE73lFuEatwlRwd5ihuLazcLTxv0E844lVXpM34eBtUVY+tISU4JTad+B S/qbIShw==; 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 1h6hmj-0005o4-5p; Wed, 20 Mar 2019 20:26:01 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6hmU-0005Vj-TM for linux-arm-kernel@lists.infradead.org; Wed, 20 Mar 2019 20:25:47 +0000 Received: by mail-pg1-x544.google.com with SMTP id q206so2613571pgq.4 for ; Wed, 20 Mar 2019 13:25:46 -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=eAdIcXOpcOR3wLEK4yruXkVpo6EckNrG1lSlt64OUZI=; b=gIzBRJzcM+k5r6H4u4+EmCE3SkWkBarn6xj+dfByEbYU7tyCwU8C8qRM8SuVpGSwwI nNWEdn4Y1qh6rTXdtp1RwtsToGSGVArL0l2IsBLMuig1aTa+NDPOZsObVCR0DWiBe3bg KBiF4CHp1gHIcKbIoB/Lquzlp/1Y+doko+byLhUG1GyuHD8/Zdk2qOZO3t+23Ma/WRD+ mMaDMQjMYyWj5SnCGo57GVIZ+XTbDUfy7IM6b/5XQx3uz5vPDntMxGGrELPt3VBf7uEo A0dtp8mzjiqSmhRuz54+EWjWc6EAhdFB3H9+RXfrAVBQW8OJ0o+Jer5+O/6Xaq/XZ/jP eFKQ== 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=eAdIcXOpcOR3wLEK4yruXkVpo6EckNrG1lSlt64OUZI=; b=j7dK/5lx/pAoms6+1U+XEn5g3vZaPCTqFPkB0gpoyXK5xYlINwxcFkjl6Q6Q790JGI m6Mp+udp+dLTyFZvWZgiHK62Myf5p8qFmE53YPpdDfOPKrmA3wpQveYygbt5Sm5kbavk xAGZ75q6ScicsSfJgy4v3rawc3EByqlxcSpbn/OeNYve/bxYW92AQj1VyFzqK/KbjOIQ UDJnWB16KH7k2ofg/iwhylJZUc1rNGxUVnZ4MJAAjh1yi+DSxOcd/KqwlvpXdZobD0lx riDd3KlLSr91yVhB81iL275cv6AvJhC5l90QCyRqJs74Xh8PCYD31K8fMyx8GVan/ki9 Mssg== X-Gm-Message-State: APjAAAWVaTy4mBRL6uUQiuQao7BbrOa4SXO5e3h4CbYurnvmvhmVyHlF gdraLU5ebK1Ivgpuy04dNyEWdQ== X-Google-Smtp-Source: APXvYqx6PDtUYK1QEqYly0pizPEw5ZfEhXv7OAmY9NV/TFotUocn/4vIvwVyax2nNAujPSdtMxpjkg== X-Received: by 2002:a63:e801:: with SMTP id s1mr30451014pgh.378.1553113546379; Wed, 20 Mar 2019 13:25:46 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id u187sm866338pfu.113.2019.03.20.13.25.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Mar 2019 13:25:45 -0700 (PDT) From: John Stultz To: lkml Subject: [PATCH 1/3] arm64: dts: hi3660: Add dma to uart nodes Date: Wed, 20 Mar 2019 13:25:38 -0700 Message-Id: <1553113540-28726-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553113540-28726-1-git-send-email-john.stultz@linaro.org> References: <1553113540-28726-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190320_132546_948111_B1ACC88B X-CRM114-Status: GOOD ( 13.21 ) 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 2f19e0e..a3eeab1 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -478,6 +478,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"; @@ -490,6 +492,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"; @@ -514,6 +518,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"; @@ -526,6 +532,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 Wed Mar 20 20:25:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10862603 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 9D97C15AC for ; Wed, 20 Mar 2019 20:26:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75AFC2994C for ; Wed, 20 Mar 2019 20:26:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69C2929EA6; Wed, 20 Mar 2019 20:26:15 +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 EA6B129A91 for ; Wed, 20 Mar 2019 20:26:14 +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=oyEVrFQbeqSjLtd5zC0nH9PcYxfNSa/oeie1eVXbZJA=; b=R5N8SdvnKEbP4nbUuqWTSF3L7w yKMTOYyuKiuhA47IPUscINpkjEKHbZL14Kok551m/IqgQRhcemjxGePrTb84wmLCFYXgN8BvMAQmv m2PWhazAYLUe/q5ytr/HwUrjXI/VDi+ZUQejz04RGigeG5M7rxlLzpCsYxFgF/AepJXtR+DZ9GUyw SaWtJUJd/WE2v79dUKDfAqDFD2xDQCRHc0UENJx3uMzW8eeN4uxrqL1bKo+wnCVls8p/qVBdkaeh6 XEMp9Ecr9GKpPjNbulZiCFW+eWi35Iq3kToNKvs0cjypkiElSN1SIl6NpKfTg7Yn5iHrBcd0KCAFd qG8h0P/A==; 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 1h6hmt-00061H-Rt; Wed, 20 Mar 2019 20:26:11 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6hmW-0005XL-Uo for linux-arm-kernel@lists.infradead.org; Wed, 20 Mar 2019 20:25:51 +0000 Received: by mail-pg1-x544.google.com with SMTP id l11so2588540pgq.10 for ; Wed, 20 Mar 2019 13:25:48 -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=L+i8r+Ov28fU+nFY1Y6bbaTmlcsDjinSwAthT9sIfbw=; b=N1pCWZkqdRt+/zwSfF3Dozr1kvZuge0KCJt6rJoqj9fLsA2OgLL65Frvr4kvOapgF/ 6T8hBFtIpLMg5Qe8qdT1epc4e0qLxUwC4UMOcAXRLaSyLL3+92ti1dYbEcBaHlcZL3+o e92MZvxHU4n2xpc6tJdlmrul4XV28QtaHwFxusx4KhgrBTvpcjDGe6zW4LtCASA0DNvl PasCllZ/UCms+h2JTsHMKNZ2wTUiN6KUZ3Ngq5wWsBV8aGxNFabfLiCZaL5egr9auIGS x8DVDIFZH5Vd/faf4Hh9BhbzNFwzBg9qDGtjkpXyBknj6icugwAktcHcrUyJXifTP0F7 MumA== 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=L+i8r+Ov28fU+nFY1Y6bbaTmlcsDjinSwAthT9sIfbw=; b=BKEQU8p0/33U1AvnPHXjMqDQEF8cSQPTDIPPOcnPpovO0qNr2fnUJL/njiXrmFvir2 CitX+SPTZ6Thzw4Qog4JFuT1qM23UCNK0ee15Vlr81eBVYjQ/9xBm+RBXEEvaXz1meJf ksX/R5MalpBDZDb0SKTzL0eeKpTpaU/qbRnW4U9+877zd8qVMqlNxAGrorp9qXFKvYnC +9/VunTg0QeMBiAK4C1gy18G40+YJYBkFLHHWfNPUmbTLkSJnklsSGpqwyWrhvv+2E59 rR4I62IZHnyTVbofVch5QElGnGcNyG69RjqwIUms9BVdCJsbSgu3MJlLrxeTBpYCy9JB IRkg== X-Gm-Message-State: APjAAAVUTUy9vdBcJwn+eaLlhAN+Tr4S+HnBxXfBT6MKx1W9c3lHT9rV g4Y6ulQ080M3Ye/YE06RvRnuWQ== X-Google-Smtp-Source: APXvYqxG9PgqnD0R2mBm3PGLhzwpCZvemlb/tuMsdUsM+3lQrsRZeEffCSmU6L1EAQxKw6KKx63hrw== X-Received: by 2002:a17:902:a511:: with SMTP id s17mr10336596plq.262.1553113548417; Wed, 20 Mar 2019 13:25:48 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id u187sm866338pfu.113.2019.03.20.13.25.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Mar 2019 13:25:47 -0700 (PDT) From: John Stultz To: lkml Subject: [PATCH 2/3] arm64: dts: hi3660: Add hisi asp dma device Date: Wed, 20 Mar 2019 13:25:39 -0700 Message-Id: <1553113540-28726-3-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553113540-28726-1-git-send-email-john.stultz@linaro.org> References: <1553113540-28726-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190320_132549_262032_B75661C4 X-CRM114-Status: GOOD ( 13.75 ) 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 a3eeab1..fb5498d 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -567,6 +567,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 Wed Mar 20 20:25:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10862605 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 C285C1575 for ; Wed, 20 Mar 2019 20:26:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A006C29EAB for ; Wed, 20 Mar 2019 20:26:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9446C29EAF; Wed, 20 Mar 2019 20:26:33 +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 422DF29EAD for ; Wed, 20 Mar 2019 20:26:33 +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=kPlM88FfDNgI02Y+Q2KGPy9VAhsk8yHd6q1BtizbAdA=; b=T4O7MRfR1vpMq27GPmbGsl0ZCr iSvvzYlAt1BM40zPEf+G9pfg1J9icEMvBtGOGzUkJtArWoQDezW2GacUtkuxQp5fkaswUQTdkPNsg bA36BQwHZrEaf/vulw1BoGubZYKOIKe5CFN7HmOlbOstvTShJ3TkrupeUeQfHER/VS5pqait1jLDW qg1jfw+jc9xIbponMwC/zdhJFUBZrqzN31kaLAqvhy7S0SuVkgOGmel3ItpApmsEWq6RtpxYWgSx8 +e55Lm45+tt4NppZfwCbZmDPEsP6uSnBaOy+cae51J9vnK0LpILQaPYXpbQjexzp2Herv7LX6Xw2T NPQ37+5g==; 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 1h6hn4-0006Ji-Te; Wed, 20 Mar 2019 20:26:22 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6hmY-0005ZH-Ko for linux-arm-kernel@lists.infradead.org; Wed, 20 Mar 2019 20:25:53 +0000 Received: by mail-pg1-x542.google.com with SMTP id a22so2575482pgg.13 for ; Wed, 20 Mar 2019 13:25:50 -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=DuSiKoPWJiqg1hj1t8kPtVcU/YwHIsgZLXBJh+g7glI=; b=dvoZbYfdHCSu3bqwnHUvI4PQz1/AgCXtQ+RvuNo3d8mGJGLO92JpGmcdoU8hEeJD0r 2oSalPEVqq5dLmZrMFBNpcgGQPh7sFTREDlpRNE/O6VGtplkZjEjy+NDBKTWykOYXGdI AuVMCZ0XjSHOCN91QBRcAEdLBJRorxrwzw5YQCrWer9ai5/CANwknd7fR9VodeotK4Z+ cjw/s99pbPHIZyIQNisBs+lWkM9XBSbv0xQk/nn/NlYABvrl6gkb6f8TTufeOKJqYcBv 3LhCzNMTLH4EGwxIIUvHdS4KBa+jLIo1xlcafL8GIM4OcR9ocyXjP4R2F25RboGMeTBT uURg== 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=DuSiKoPWJiqg1hj1t8kPtVcU/YwHIsgZLXBJh+g7glI=; b=djQgD2KMjF5rzyRP/eGbE1/R53yuDlKugn7UCJWxkRjHDB9goKdTnCtKLyDbvtHLZr gaIytggQlhppy8foBC5ldewtW//6weoXhoE4PzzXKxLcdxVAfGvAo8nXMAVD4SmJoaRT uLou/SvxuLdIVPa8/OYl+mZqGURFCLviTG+5/lZmNSmrRLcvUGTdT918/b4HWoizfkGJ 5YuA7OoUTfd02Ad/7Jrav4B3S9MIDh4VuDL6Mqu8o0NB8fgGjL2KWtVcbcN8vYU/x9BE GJdd2EoccHCDewgT4FoGcMHY/7hmeqLWmjN0ut4XHJpYoSRK3Kg9xm2KvWCqag5zKbwC SvgQ== X-Gm-Message-State: APjAAAXB0OD947KBO4FsJcolGvatZ93F5N+BwXOSbk1VPyPslum3p9z3 OTYvPW41J1ceyK8lNAqloTR6oQ== X-Google-Smtp-Source: APXvYqzwQ6RZFvdYwgHTYaQHBtoqC2EKxmLBefxD53Cv05EQPzqEcun6sRJErq/a41B9TQw4wbBc7Q== X-Received: by 2002:aa7:8117:: with SMTP id b23mr10275844pfi.2.1553113549912; Wed, 20 Mar 2019 13:25:49 -0700 (PDT) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id u187sm866338pfu.113.2019.03.20.13.25.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Mar 2019 13:25:49 -0700 (PDT) From: John Stultz To: lkml Subject: [PATCH 3/3] arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask Date: Wed, 20 Mar 2019 13:25:40 -0700 Message-Id: <1553113540-28726-4-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1553113540-28726-1-git-send-email-john.stultz@linaro.org> References: <1553113540-28726-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190320_132550_900378_681EFFBF X-CRM114-Status: GOOD ( 14.46 ) 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 fb5498d..aa6a8ad 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -560,7 +560,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;