From patchwork Thu Jan 10 17:34:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10756447 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 2C0376C5 for ; Thu, 10 Jan 2019 17:35:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 148F026E54 for ; Thu, 10 Jan 2019 17:35:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 03D1529C6D; Thu, 10 Jan 2019 17:35:08 +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 606FE26E54 for ; Thu, 10 Jan 2019 17:35: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=gRzgCoG/fx4k8sE7IAQxnjgPUZpObgvSOSNwNW245ks=; b=W+wbkCUjJyxH9bkB0I8FOWEUJk JaBu/Xc/G791LZD6lNieE0xng38NhRSL0RYk2FXMFjFd9UqiYsmMB4huaz1YmUZbBkF1Ser2vbMFl 6v9G1VObaPaHVyYwsDZI9fO7h97fPmGRiqzqdjKc6z4b2MZSS+nwlUaYhTpwfnHoK0HDmMwc+NQKr ehr3Zh/4YbnBPnI7v4D9LUH8CM3R4PTkjjlpTmd3wE0Y92wQAB9puqVdXO4CT6XfCKQfj3BFU6Tzk weMrR0Tj0WkzAZLKGYkaHRAHbhgQ7la0CAalHoC39/lXbPDjT3mW4cNKmnaPzm6D81MZykWD/4ZIL Ks4x+m2g==; 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 1gheEO-0007Gx-Tq; Thu, 10 Jan 2019 17:35:00 +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 1gheDp-0006gk-Ej for linux-arm-kernel@lists.infradead.org; Thu, 10 Jan 2019 17:34:33 +0000 Received: by mail-pg1-x541.google.com with SMTP id d72so5095875pga.9 for ; Thu, 10 Jan 2019 09:34:25 -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=VnxmDmWRiHgP8rQwZAnpNW6+tNuZ3Gwc75mIp5vRAak=; b=SWCvuoSnfQU8l4XA5RnQA4Xo85TwZCLQhNPOOlMXlpaSh1JIEkFmqrLaT4JNvUSEYS 6StZRSA+n1lJ0bk+PUSx6ANXLkFjSLSFjSHlgSAWpiaoZcwnazcC+08U0ncm9ALhZg7T Y3eLnSwq4XG0sX76Evoku9ko3752RGhLLn/TE= 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=VnxmDmWRiHgP8rQwZAnpNW6+tNuZ3Gwc75mIp5vRAak=; b=LxXz6dmJlJ7CdKqae10wrQopvtoodjbwu/E9RI+ZKLuOaUHGExzYMjAr4B25m6qOYx oSJ7sKy/m4hqb9j1ud5GE0IZ/GzVn3UvNFvXnTCEFA4RcyOCR0tm6OFvsQa/XLCdl0tu 3QzeN05RCokknMRNEuhirlmRW+NYqG4wKKbOLjq+ny4YTnw22ShqK1K/J1DxuQS8fuSW 6WLqgJqcrYN7o783SdzaOkIuraE0bAaUxRDMAzbfj6CgA0l431vW2OLELXgusedvs7MP eKGwtJ0QRoaT7PF9sdUHXql3rVnHX0EnLfSDXbb4hEtwrftknufw/XA0hAiMlsjwv5pZ 8GIQ== X-Gm-Message-State: AJcUukfmSKmSlJvI8/tRLJlo01Alkoz35n/prYdxU7FiSzuzD6eErdA9 STTli/v2jS/fiJr5QHm/x4AsHg== X-Google-Smtp-Source: ALg8bN7XMfJIwJKKEavHsyAPlj4ivJhbI8iuWSsMXERF6VzGFeaZYQ1YqIKBRD4Wcncg2T0UDK0ewg== X-Received: by 2002:a63:1a0c:: with SMTP id a12mr9993920pga.157.1547141664636; Thu, 10 Jan 2019 09:34:24 -0800 (PST) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id k15sm125977409pfb.147.2019.01.10.09.34.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jan 2019 09:34:23 -0800 (PST) From: John Stultz To: lkml Subject: [PATCH 6/8 v3] arm64: dts: hi3660: Add dma to uart nodes Date: Thu, 10 Jan 2019 09:34:10 -0800 Message-Id: <1547141652-8660-7-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547141652-8660-1-git-send-email-john.stultz@linaro.org> References: <1547141652-8660-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190110_093426_081533_485896E6 X-CRM114-Status: GOOD ( 13.91 ) 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 Signed-off-by: John Stultz Acked-by: Manivannan Sadhasivam --- 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 10 17:34:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10756433 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 0BE116C2 for ; Thu, 10 Jan 2019 17:34:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E57D526E54 for ; Thu, 10 Jan 2019 17:34:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D92A029A86; Thu, 10 Jan 2019 17:34:37 +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 5729A26E54 for ; Thu, 10 Jan 2019 17:34:37 +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=ScapxXre+OmMYDCDmUEaPl880m APbA111KKaRklF4n7/tA5Cem0DxoU7Ra4oNDnS2BJpt1HM6ThKA7hRClUv3MO6ocLO/bi4iPb6xeY 9NvVetOaIFB9rJKNdww/0vYaltdxioLdfdgTS8sXeOHjWJ3aorkt4Dxwn8lqUG4odloE91pNVmUd6 L/GAkl5u9U7t7T+ZZXd7JiGNawLOoA0nOqSSwBOX1kRdWixMCnuo6iGaiwnZGYZje6rPwckFZjLdE f8RODvJlHWciVstCTFgmOL+dUQjvJi2ouNSamEYdS62LkJSfyOKskOCbzNxaNwLKnbV178rde8kcC zQelPRqw==; 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 1gheDx-0006pl-TP; Thu, 10 Jan 2019 17:34:33 +0000 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gheDr-0006j6-II for linux-arm-kernel@lists.infradead.org; Thu, 10 Jan 2019 17:34:31 +0000 Received: by mail-pl1-x644.google.com with SMTP id u6so5470975plm.8 for ; Thu, 10 Jan 2019 09:34:27 -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=iuy9V6jqxAJvqy6tSRvIkhHDKg8AXbR5U4GoOHS7AYuJ1eQsjPeBl4HoCL+CJbK8js YmeTND5LSvjqetT9V/BjRuIcOw7EE85aB+fz0Br7Bpbw0ga8wRqG+Gtk9Dn13KEepPQt 8OdyWhubbn3WBx+yHycjEcSI0/RspL/JCEcUY= 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=MEYlDijmKGNRh10VI4akTRSmNi1j1YjMTEE0mSCNUo/sOU5AL0l26HZpJHi9QM4Mv+ z6kwl6jJP4zGa4J2trqzMLokVwW5nH7Yp+7irRNeS8Oubk3yucHPtsippIneAFq3V0Wc Ga39o5bz9Fjbj3ELsjhFO3uJEfiaBkL53Yl5D164HVc71BqjamA+nziwO+mZ0l7DEDgT xcOLeNkNHV6QEVjeoBOMTXPRblWFM9INZSGVVhDm2hBnM7mIuMt7N0f3zL+VEm6iTnQb Aoo93fWH6P/D/bDAV2anUx5DTfmngOVLjunBX1Wq7RWuJO7+o989+lfCq1jYeg0oFe8k xGAQ== X-Gm-Message-State: AJcUukfYoAwbYbX2ic/vFO5DdMW0yjhBS45WtIs5mYTlQj8XNHKhabf9 LV5SWdent1iA7JPymeiVlBCIvw== X-Google-Smtp-Source: ALg8bN48czPk4P5inKX4Efd+Xi+gXZtHTbv+vius5pKpS0Z5BoHbBlmB83+2n1+SsSrPUACT2FXgcQ== X-Received: by 2002:a17:902:1101:: with SMTP id d1mr11079391pla.136.1547141666568; Thu, 10 Jan 2019 09:34:26 -0800 (PST) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id k15sm125977409pfb.147.2019.01.10.09.34.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jan 2019 09:34:25 -0800 (PST) From: John Stultz To: lkml Subject: [PATCH 7/8 v3] arm64: dts: hi3660: Add hisi asp dma device Date: Thu, 10 Jan 2019 09:34:11 -0800 Message-Id: <1547141652-8660-8-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547141652-8660-1-git-send-email-john.stultz@linaro.org> References: <1547141652-8660-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190110_093428_010530_4486668B X-CRM114-Status: GOOD ( 14.45 ) 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 10 17:34:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 10756435 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 0F29D6C2 for ; Thu, 10 Jan 2019 17:34:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED4EA26E54 for ; Thu, 10 Jan 2019 17:34:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E12F629A86; Thu, 10 Jan 2019 17:34:49 +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 5059126E54 for ; Thu, 10 Jan 2019 17:34:49 +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=nWK4hn07vfNZdonyYEi9CSFsDxFvjubPZNXvXJoFNyY=; b=Zf+n9s3bzhNirMnB/0qanLLX5k NEtaSezFbfA7Fw3Q8vWHd8PdGgJCWrH8priVKIQuyHTiSeAf6v7ElhyALJse5PGyl2BFi+cbJ6np+ 2QmTDh91oUBDBG+qu/71HdOMX4FTyXsvWpJDIXvdRh92UNtLBcAHSt+OEHTvbnE04+9PP4iXRazhT 3iabAECcj/Qkwq1RQvxRIyfOHFu9RX7/glYU0/Dva7H+eDhBlOV0Gg6+PtQGxiMRRh/0wDBG0mRpv OY2vrwFJ3ggfLhTYNmgAGEIqJKynOtc/TiT09fNeA99QB1mAuGwcAHtS+lehVMsfaAY6M2SZszEVa 2oZZ3bDg==; 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 1gheEA-00071M-25; Thu, 10 Jan 2019 17:34:46 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gheDs-0006l9-Sp for linux-arm-kernel@lists.infradead.org; Thu, 10 Jan 2019 17:34:32 +0000 Received: by mail-pf1-x444.google.com with SMTP id z9so5628295pfi.2 for ; Thu, 10 Jan 2019 09:34:28 -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=cmarbxwYg7HNoDTmchA0P0EFmwoGgD4g+3dBXR4lJyQ=; b=Q+WAK4u2sbyObQm/Ez2TxH+W+8fap0fCd+IsfJUIyFepCOkdFBVbxas3hfiwHd7fR0 LFFEZ96yuVyQE96noa3qbc/FxnhWnk6B76LyErUvkQY/aML86SvSiTkv6dzuudDYFBBq VYr+lM6NGifueQ+na4tm4ldvuF6xnHSQd1zOY= 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=cmarbxwYg7HNoDTmchA0P0EFmwoGgD4g+3dBXR4lJyQ=; b=PrCW+pJFroRwg/iksCWGfexxnRySsSJn9W5oY5fQ5goCa3/r22INomO3E7BQzPckVb /aA0TBQjcLpYrmD5e/UdCG3HuoFbsPlPZdnydJmd9H/0drkPWyb0MIjpJ8/lEoxDET5y IIP61504Y2TygtIctbYtrfaBnkGzQ2V1JBXP26PtEtC9A28l09AvdDWGK+2QgNzOvFy+ QDcWWvipKTQXRotlzdJ7Cqv9ut/rR3mIzzsnr41+H2+FvlGQ7LSg0lWYWO2mgGnG5YTn EkQVSJwA+PwzEtGqy8oH42rq95nJhauNZj5Tm5MZXgZaCpqSKAlue9HdlppVFMh+kjnv yKlA== X-Gm-Message-State: AJcUukcW4q6S3c2LEks+H1PV/bQmMe0C63y+nKlkbbt23yI1H6ALDn1v HL0q/SWOFc1UlZC16KVGpXk8vgr7D0UEXg== X-Google-Smtp-Source: ALg8bN7jM1miZVLKVI4ica31RWzk6lss0oL87SAW4AXMcr/zMoA1fw86+xhkL8YjSp4vkQd8KyHDQA== X-Received: by 2002:a62:399b:: with SMTP id u27mr11482003pfj.181.1547141668168; Thu, 10 Jan 2019 09:34:28 -0800 (PST) Received: from localhost.localdomain ([2601:1c2:680:1319:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id k15sm125977409pfb.147.2019.01.10.09.34.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 Jan 2019 09:34:27 -0800 (PST) From: John Stultz To: lkml Subject: [PATCH 8/8 v3] arm64: dts: hi3660: Fixup unofficial dma-min-chan to hisi-dma-avail-chan Date: Thu, 10 Jan 2019 09:34:12 -0800 Message-Id: <1547141652-8660-9-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1547141652-8660-1-git-send-email-john.stultz@linaro.org> References: <1547141652-8660-1-git-send-email-john.stultz@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190110_093429_082625_81787895 X-CRM114-Status: GOOD ( 15.39 ) 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 --- 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..472c370a3d 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>; + hisi-dma-avail-chan = <0xfffe>; interrupts = ; clocks = <&crg_ctrl HI3660_CLK_GATE_DMAC>; dma-no-cci;