From patchwork Mon Sep 16 15:45:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 173859 Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp4056581oce; Mon, 16 Sep 2019 08:46:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAYLotaev6umaGhBra2ojZdUeR9mT4qAEmjRThQBQHRDrUKVzI9K56wn/3k9XQrr6Fs/fx X-Received: by 2002:a17:906:797:: with SMTP id l23mr682859ejc.188.1568648799945; Mon, 16 Sep 2019 08:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568648799; cv=none; d=google.com; s=arc-20160816; b=nUi6g2B9ka49Ewr+40BEOUHSZi7L/1R4eBA3HdH23eL4v1dFFqCDMrlvh6NXPuU8FB 6Q36A/ZCDO5eCmZTDJOihssOtVFEy78pcECyk4Su8LnbK3q8RJZagaEp6S1fdUbG6mDP nGxnvVzcA7DIIE5SzJokrW0WO4SjHSNu1ex2tFPMUrXMcw5noa4GyuH/7ZLJCLuSxgje 5+0mjFTK+7oG3V+tleF1JoWo2lPmRuo/JJGK2wuu0Wcq03IG8SH5g90TIuTH951uL3SU zGA4XdyJouJehvA+8iZVD8PXmOcHZwu2pF8zHxDRv3nSdnt5bUdua0lP+OvYlJVnPFhZ /bSg== 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=PkIJlZsSRJYihuP/2eT0AX4SJsxWg47lBqtKP4xowKQqsgT3GmqAh6cpJl9NDEMHst H/InaChcBDcR//0r4mqlWyKogWcF8tE+heX5X9HhPmbsUlrCojyQD4yuc7EFAnz5CFCr XLk3If8Iqcqwyhl914y4L8APgYy5WRa6ZZInRC9Rw9au76sQYFbxxXBbX26LJL4izN7k 6xL1W8nlaCCENE3EJDQGUd+bN/T0H7t2d1hKTo7YAHG/H7te6/6wt+Le0yh+R4w9sF50 Gjdm6GfQpaI7+g/pDg1uyVWf1rUxceesaY0/W8nZ4ZVL0n/JAW8i5N5PHK3gvZwkDNrj SmTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f5uuo8d0; 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 j47si23126812ede.117.2019.09.16.08.46.39; Mon, 16 Sep 2019 08:46:39 -0700 (PDT) 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=f5uuo8d0; 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 S2389437AbfIPPqf (ORCPT + 27 others); Mon, 16 Sep 2019 11:46:35 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42190 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389416AbfIPPqd (ORCPT ); Mon, 16 Sep 2019 11:46:33 -0400 Received: by mail-pl1-f196.google.com with SMTP id e5so54794pls.9 for ; Mon, 16 Sep 2019 08:46:33 -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=f5uuo8d0Eac1oehzzno+gz4SgKXXXELEQr8OOsFMTlLzjQHG1qP3ca5oK34hNBEw5H 7icQx4hOYnguI4btVP/2f+R/WtV0vnb/qG0VhwifaUbNDTDOszAGraQSRNkHaZQhVLkN P7XHlajOs6MINTQpKI09MvV5s3l492Tsfp/9zd+XiRpjEQUhw4/8lM7+dVRBzVybGgxi 7j4qqkaQD1tL4tYSRER7C1iQoGhv1iAJNwaUlPwmGN9FUBtlzQ5j/5Ghc3kACrw/OOWX ASIo3Dta1rCyZrbDZCbcJ+CKCPa8VDN0zoQLut0m5YjxyW9Sur67vJOuLXTPbAwCEoPN +h1w== 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=sYesnWvKPI0NeKC+fVSnS9xDlhF21MjgYR1Min/v8rqkdRhfNfSRee/DyWelnGg6fJ E4YGqoXeRHFVgHfNInK9r5L0W1w6qbQYEjaQrhJWXJCRTCjM152nl1f3qCiLOryU1/8l g0RpRLR/OYa9AvfGiy0357Ra9H3/qBMTD5BDmt4zFWwkmFMXFdkhpcVcYAJJ64P3/QKf LYdSdg/RYgxU/I0IHXvuJ09NLTH/s+Fh0I8FfpoY0lbZAycMFckRGpi7arTVgePgZhEJ oi2R3vXBNZ45CjWPGjcyKJPq+OrkNV/JHHveuWYWErjIb5eQz7tp8uk6aLt087J1xK6Q LXtQ== X-Gm-Message-State: APjAAAWAfBg+1eakTVQqtO2oHEYSmWnMzwRzFYZGg/yXYmrznrJYIAjX CHgg4jip5kwkRee8AA9MT+4F X-Received: by 2002:a17:902:7401:: with SMTP id g1mr500851pll.20.1568648793095; Mon, 16 Sep 2019 08:46:33 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:90b:91ce:94c2:ef93:5bd:cfe8]) by smtp.gmail.com with ESMTPSA id s5sm36227670pfe.52.2019.09.16.08.46.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 08:46:32 -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 v4 3/7] arm64: dts: actions: Add MMC controller support for S900 Date: Mon, 16 Sep 2019 21:15:42 +0530 Message-Id: <20190916154546.24982-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916154546.24982-1-manivannan.sadhasivam@linaro.org> References: <20190916154546.24982-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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"; + }; }; }; From patchwork Mon Sep 16 15:45:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 173863 Delivered-To: patch@linaro.org Received: by 2002:ac9:19ad:0:0:0:0:0 with SMTP id d45csp4057046oce; Mon, 16 Sep 2019 08:47:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwW16s13IjgirFXEF9vhqxNnYQYvi5GfRRF0l5estcyybwLOsIC4fz1cu/CVJeIj4LaVMBH X-Received: by 2002:aa7:d9d2:: with SMTP id v18mr7899096eds.177.1568648820858; Mon, 16 Sep 2019 08:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568648820; cv=none; d=google.com; s=arc-20160816; b=sQaH/UY3LeyQErVRjwHwmwexF5r6q9vlGFWGfpRZNJXsvRFJNpWLs+9cOnas9u7zQ7 HTqw/BH0GAeYmzaRhg8IJ4HDTsNjPRLgg1XOl/6ptw7U4NBKz22RD9qdeCk/27ntmTvR Cmzn4hewuKE7xwNZGC140Bxd9R6cP/rieWI37uXNbB7l4aSId7MhSPkWYHUAh52QRlCh qItd9BfywVOr+8tLpwW2jU9CZNfpNuIym2ZKBFil/Gb+tHROMvILyV48nP8uTCvqfEWz Pw++vmxyHm3dW5YR+0m1oCi06CC1/tcRfJs5DSid3qw7qqdpwFO4v9ix7FCc4R2dGPLB qoMQ== 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=0YPh4ZPworY3ZEjE24wMYeyXg9KZRbq3tqWyWWQ8XlQ=; b=AIMwmHiZFc2xvfg7amlTfktzTvfDmx+0mOqVTieDqOtM9AHBD4N5wJrZc4wQhQoTXG rNF1fiLDh9zEsloMk23yvT3M7ldVKU8CQooZ38JPFtZy1UaC3f0zAYHZ2d/5UZnIhYKt /+MQwTmkOrI+w6i7niTS/Lvzbb2JPRSjspj5EdiuFNrZnlhaEdLNPe/GFwlXV5SAawU0 bo6ImbuscIpjg7tlbA/DJS9pug2XcHtG2QdLtNbBxau0DBza9XFfmHuyCYrA2tGt82NC mdgrvHg0cJT41dh5wpItyy2NtM7LP7laiTBJSx6UyQyQ3Zzh5bHB53lbvkDmiZ4yfTYa 4R/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BfWwhPEG; 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 f57si21156665edb.165.2019.09.16.08.47.00; Mon, 16 Sep 2019 08:47:00 -0700 (PDT) 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=BfWwhPEG; 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 S1728760AbfIPPq6 (ORCPT + 27 others); Mon, 16 Sep 2019 11:46:58 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:38769 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389522AbfIPPq4 (ORCPT ); Mon, 16 Sep 2019 11:46:56 -0400 Received: by mail-pg1-f194.google.com with SMTP id x10so231841pgi.5 for ; Mon, 16 Sep 2019 08:46:56 -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=0YPh4ZPworY3ZEjE24wMYeyXg9KZRbq3tqWyWWQ8XlQ=; b=BfWwhPEGMjqhNnMmtn0lC4DzNN1IjQpfnqP/T++6lj+rV9L/5Bg0t/1kgQ5MOGeFAx xvUy28z95tNCGC9WQKuJJ5uoldqdK9xtCEx8RAzKXN6zirGepppIDIEHtIXHtmmmxffj ZIsLh5V4yQwFT9p5F3gIArlVndMNXi9LzjZucd23CMQ1n40vSGuqSb2eyvhzxq2bJMU+ SdghuOWAi+Hcr2wqG0wBhIOSLvQ7Bd3zqaMcChDhPfJaJpTE5aSUcE/UjeMG5OhRs13D re7vcxUA/3C1ix8b6r8uh4RU3u3NCuHy6+jhrk3EW0f/3MDp1OpREjGICKmrz0IAEjHt 4c2Q== 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=0YPh4ZPworY3ZEjE24wMYeyXg9KZRbq3tqWyWWQ8XlQ=; b=Kc2zwR4o7MNMyxbTOP5n9Q+V6AaRgDmBn61O/jIv3uQWKouF9XaF2e/b28HDLaglma H86hnsbvR4M2e0Pw2TM0+rEMsRCSvzhfN3D59EYZtbmPlxQX1yw14XSW5ccE/NHIeFO1 QIiNMSnyLqf1CmPqwfHJdTimCCJU42gVwiYKhPyomeVZ5gKk8AS4qEHHv7jAysujK+Lu 5cAqhuUa67UesNJSbMuEtumlVSiYlNkocvI0ThTXNyTIcqublWKqVTIDuhKmGVEEWdFK Zg6bbp03bLVNFTwrOdjDF3kU/UzlAouQakFuA6VlMqPmyA5ROzQwkYQRntdZ/sUGjRBn //9g== X-Gm-Message-State: APjAAAXKWHaMr91c7SMXBLq27SY+aQwGAwXY4W10+GVtqN+OBmDZAYr6 zIyZysLp6WnBYFZrKKjRHhyg X-Received: by 2002:a62:1e82:: with SMTP id e124mr16568271pfe.136.1568648815572; Mon, 16 Sep 2019 08:46:55 -0700 (PDT) Received: from localhost.localdomain ([2409:4072:90b:91ce:94c2:ef93:5bd:cfe8]) by smtp.gmail.com with ESMTPSA id s5sm36227670pfe.52.2019.09.16.08.46.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Sep 2019 08:46:55 -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 v4 7/7] arm64: configs: Enable Actions Semi platform in defconfig Date: Mon, 16 Sep 2019 21:15:46 +0530 Message-Id: <20190916154546.24982-8-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916154546.24982-1-manivannan.sadhasivam@linaro.org> References: <20190916154546.24982-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since the Actions Semi platform can now boot a distro, enable it in ARM64 defconfig. Signed-off-by: Manivannan Sadhasivam --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 0e58ef02880c..8e27777d6687 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -29,6 +29,7 @@ CONFIG_BLK_DEV_INITRD=y CONFIG_KALLSYMS_ALL=y # CONFIG_COMPAT_BRK is not set CONFIG_PROFILING=y +CONFIG_ARCH_ACTIONS=y CONFIG_ARCH_AGILEX=y CONFIG_ARCH_SUNXI=y CONFIG_ARCH_ALPINE=y