From patchwork Sat Jun 8 19:53:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 166205 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp2157559ili; Sat, 8 Jun 2019 12:54:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1viXEe0xq8vKHr5xqtlXktxHaTj4g1zADV280ZmOxVyTMG93Txs8KuwUeV84+4Lzk/xFJ X-Received: by 2002:a17:90a:aa85:: with SMTP id l5mr12094302pjq.69.1560023641328; Sat, 08 Jun 2019 12:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560023641; cv=none; d=google.com; s=arc-20160816; b=nFy6AJSnHTtMy6CsM/n+FNTFaRK8ywV5X5ANRxwSllpSKmFFeqaMSWmvQuU/K5X7XH s2+vAf7UWFpc8/t2TAedIso1cMOY7aMPSFmOr7Uud41Ak+uz39FNWsInz4yFyXapmmwn dB40YthXR7obPy+HA5hhEoE6RXo5mXVnNIRKk53o3tNJP92ApNx2i+2jVgbopjdQBaFC DIV7DVVcQiUC3b1VyrEsRPqWGjn81Csh2jwcZ4qmi+LH+1+tP48iDyidLoNKC5SR6cx3 fQWVAfnIlaoQd/6iHuUizusivxe6w4TtziLUonv8sgA2zYi5Amdfpl9MBjzwfdekDmTz q+SA== 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:message-id:date :subject:cc:to:from:dkim-signature; bh=GdUGLfzA/moIy9fqv00a3/N33TZrVkt63TobdJZyyCw=; b=MNgIW58StKW4lcBvgwFwjYZYhSyObRompUIdnWbYJL6wI1e7cnuXOXQY++UioJreRl MJxtKs5lAhIrTlAUh+h0NhTZgspwbN95OuAxZ9j5b8Q/tHpR/LGbCZbnfnVZf8d1IXw4 vzJ/RKtuoAxns+n2yuPa9YdPSjRZ4WbrT+X2lJsFcc/seEf2DXg1QXmI070blgWlxStN CI8MzMke2A1MLsRLmBiGJi6zd6Wd76hkyowmZJxPP6O/haQ+bQC5Nr9yjNACVEFnLh+8 vT5GBIdsJM6qc81DwDfWDieCE3iPKexY7w0qIHKJ5dFbbtNjh4jucC1uSsvTZNbOZcLF tMAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZNKNnaGM; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-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 m8si5252580pgt.140.2019.06.08.12.54.01; Sat, 08 Jun 2019 12:54:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-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=ZNKNnaGM; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-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 S1727592AbfFHTyA (ORCPT + 5 others); Sat, 8 Jun 2019 15:54:00 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:41252 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727588AbfFHTyA (ORCPT ); Sat, 8 Jun 2019 15:54:00 -0400 Received: by mail-pl1-f196.google.com with SMTP id s24so2087321plr.8 for ; Sat, 08 Jun 2019 12:53:59 -0700 (PDT) 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=GdUGLfzA/moIy9fqv00a3/N33TZrVkt63TobdJZyyCw=; b=ZNKNnaGMGaVgsB6saqzXNbHdwK8ecK6V2qujeJjPKUCupMTaia18tRB0i/FPAK/pkf OEC2brPo4UrZ9vfr16jMQ7EnvyVggKNxCUtStO9sYqtv3PhOCGuadaM9WNiSDFZ7j+wL zG0Ks9wObN0WE5cFRSlxIQO6dQIkLKEjDPzaejITPtby0RkQThH7DupHWMaikg4YSRQ3 GbM5KUHn3hnMlOWykzGHgP7CsEFzfrHckSR0gHAhI0mFvHkm0V5qCDZ6WguyfTTkynEi IZ+OSsMJPRRO2t/8ahMNjnE7Pj2hZAm0hFc04R0C2Cl8MbMEu3mbV1+cS2u991t2NY0m gA4Q== 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=GdUGLfzA/moIy9fqv00a3/N33TZrVkt63TobdJZyyCw=; b=ookm0SjTfGSIHsWeGsIxxzsCGBIYuihsase1DcJv2IpTYvJoVWlPMWo7/aPVODXTVl wChe2j689FzeBpGy8eV3CV65MMv/PG+lw1HNy+EsY2KBU7OEwB5KlG5RPDIm2RYDCMh/ U1SbwkbXOcVcX+GZ9bKvfL+0qNPqhWbuk7lSuQst3Dz69LIECb6P4cF7OBRC5/WqVyg9 F6ek5cUTKips79xFPmAFOA2QwCjflFwqRzlwiM2wn+EtsVc5VszaVXPjkdLszLgn+kC+ MX+d3KFlBAGdmpJAVWLH4/TkGMZPwJWP25Rkhcu2OJcTjuOcm6ctr52etuoCIFHqxqTQ ninA== X-Gm-Message-State: APjAAAUc+2KKViAtiGldPuLTuMKTpDnAI8OnlBUw+L6FeZi7Jr0aWXAk kHqVhMYyHGJeB262Qso3JwR9 X-Received: by 2002:a17:902:3341:: with SMTP id a59mr33440069plc.186.1560023639563; Sat, 08 Jun 2019 12:53:59 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7185:fba9:ec1e:ad07:23ac:d3ee]) by smtp.gmail.com with ESMTPSA id b35sm6034377pjc.15.2019.06.08.12.53.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 12:53:59 -0700 (PDT) From: Manivannan Sadhasivam To: ulf.hansson@linaro.org, afaerber@suse.de, robh+dt@kernel.org, sboyd@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, thomas.liau@actions-semi.com, linux-actions@lists.infradead.org, linus.walleij@linaro.org, linux-clk@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH 3/7] arm64: dts: actions: Add MMC controller support for S900 Date: Sun, 9 Jun 2019 01:23:13 +0530 Message-Id: <20190608195317.6336-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190608195317.6336-1-manivannan.sadhasivam@linaro.org> References: <20190608195317.6336-1-manivannan.sadhasivam@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Add MMC controller support for Actions Semi S900 SoC. There are 4 MMC controllers in this SoC which can be used for accessing SD/MMC/SDIO cards. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/boot/dts/actions/s900.dtsi | 45 +++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/actions/s900.dtsi b/arch/arm64/boot/dts/actions/s900.dtsi index df3a68a3ac97..eb35cf78ab73 100644 --- a/arch/arm64/boot/dts/actions/s900.dtsi +++ b/arch/arm64/boot/dts/actions/s900.dtsi @@ -4,6 +4,7 @@ */ #include +#include #include #include @@ -284,5 +285,49 @@ dma-requests = <46>; clocks = <&cmu CLK_DMAC>; }; + + mmc0: mmc@e0330000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe0330000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD0>; + resets = <&cmu RESET_SD0>; + dmas = <&dma 2>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc1: mmc@e0334000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe0334000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD1>; + resets = <&cmu RESET_SD1>; + dmas = <&dma 3>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc2: mmc@e0338000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe0338000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD2>; + resets = <&cmu RESET_SD2>; + dmas = <&dma 4>; + dma-names = "mmc"; + status = "disabled"; + }; + + mmc3: mmc@e033c000 { + compatible = "actions,owl-mmc"; + reg = <0x0 0xe033c000 0x0 0x4000>; + interrupts = ; + clocks = <&cmu CLK_SD3>; + resets = <&cmu RESET_SD3>; + dmas = <&dma 46>; + dma-names = "mmc"; + status = "disabled"; + }; }; };