Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1001008imm; Wed, 10 Oct 2018 07:40:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV60G8ZCCZRQlEBevrzUmT6RvzeGkF1nvVp2TRBLVqw+2HLydNXuzZAfh+j+ytJ2q0mS/HL06 X-Received: by 2002:a17:902:b03:: with SMTP id 3-v6mr25773180plq.141.1539182438925; Wed, 10 Oct 2018 07:40:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539182438; cv=none; d=google.com; s=arc-20160816; b=bRyxAIL0HRUMxduOgTJ1KzpmWtbLyI0q4bl5IvrSlyhmvA31PNJTTS5PNvaJRp9TyA i5C5SXDehRAbkX1ny4dUTQBgVAtGLlW3BX7j7GQjvB+jTsmPP7N5x3+e5Bc/7YYmrOyM KqYXFezflUL6G76FJq69WMeSUZJsENg82x1pKFPlsCnYJMDFVIettJDfOL9vGCqmG60t Mf8HfWELCEv4GWxROfncR/+KYzvcLzZJD//E8qC/j+fbsx+0PcaJe9f8Xpo1euDAwen3 B3g1AjaJTCFqu5/83M02l0RuTuLpIptGwuOuMv+yYF1x7tQo/ZYs+5V3Yznye0cCw5GQ T25A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to; bh=CAPRS0gCy5qUZIebKNjaEUK1GdPr9uXqhm3AM9W+OTg=; b=J1Po3s4mw9eqt1loCUW6zuhneXtsy7e37K443NjZre2HgPpikheahopec2r9Y16eUo ChuKLYCNGEf0LXgQNS5TVauHcwbnIMUniyQJJCH8y0FTcWXq5Yq3XL8vRpG+agrlLRV/ IJz2K2Eh+cGRo6DknspvlRn1y/c3/X2HzFzrR1cC58V+RgfH4KadU5IwVPfJ3hEgIp/g Lxwe6ubNVaxp9vGXU28Z6lgOXqlLqdOoq0Hdmm+jfU/ybNRwBjq/QFw6HrJ+a8SeeT0u YbO5dAdTqnlwxwuA2hFp1lxfZIjA5CO/qDv4e3kicZh/GIM9YE0D7eT7FLQH5l0NB+3r 99lg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18-v6si26487861plj.82.2018.10.10.07.40.24; Wed, 10 Oct 2018 07:40:38 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727194AbeJJWCV (ORCPT + 99 others); Wed, 10 Oct 2018 18:02:21 -0400 Received: from mga07.intel.com ([134.134.136.100]:7435 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726617AbeJJWCU (ORCPT ); Wed, 10 Oct 2018 18:02:20 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Oct 2018 07:39:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,364,1534834800"; d="scan'208";a="240172236" Received: from tthayer-hp-z620.an.intel.com (HELO [10.122.105.132]) ([10.122.105.132]) by orsmga004.jf.intel.com with ESMTP; 10 Oct 2018 07:39:42 -0700 Reply-To: thor.thayer@linux.intel.com Subject: Re: [PATCH 0/4] Add SOCFPGA System Manager To: lee.jones@linaro.org, peppe.cavallaro@st.com, dinguyen@kernel.org, linux@armlinux.org.uk, alexandre.torgue@st.com, joabreu@synopsys.com Cc: davem@davemloft.net, mchehab+samsung@kernel.org, catalin.marinas@arm.com, akpm@linux-foundation.org, arnd@arndb.de, aisheng.dong@nxp.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <1537826946-18942-1-git-send-email-thor.thayer@linux.intel.com> From: Thor Thayer Message-ID: <021aaa02-1138-e538-3d02-ff639541d0f3@linux.intel.com> Date: Wed, 10 Oct 2018 09:42:15 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1537826946-18942-1-git-send-email-thor.thayer@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On 09/24/2018 05:09 PM, thor.thayer@linux.intel.com wrote: > From: Thor Thayer > > Add MFD driver for ARM64 SOCFPGA System Manager to steer > System Manager calls appropriately. > The SOCFPGA System Manager includes registers from several > SOC peripherals. > > On ARM32, syscon handles this aggregated register grouping. > Redirect System Manager calls to syscon for ARM32 SOCFPGA > systems. > > The ARM64 System Manager can only be accessed from priority > level EL3 so this new MFD driver handles the calls to EL3. > > Thor Thayer (4): > mfd: altera-sysmgr: Add SOCFPGA System Manager abstraction > ARM: socfpga_defconfig: Enable CONFIG_MTD_ALTERA_SYSMGR > arm64: defconfig: Enable CONFIG_MTD_ALTERA_SYSMGR > net: stmmac: socfpga: Convert to shared System Manager driver > > MAINTAINERS | 6 + > arch/arm/configs/socfpga_defconfig | 1 + > arch/arm64/configs/defconfig | 1 + > drivers/mfd/Kconfig | 9 + > drivers/mfd/Makefile | 1 + > drivers/mfd/altera-sysmgr.c | 310 +++++++++++++++++++++ > .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 4 +- > include/linux/mfd/altera-sysmgr.h | 113 ++++++++ > 8 files changed, 444 insertions(+), 1 deletion(-) > create mode 100644 drivers/mfd/altera-sysmgr.c > create mode 100644 include/linux/mfd/altera-sysmgr.h > Gentle ping. Thor