Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5546343imu; Tue, 13 Nov 2018 08:10:03 -0800 (PST) X-Google-Smtp-Source: AJdET5erjNdEYSkPCH+hCBxcE7G0mWmrmG1PMLnVbUkEkdsbrwWUV2mt2w3RLlqFX71y0anIQ7HT X-Received: by 2002:a62:34c5:: with SMTP id b188-v6mr5969948pfa.65.1542125403104; Tue, 13 Nov 2018 08:10:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542125403; cv=none; d=google.com; s=arc-20160816; b=ZPe9zon7YsM8Ji+8W0HgfHg8hYKM8oePs/7BmHXw7TMz/gQYtPkVpM0kGoBK08thvh S5VyyBt0hsJUdonRn6CQk5LSv3LdNuDeuW26HOrEb0oPKaDJ/oR5eUc+pYq2CfLPzY1T M18LsZY3ClNWfk4nvVbttwmXL8PcNkT4IM40UShbxRK2T9NFfVD75QeeUpFVpTCBQOe8 xgTtgPTdxhxEAjL+fIJ0PopDsdTpsyq0RM+DhZNO6AFHihZZ3JgD1CEjo8OeOdWBviVl L+0I1qhqe5jq/yePIB+xUqzaGxTg/l8dbuc4XRezDXokqaJi/jzl3WpYANrEZRiOr4BV Vfcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=xrZfawlPjkRtTp6mcKL5tPv+ysfL6247oF9drhZk7vw=; b=w7VCt5r+33+afTja252VSKvYnkYdZ4HB82kdfi+RZSqDA7at40nPe3gQV/jjw3aRy9 UsKCzYQAzDJgO5VerCRj7hwziw+oC6arv965krP/+5b6fc+o/g+rdnAvYjqkspLvcg2y zlGjWtNrHt6gIYz0mOrPL7oimI+IPKaEGO2zte3/Yq5VA8Y/kwyB6UOETdfuLmm+AJeJ uyO9+z1JndKUfj+UNw7RpYGeR8p7rK3HgBd5uuBSpqJQNcAdp9FXJt0G/Bf4sVUqhOf0 jU2DfR+37XMw/Pq+Cie1C1DKAFIe0cfalRABVlapyBZzRe5eDdJnFfuLy10wfo8q6sYs yw0w== 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 g13-v6si21046659plo.68.2018.11.13.08.09.25; Tue, 13 Nov 2018 08:10:03 -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; 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 S2388000AbeKNCCt (ORCPT + 99 others); Tue, 13 Nov 2018 21:02:49 -0500 Received: from mga01.intel.com ([192.55.52.88]:43530 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731439AbeKNCCt (ORCPT ); Tue, 13 Nov 2018 21:02:49 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2018 08:03:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,499,1534834800"; d="scan'208";a="280745431" Received: from tthayer-hp-z620.an.intel.com ([10.122.105.146]) by fmsmga006.fm.intel.com with ESMTP; 13 Nov 2018 08:03:52 -0800 From: thor.thayer@linux.intel.com To: lee.jones@linaro.org, dinguyen@kernel.org, linux@armlinux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, peppe.cavallaro@st.com, alexandre.torgue@st.com, joabreu@synopsys.com Cc: davem@davemloft.net, mcoquelin.stm32@gmail.com, mchehab+samsung@kernel.org, arnd@arndb.de, bjorn.andersson@linaro.org, olof@lixom.net, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Thor Thayer Subject: [RESEND 0/4] Add SOCFPGA System Manager Date: Tue, 13 Nov 2018 10:06:10 -0600 Message-Id: <1542125174-8204-1-git-send-email-thor.thayer@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 311 +++++++++++++++++++++ .../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 4 +- include/linux/mfd/altera-sysmgr.h | 113 ++++++++ 8 files changed, 445 insertions(+), 1 deletion(-) create mode 100644 drivers/mfd/altera-sysmgr.c create mode 100644 include/linux/mfd/altera-sysmgr.h -- 2.7.4