From patchwork Thu Jan 24 20:24:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10780083 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 00F2C1399 for ; Thu, 24 Jan 2019 20:24:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E21742EF27 for ; Thu, 24 Jan 2019 20:24:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5E3F2EF8A; Thu, 24 Jan 2019 20:24:51 +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 727912EF27 for ; Thu, 24 Jan 2019 20:24:51 +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=Ud46xlID6/1MOAlk5IAWoC0WU29DTeksXQbJTSIPlx0=; b=Zcw8e+kno+UAkkOF31SPhlXMIb YHq2JJI+OjFRtIb7yacmaOwi19sYt+Vk0pC4OooYUP1r5a73kKPZxw4rKrY+A0jd/Z/SSEG1Wx8lS 6DeSUfHiwE5OB3lQdLaTCx+PaN0KKA77E5uOOj+wXUUt1vp5i25PQ5hWOMXUd72vHEpfgxbDVqCXx rKHH06qbATDawcOL2NEQmZ2RuY13CHqBnqOo5gxil9SZJxUL1s7cfO8ZTG70uhO7iBoCJkKPbgdLN l6vq1epFyo/tygYb0bzKA7r0PnK+Z9gnwPfrhmRoCzle4Tp0Sv3bCZFsEm2+Bd/Z9gfpii+dd0pcp rlYwVr3A==; 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 1gmlYO-0005zZ-HJ; Thu, 24 Jan 2019 20:24:48 +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 1gmlYE-0005pV-AZ for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 20:24:43 +0000 Received: by mail-pg1-x544.google.com with SMTP id z10so3155441pgp.7 for ; Thu, 24 Jan 2019 12:24:38 -0800 (PST) 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=o5vW46nrjFVoZsnMcgT1mEReDdf43fF1J2psQEiWFOU=; b=SzoX7d+HKT5NucVKzZ22vuD4IMyi0BUeNEq+nZsXxgjwCVzKVfDBPnrJjg9VIXt4FV ESbJQqmYfE47OwYqfFizlKN95G5CdKqjuagakR0MmwNaLmoQCmTUvHdmuWZS+VbPhetq hQUngAFjUQ7/6Zm468Hmlhpzg7Q3xIUJTjHrg= 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=o5vW46nrjFVoZsnMcgT1mEReDdf43fF1J2psQEiWFOU=; b=NvB1PKzsACudkPa15Ej4ogETAEU6cmmHCOD9lrcpeyAMZ+Sj2icdlI6RTlD/82BOnf Bv6AIOWbTOTaNGRSp4EkGbJboxzbXGTHNznHpYbmndhFlg4ysgZb9+HToDgaTu1yCZBp AMEodNVbZAS+1daIdnywzkAfsi0yxwYvSrI64MNDDWr3wSDA67nAsKsmghsAyPSNfEe8 yGahgPpe18S/ZyUfrHwSyJvG12cygEgopX5kmkY0KsaUI4AXVNPt1kCjl26P639iwF8D RhS8SLx807bfzOLwQpfcl3lWo1oZzGG0lIZ1AFxw/w3o71/bWyzjE0r8pkBv40SmwSzr QT0Q== X-Gm-Message-State: AJcUukf0QlNBgwsLPiQY+kZcTVznwVxkvOklsNNCkTwtt9sjxk3RUEL5 nKrf1eMABBd0oOFcu5qT3oliRQ== X-Google-Smtp-Source: ALg8bN53AUnDLmlfA5CanT+1yUS8gKuszSeTS3DYr7MsI/bOcmzSj4lSCbjz6YablM37qmPTUwrN5Q== X-Received: by 2002:a62:37c3:: with SMTP id e186mr8138281pfa.251.1548361477400; Thu, 24 Jan 2019 12:24:37 -0800 (PST) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id c72sm45263309pfb.107.2019.01.24.12.24.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Jan 2019 12:24:36 -0800 (PST) From: John Stultz To: lkml Subject: [PATCH 6/8 v5] arm64: dts: hi3660: Add dma to uart nodes Date: Thu, 24 Jan 2019 12:24:21 -0800 Message-Id: <1548361463-28372-7-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548361463-28372-1-git-send-email-john.stultz@linaro.org> References: <1548361463-28372-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_122438_990420_CA5AA472 X-CRM114-Status: GOOD ( 13.48 ) 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 20ae40d..4c8d682 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 Thu Jan 24 20:24:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10780093 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 F12781399 for ; Thu, 24 Jan 2019 20:25:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE7A628F4B for ; Thu, 24 Jan 2019 20:25:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D01282ED7D; Thu, 24 Jan 2019 20:25:29 +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 62B7728F4B for ; Thu, 24 Jan 2019 20:25:29 +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=yj7/vriC9AdyZnezfAsdZhRHsHV0HvcsNCXNAOUPy5M=; b=brouYnBUVEkiWDI91oeWsAbnsS lEYFzAmRh/r/gThPOfU5K1l/tUaj9C3s9X/5u8DnTzSDJyKRNkPo7JoSSxp2ZUa3d2n1Ai/HkARCl FAfQHmeu0Vn/DpUYDeLUsUAtK6Rq664xyA5nwk8HDn755FIYOBwTxzKNmQsRLzNRj5F7wd63Xu38m 9l3M5QSBTLNtklE/ra6VdjDB+zt6H/KlC9Mc6BDVgbOErTiR+VurvUlCwXP7TdejI7jZe+VRNukG8 5fLqYiSLPAx/qrR+0WobTB6F2KRyBF67gGNgif/0IKOxN2bc30FI1N1Z+Jpf7u7ge57Qxb/t0rvk6 qdk0hWJA==; 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 1gmlYz-0007jv-DB; Thu, 24 Jan 2019 20:25:25 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmlYF-0005rs-MX for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 20:24:46 +0000 Received: by mail-pf1-x441.google.com with SMTP id i12so3556462pfo.7 for ; Thu, 24 Jan 2019 12:24:39 -0800 (PST) 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=BJPwKdPemEfYMv75wEmswxneBbTlFKZrByoYlXp3bSs=; b=GBVgzAGeXK+Rhr1uP35wQOeRalFHWCi6YOovZ9EHhbjKLg4yxkKXqnqtApf0Y5S3H9 b4H4CAPIayf6QvJmzrs55RsV5o8EGOhnulQipxJQbllKeAijXxj1I8a68SNWkSFK/gRT R8QtLPrvRqGYp6FmqxxigMenl9z2kGBksziag= 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=BJPwKdPemEfYMv75wEmswxneBbTlFKZrByoYlXp3bSs=; b=ugXk+ZO/yHf+BNM2J4iNwDROC3ddwCVCX1BOnZeHMeNrA8y5Pgh6n96s9oRUlc1gs1 ZShT8i22+Ap7rUpBeEE3rhJAdN8I0nZWIfskwMAebQDvX6tBl0/60JV/70PUaLKqLc1W +YX7yED+WubRBwVOkAN73y6poxGpJ5t863hHK8a0OBFdL9NvM0IBMgNzZUp8NZCWNKat lyaFyNsh0AlXua5mbn5Tep6Pa3/7fShlEIP4ZFXDO8ZVz9d+6kvlG9z7WGelvXxiWWjR ZBijS+GRaWroy09OjsnUs9HT9HHPMkbFHE2x+Io/QFoQ0Mb9eqAu9kXlb8IvkgL2dPXz BTAg== X-Gm-Message-State: AJcUukeNhbgYtNhpbV+UY4Jp07KPrOrhtpa67ppDXRoe984Fi83qBqJf tUvkzdjQOMnhX3kPDNKRu+chVw== X-Google-Smtp-Source: ALg8bN6A6yCdAMBKYtld1GZx43O5sg0gUviTrnslHfiYH9eOjxyBo3E/puHb2tby2efvI4cQdIGP+w== X-Received: by 2002:a63:6ac5:: with SMTP id f188mr7369721pgc.165.1548361478990; Thu, 24 Jan 2019 12:24:38 -0800 (PST) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id c72sm45263309pfb.107.2019.01.24.12.24.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Jan 2019 12:24:38 -0800 (PST) From: John Stultz To: lkml Subject: [PATCH 7/8 v5] arm64: dts: hi3660: Add hisi asp dma device Date: Thu, 24 Jan 2019 12:24:22 -0800 Message-Id: <1548361463-28372-8-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548361463-28372-1-git-send-email-john.stultz@linaro.org> References: <1548361463-28372-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_122440_229785_29084097 X-CRM114-Status: GOOD ( 14.10 ) 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 4c8d682..77a7135 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 Thu Jan 24 20:24:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10780089 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 25EE31399 for ; Thu, 24 Jan 2019 20:25:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 144CC2ED7D for ; Thu, 24 Jan 2019 20:25:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 069572EF27; Thu, 24 Jan 2019 20:25:11 +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 A4F212ED7D for ; Thu, 24 Jan 2019 20:25:10 +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=T16GeWZOiT73dXbLepk/lOj44kq2Yenuf818jj9KINc=; b=QweTYWGQn8juImknC5POI1uHHK rpomNW+CbTo+3GtNZgcSZuLR0zXhFt2ZFl9CtiVf5NBjikZgq+540kGowvo251mzP1rB3972fxN5H T/SvKYZCheEMqju9Q7iKcioERf2T+tcBcw9Dy5QcOCSO3l/4QtToB3PXoIByApETu129IiadE8PhZ 9kw6BPCm3NFmpyfe2ic3BVcrEzcbaI/pAIDr2R1U/qXLhdxbAl7MB2DHvzBqQsEWWOnLf9kxdJUsR SxkntLJfcAFMfRB1ZJRtzBWUlnAZX56uNwLwAC0rz8AANzXzea0pkyx6vWnky+x+DzjJjHGy8jYWu 8IH7wNhA==; 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 1gmlYh-0006Vj-Up; Thu, 24 Jan 2019 20:25:07 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gmlYH-0005u2-AJ for linux-arm-kernel@lists.infradead.org; Thu, 24 Jan 2019 20:24:46 +0000 Received: by mail-pg1-x541.google.com with SMTP id j10so3169887pga.1 for ; Thu, 24 Jan 2019 12:24:41 -0800 (PST) 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=zv1p7S/mFrTg6FG0oPOD5Dt1Uya0EvieWRYCNbiH1Ds=; b=dGm2Ozq5crp8+eZBR16Xeq//kci+lmx85Knj9jwZD4b+AHP0VpEYFz0Takk7S5Iaqy Wfq+Kpf2etqcgQ16ATmrRPKcvbtm3KUm88Gvh3qP9JL+N7OeSefxoPObqKJziK+HvHoT qhcVqvcIfwfAAdLAO1uHUSBFmdIEQAEXYuYNU= 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=zv1p7S/mFrTg6FG0oPOD5Dt1Uya0EvieWRYCNbiH1Ds=; b=f4Dzj/U+gd1+5MYE2fv9Rf0CrNyF6EDOFPVIxT8ic/EskhjGWKz46XZIpmke7mkw+6 77f6u6hgdebAfDoNYAgsvrOVGKWfHfMwWJhgNPbYLhzagOvByTyzMliQOnFIGvINQnCJ kpxWcf+8toAn9l0giL92GUXQy+Bp62zIeyOuHM4Si8U85k8tE95wcsEWrDKtryO8uHrq CmApz8vaImbXs+ysCA4K6H+d5gKe1a/pD/xWK6tbHXxWYQ3l/xgbg0WDJaO5U5tFnH1v 1bYC2VeKh9lHt5aNcH1MS/fAUokpBZq4y6sgzhNF6MdoT3pOKfsCYd8aCV5Gb15zGHhd umpQ== X-Gm-Message-State: AJcUukcUdLl4PqN0OSOnhMouduQ8XVS2kCzayrGsWmYIc2sbc1I1vlYl 7XWLS62X4q4lVkzbwPkzXZyUuQ== X-Google-Smtp-Source: ALg8bN4BK6Qul4gBOxPwsPa1bw2asGXGLk8N0wxFWhdu3ikDvvh2cqu12xyZ67ramgXwQ6tNjk7GZg== X-Received: by 2002:a63:63c2:: with SMTP id x185mr7236745pgb.374.1548361480562; Thu, 24 Jan 2019 12:24:40 -0800 (PST) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id c72sm45263309pfb.107.2019.01.24.12.24.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Jan 2019 12:24:39 -0800 (PST) From: John Stultz To: lkml Subject: [PATCH 8/8 v5] arm64: dts: hi3660: Fixup unofficial dma-min-chan to dma-channel-mask Date: Thu, 24 Jan 2019 12:24:23 -0800 Message-Id: <1548361463-28372-9-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548361463-28372-1-git-send-email-john.stultz@linaro.org> References: <1548361463-28372-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190124_122441_762647_15ECA079 X-CRM114-Status: GOOD ( 14.76 ) 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 77a7135..8e48f42 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;