From patchwork Tue Jan 22 13:20:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "(Exiting) Baolin Wang" X-Patchwork-Id: 10775499 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 1FBE01390 for ; Tue, 22 Jan 2019 13:22:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0EE9B2A0DE for ; Tue, 22 Jan 2019 13:22:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 033802A0EB; Tue, 22 Jan 2019 13:22:22 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA8C72A0DE for ; Tue, 22 Jan 2019 13:22:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728587AbfAVNVy (ORCPT ); Tue, 22 Jan 2019 08:21:54 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:39344 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728582AbfAVNVx (ORCPT ); Tue, 22 Jan 2019 08:21:53 -0500 Received: by mail-pl1-f193.google.com with SMTP id 101so11478172pld.6 for ; Tue, 22 Jan 2019 05:21:53 -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 :in-reply-to:references; bh=OIolF++DBLb/hz3Yaz/nran8arOkyxEnLLroytUGF80=; b=a/qt11LKV/+zOK/6ySzuyxvITAkl0FBYgrPDH2o8Eg/GnYgfnPn4dUbMB4m/WuwfKt W5/vXs8ovAyg+9wKWFfOQPzOXmKsKvkPZxnpOfxRrtzIj4TLWZEQU/yzlImfXkeDGLAW bKlqJPoGSHfAB7G4IVyqXOzcRhBXBD/50uvYA= 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:in-reply-to:references; bh=OIolF++DBLb/hz3Yaz/nran8arOkyxEnLLroytUGF80=; b=PQyi7LIaDbcwVUvESJboWrT70c1E6ul+c8OEdI9+jsiyj3V4RgvxQ38l1c7Cx0eHOk 0vUqyZwX4XgUFXTNm0AgtZ/zPfIJMRSGeVLKAQcT/oDk6tNRGjmgbPgniyq9gOZUgPPa b8SWUT9MPeAAQGP03CEJqY/JRgca2UPQ1Q56er5Vpsp0yFjgAxf5UJEK07mhShg97g9n RHZudvoXPW6mI7SA/eIPnkuBAmndfOqkx0NcYIH0zMqPukYFMmhHVpsGQUgo/aAF8L9F b/hUBsuZdUW2I8LAzM8FK24DWjvD2p4L+y/oJ7Qb0L+RRg2lrHy/jh2mh7E7LZjgWSDI eIeQ== X-Gm-Message-State: AJcUukcFGY4FzA7WEiWsBOC9nwS29Kju89e5LTgueon7nw9569ZvsurD W3o7h8H54x0pbLzbrAOUbDfe7w== X-Google-Smtp-Source: ALg8bN7/0SWz5gYbYU9eFTAYHI9OW8/XaHf5Zko66LCEWBGbg7qvDe8YgkXXlE7R39+JwugTQmyOUw== X-Received: by 2002:a17:902:292b:: with SMTP id g40mr34579416plb.82.1548163312908; Tue, 22 Jan 2019 05:21:52 -0800 (PST) Received: from baolinwangubtpc.spreadtrum.com ([117.18.48.102]) by smtp.gmail.com with ESMTPSA id l185sm21609574pfl.54.2019.01.22.05.21.47 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Jan 2019 05:21:52 -0800 (PST) From: Baolin Wang To: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: arnd@arndb.de, olof@lixom.net, orsonzhai@gmail.com, zhang.lyra@gmail.com, dan.j.williams@intel.com, devicetree@vger.kernel.org, arm@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, eric.long@unisoc.com, broonie@kernel.org, baolin.wang@linaro.org Subject: [PATCH 3/3] arm64: dts: sprd: Change 2 cells to provide DMA controller specific information Date: Tue, 22 Jan 2019 21:20:53 +0800 Message-Id: <44135b35c8a4fb1a68bb9c57013b672dd0fab3e7.1548158832.git.baolin.wang@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Change to use 2 cells to provide the channel id and slave id for client. Signed-off-by: Baolin Wang --- arch/arm64/boot/dts/sprd/whale2.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi index 34b6ca0..dbd61f8 100644 --- a/arch/arm64/boot/dts/sprd/whale2.dtsi +++ b/arch/arm64/boot/dts/sprd/whale2.dtsi @@ -117,7 +117,7 @@ compatible = "sprd,sc9860-dma"; reg = <0 0x20100000 0 0x4000>; interrupts = ; - #dma-cells = <1>; + #dma-cells = <2>; #dma-channels = <32>; clock-names = "enable"; clocks = <&apahb_gate CLK_DMA_EB>; @@ -273,7 +273,7 @@ agcp_dma: dma-controller@41580000 { compatible = "sprd,sc9860-dma"; reg = <0 0x41580000 0 0x4000>; - #dma-cells = <1>; + #dma-cells = <2>; #dma-channels = <32>; clock-names = "enable", "ashb_eb"; clocks = <&agcp_gate CLK_AGCP_DMAAP_EB>,