Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp598950pxu; Tue, 5 Jan 2021 22:03:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5sr1Z7zPIpmu8+gFitP+ARRa/yrizZaFn5mPUE8ZhMl/tKr0eMF5WmmXH6T/oB6TUxYL3 X-Received: by 2002:a17:906:ce21:: with SMTP id sd1mr1801929ejb.396.1609913026157; Tue, 05 Jan 2021 22:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609913026; cv=none; d=google.com; s=arc-20160816; b=vJTze4g+2ulysS+o15YwIgMAag4qvG2BSIxPcMxeG7ZLl9MjtU1vMgaTSBLyfki65T CpfEJDVILGz2mubWh4TX1BJzS6CvL4at7mk0gk7EhcV09o2916Ge01ZeWHzl8yQtX0ca wyXVc+lMhU6bhNKHgC2LDFjrUQ/naV6SZ0pLETN358gYgyNEEuAxHfQylBb3i0XPzP72 6HgvOcB1IQQ+NZOPB63dmLJtJXbYOhFhGhj2OrR7sap40fqZyuKAnSoVHjdV4CcIOJob pWxbI7MsQ3AtMixaPo/cs9c7KYcdosPDLKjjenX5JEDa8yxLo1/bkDUGHecOETZOxf2Q i8aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=0EJEMHC7gCpFcM+I93Mwqr0FQ14oW1HGC4FG4titF3Y=; b=F1IEhnMpmSJtvYKbQdSsSGwFnTqLhgUOCD0LbGi8xYsUYBbZhlpXGmMU2jSvEWCs5M IJ6dq+txeprsCkUJt94Km/yJP31o3kFCKoYzBmp7p/vk2keAQuACIiSPDH/oXesWwTfC w/1w6DYRWhqx4Aphkq2TQrMVZPb1lqKDtAXRH6o+1oKXwoWPc1/UASNITz2z/bR9KrFy vLvrkva3/iceSI2pLX11A92uzdXdjMDKXJN9AMmLV8oTwpD55Xr+gf+kH33h00re78Oc tlbgzQIGPijvHXredmzUm8qdTPizIks8VdFa3oxg1RW6wWMUVjkUPxK7OZfHQryGakuQ qztw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p23si533175ejf.90.2021.01.05.22.03.22; Tue, 05 Jan 2021 22:03:46 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726370AbhAFGBw (ORCPT + 99 others); Wed, 6 Jan 2021 01:01:52 -0500 Received: from twspam01.aspeedtech.com ([211.20.114.71]:29793 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbhAFGBg (ORCPT ); Wed, 6 Jan 2021 01:01:36 -0500 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1065sEgM004598; Wed, 6 Jan 2021 13:54:14 +0800 (GMT-8) (envelope-from chiawei_wang@aspeedtech.com) Received: from ChiaWeiWang-PC.aspeed.com (192.168.2.66) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 6 Jan 2021 13:58:48 +0800 From: "Chia-Wei, Wang" To: , , , , , , , , , , CC: Subject: [PATCH 0/6] arm: aspeed: Add eSPI support Date: Wed, 6 Jan 2021 13:59:33 +0800 Message-ID: <20210106055939.19386-1-chiawei_wang@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [192.168.2.66] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1065sEgM004598 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series add the driver support for the eSPI controller of Aspeed 6th generation SoCs. This controller is a slave device communicating with a master over Enhanced Serial Peripheral Interface (eSPI). It supports all of the 4 eSPI channels, namely peripheral, virtual wire, out-of-band, and flash, and operates at max frequency of 66MHz. Chia-Wei, Wang (6): dt-bindings: aspeed: Add eSPI controller MAINTAINER: Add ASPEED eSPI driver entry clk: ast2600: Add eSPI reset bit irqchip/aspeed: Add Aspeed eSPI interrupt controller soc: aspeed: Add eSPI driver ARM: dts: aspeed: Add AST2600 eSPI nodes .../devicetree/bindings/soc/aspeed/espi.yaml | 252 +++++++ MAINTAINERS | 14 + arch/arm/boot/dts/aspeed-g6.dtsi | 57 ++ drivers/irqchip/Makefile | 2 +- drivers/irqchip/irq-aspeed-espi-ic.c | 251 +++++++ drivers/soc/aspeed/Kconfig | 49 ++ drivers/soc/aspeed/Makefile | 5 + drivers/soc/aspeed/aspeed-espi-ctrl.c | 197 +++++ drivers/soc/aspeed/aspeed-espi-flash.c | 490 ++++++++++++ drivers/soc/aspeed/aspeed-espi-oob.c | 706 ++++++++++++++++++ drivers/soc/aspeed/aspeed-espi-peripheral.c | 613 +++++++++++++++ drivers/soc/aspeed/aspeed-espi-vw.c | 211 ++++++ include/dt-bindings/clock/ast2600-clock.h | 1 + .../interrupt-controller/aspeed-espi-ic.h | 15 + include/soc/aspeed/espi.h | 279 +++++++ include/uapi/linux/aspeed-espi.h | 160 ++++ 16 files changed, 3301 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/soc/aspeed/espi.yaml create mode 100644 drivers/irqchip/irq-aspeed-espi-ic.c create mode 100644 drivers/soc/aspeed/aspeed-espi-ctrl.c create mode 100644 drivers/soc/aspeed/aspeed-espi-flash.c create mode 100644 drivers/soc/aspeed/aspeed-espi-oob.c create mode 100644 drivers/soc/aspeed/aspeed-espi-peripheral.c create mode 100644 drivers/soc/aspeed/aspeed-espi-vw.c create mode 100644 include/dt-bindings/interrupt-controller/aspeed-espi-ic.h create mode 100644 include/soc/aspeed/espi.h create mode 100644 include/uapi/linux/aspeed-espi.h -- 2.17.1