Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp122209ybt; Thu, 25 Jun 2020 17:03:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhI1/mI186GuMAzFZsv/0sh0+5Gcb3iE6/tMGnAjDpBPu01xxndwzc3tzqCmR6xbgZVs0u X-Received: by 2002:a05:6402:ca3:: with SMTP id cn3mr814909edb.64.1593129819372; Thu, 25 Jun 2020 17:03:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593129819; cv=none; d=google.com; s=arc-20160816; b=UOsCLAaAE5d8H+ZrcU7j/PhjWisslShRRd1GcABrCviqxDvjK0QMn/+m1FTcnZA5l0 cjd84UVOcD4J/2B3NjdIANbYj/bTjTpfnzruHZIzG/zmVr2vEY10uswce4HRXqXtuYUZ tmpT+8po/ZmFj/xFdGqCBfApvoabugiuC2Dwxydu0QpmKqkdLywtcAPI5KVmfcAF1VoJ GIdS4S3elZ0qSi9qLNkc+kcaT/NKVE+37GvvNp/rRpig34fMWZI0AiQZ40UP2MNNwNVA siSf5xT+cCJev0r2d65atEcRrQW33YbOkKEXsy6J/Sh+6bzZwPFfc4pW7p2NKzrF8Bj2 06mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kTpL1gD5GIJIE37fBvllr7//tnkm3Mje2qpM2UoKUL0=; b=Dfe3YEle29f4iOdDN/u3YVLtPjLUKhIAJ8HBPZmBbYTjcRXsar8SRJgYi0sghm8WD6 CqkWBL3dI64ayC/pzmTSbnqHOhkniJl7E+Tla6aBWnp56NpOXX40mMBsZzPMJbGuxxG8 Ane/UNVcPi62n7knUtFajDsfCQz7pGsFEM5GK3dJ0QVdwkDG1UFMhZY69JkzZyorMlND H2YvPaUyCbI9lbxHbe/wN26FdPbTNXlZO0JAe7SOwGCbNIm2Jy5K6G2bPKQ7ZuflrcuB +j3XxuWmNu4RDVopDuC5sIJLiMgQJ5Q2zy6Uve5Wi1QKzy1nbUQDYsw04/5LIoLp+Apd DEyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MCcGulH6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h2si15056283ejp.405.2020.06.25.17.03.14; Thu, 25 Jun 2020 17:03:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MCcGulH6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725981AbgFYXem (ORCPT + 99 others); Thu, 25 Jun 2020 19:34:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbgFYXea (ORCPT ); Thu, 25 Jun 2020 19:34:30 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4367C08C5C1; Thu, 25 Jun 2020 16:34:29 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id n24so7636538ejd.0; Thu, 25 Jun 2020 16:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=kTpL1gD5GIJIE37fBvllr7//tnkm3Mje2qpM2UoKUL0=; b=MCcGulH6dRTj6Q256xnR01Ji76woRxHOyyI4xzMrBtHSCBbLKUJmU1Is6WFxZ7C5BI nWlpzOwxKdRvpjA1SorR6VKvUXdAtsHcCwHFEvTHQSIAWhB2ZzaKOoohlzn6zGdPLip3 uQ7ChBA+HAH0sFIhd0+NMdQpDM/j/3TmeeEbFuyAeOHulBu54/40BDGncdc23A1zkO/+ DRYkjKRXHxkwKCThAt75icuwfKPcBY9y8VlXd4RNcftwCuz+Pv+JgKYFp/NbzwoufNo7 FpPasm/SvoilOxfKztX+J3gG6KX2TQkK+m+zFhkny42meaLzp22m9InjJocFn0fsvnZf MClg== 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:mime-version:content-transfer-encoding; bh=kTpL1gD5GIJIE37fBvllr7//tnkm3Mje2qpM2UoKUL0=; b=pWSDyjw4CdB2uQabirCkh7hk1lLcaUMS1VT/VNMcVIjc/GrS9WZ7p/ISQLkQKibwrt 4Bd1naXo6VCmj3Rz/RnOwcuPyEEOKmwem5d3gmilQG+59yHq4HzOueGaL/5b66qQIkGp rI5Y1Atw8cTk7OLknHEIbFlUCrjoW5pqY8ALER881ie6PyMPns2tlCB/tcS7GgEqugTO SPVhwSPVDQf4K0hrlDPsD28wkJIyqFYEz8boxJh+wxeWiky09Y2aua79vrnF24MiIIbs UtGpTH/CQ8pcSnXOd7AMvlz/5F2pxSn2iXkB7qWOEYcPYzXDUayrrwk1TYYtmXnZOGJD R3bA== X-Gm-Message-State: AOAM532cYv3sf83fXeziFg6ONm7NwvafUXZ2yrlW1+sPhbGsT1XWo4vE PZ1awd+lgcxLLazd4iIdN2o= X-Received: by 2002:a17:906:c24e:: with SMTP id bl14mr161159ejb.285.1593128068569; Thu, 25 Jun 2020 16:34:28 -0700 (PDT) Received: from localhost.localdomain ([188.24.137.55]) by smtp.gmail.com with ESMTPSA id u2sm13699184edq.29.2020.06.25.16.34.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 16:34:27 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org Subject: [PATCH 03/10] arm: dts: owl-s500: Add DMA controller Date: Fri, 26 Jun 2020 02:34:15 +0300 Message-Id: <53a92ab876246025cacccd1e0753b5b2910e37da.1593124368.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add DMA controller node for Actions Semi S500 SoC. Note the Actions Semi Owl SoC's DMA driver seems to be fully compatible with the Actions Semi S500 SoC, even though this is not explicitly mentioned in the source code. Hence, for the moment, enable the DMA controller node using the "actions,s900-dma" compatible string. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index ac3d04c75dd5..0f4fc5487dad 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -205,5 +205,19 @@ sps: power-controller@b01b0100 { reg = <0xb01b0100 0x100>; #power-domain-cells = <1>; }; + + dma: dma-controller@b0260000 { + compatible = "actions,s900-dma"; + reg = <0xb0260000 0xd00>; + interrupts = , + , + , + ; + #dma-cells = <1>; + dma-channels = <12>; + dma-requests = <46>; + clocks = <&cmu CLK_DMAC>; + power-domains = <&sps S500_PD_DMA>; + }; }; }; -- 2.27.0