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: 156297 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp7572041jaa; Tue, 22 Jan 2019 05:21:57 -0800 (PST) X-Google-Smtp-Source: ALg8bN6kS6vpmj97xqpzjTKa+Q9gVsc/ozw/v8JPpxcjKAjp8rMT+/V8f9d1EtHDJrOF8DxwnFAl X-Received: by 2002:a17:902:9a8b:: with SMTP id w11mr33551349plp.121.1548163317029; Tue, 22 Jan 2019 05:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548163317; cv=none; d=google.com; s=arc-20160816; b=obcYCSOGgf56hFIEwXrR8+VnqrrhA5sT/JO5a3OrtgrtN2hj6+Fg4IdMSw7TvN5qhF uyuXpPBuY1gddMy1dCd2cEyDSbw7GAMv6noO9mklZb6mYOylAJoacb7R9KGmvVTZyTOb a9J1zcqZAKXvHduDymZcsp4AjLt7Z5tSY1dvDLCCQY2d3No9u93LWLyW7CF3QyOwKhjF a24dTd792ITO70MxS1Q7DrRhbEH3MwSH9NCIecrSv2vtg/ImhaZ4LjNykljPANv//yu/ PBddfFs5Pt3pTg7ntkrRbOOE3itCMaIlTvQ7BMwirQ2Dakia3KG+bF6D0rWSRr6KDk76 HD5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=OIolF++DBLb/hz3Yaz/nran8arOkyxEnLLroytUGF80=; b=rCP4CvTFDDgIBXC829t38rY5Y5ne2FbFwP7ewRouRoQt/l0OUxpio4qEuYjZ+8tZuk aHo4YK+ZklxVmNVG5M8aoHPO5g6rypBt8/AhG5DCGtG4Xnl1W6os5OjU78QmKw8iHKWw 1CM6DggOnzn9FN2AeiNJjJ/odhsQzECOR52zHrR81j+wV68vlQa1hG4S0DJeg9ktFzrD TPpJ15it0MgWu+CVxMm+46kkrKVMoTLLZrYhTnfMUz2FSCBo8PYdsX8vNsbrDwiX9IsB yRMD7Ly0sqcST3xmluS3Rtpb7CIGZIKSqZ1VXVR/t0dEj64WTzijMM703jgMnwSe6iq0 VqEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a/qt11LK"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q73si15140604pfi.205.2019.01.22.05.21.56; Tue, 22 Jan 2019 05:21:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="a/qt11LK"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728600AbfAVNVz (ORCPT + 26 others); Tue, 22 Jan 2019 08:21:55 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:40548 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728523AbfAVNVx (ORCPT ); Tue, 22 Jan 2019 08:21:53 -0500 Received: by mail-pl1-f196.google.com with SMTP id u18so11487802plq.7 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=hHG2/JTROk5vIFxAvNOnAa2s3rBrG6qb5WFCIUsiqKpI1NTagQjEEECtu2ZMLM8+hC m6LnuCW+6oJIikKxKPzgJ3urXg3VXwductHU20sW2kAE9EAx3qcO/a55St/SL5wuKmvd vRPhtZ1X966XzMlBxJ9Jl/oNSunamfyiBXSv3siEHaCbfsb+ipRw456EWyp0n85E/W7Z 0EO8t8F4sg7ikz+cn3SPoWRvIh+hEBWj9kOgDbEWGAchIfkCbyP1ZtZw39E36cg8puKW he2QK7FDI5M5nf5uYfaRadX49BAv8c1oya53+hEjTmmHIFotqkmo79K9GaI02lp2isty xjpQ== X-Gm-Message-State: AJcUukdtVLY3g+G1aNyK/2Ncl3X+C2aaHsQ8PsCmqe3ZVYkIm1hJJ8xy ZO7hexS1rHTzRTYPa8c8XdVfHw== 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 1.7.9.5 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>,