Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp155426pxb; Wed, 25 Aug 2021 23:18:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyazxsRcmd6TvHllqklNRGjKoyv+wEijrzVhxurUCd6Bg+h+3LRk832S8RhsU1ZF/xpt3y X-Received: by 2002:a02:c84c:: with SMTP id r12mr1952027jao.119.1629958689181; Wed, 25 Aug 2021 23:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629958689; cv=none; d=google.com; s=arc-20160816; b=b6hG20Yt23KCV759rxY/NDYGGBuPRiKKh/Uh/+dGzK1HaZPkx2VSGewRnodZNTD2LX puBs7F29jsL+RxLfDU1MkVj4YVoaoKWrdNeho8KJ9jvMWPmwvdON9DScRSzWllWEzVEU pLpyiOqQbvGJwM+Z1nz7qWcqQnB5bRdce9LC+eAO+dY1LrP2HJlzU6Ov8pxp2nzg5qm+ u42YzO9ww+/N+cpzcFW9hvE6I5Rsyt6BhoiVm3V2xV0xoSblfqmjFDi88F92AGSp/sFg SREFDZOgwIVrFabDkvHqkr4A1FTeU5/UVY1TdEC3q5pwCdTf8UnrR/JOtHkOUv9oybwF 4B6A== 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:to:from; bh=eqqBvNHjj290sUDiRTjh5ZAeEafFXCQuIt80ckdVmN8=; b=Q4ymhQDl9LhRWQ0oUh1rUhxSi05SVLOylMU0A7A99tXYKXxvoHFRE4mrxaHf5LPDQB I7swHPogfm72l4/JX81zKsyMp/1FKDSComjTpThgmAS/Sf9LtsthTrezDyUBh1iJI2hE IYWNTawYX+UBA7JXNP3svdQHJpDJ88IpLJg9vJsnhcpp7gJfnAvgL0dbNSeVAMam5gt4 C49cQa2ebAjNWFO63YqxSCV72KkKIiTlhkZOssONaADL8qBtfQDtWHZSYQdsk6Rfu5E2 RXtKm4LDiU36V3mUXvH3aUPmSxZlOI1srnUj4mg3Z+EstIWJsXYVgxpK39SHp/zfFM2Z mQDQ== 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 r13si1991751ilo.33.2021.08.25.23.17.57; Wed, 25 Aug 2021 23:18:09 -0700 (PDT) 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 S239119AbhHZGSA (ORCPT + 99 others); Thu, 26 Aug 2021 02:18:00 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:18988 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238582AbhHZGRy (ORCPT ); Thu, 26 Aug 2021 02:17:54 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 17Q5vjo0058460; Thu, 26 Aug 2021 13:57:45 +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; Thu, 26 Aug 2021 14:16:25 +0800 From: Chia-Wei Wang To: , , , , , , , Subject: [PATCH v3 0/4] arm: aspeed: Add eSPI support Date: Thu, 26 Aug 2021 14:16:19 +0800 Message-ID: <20210826061623.6352-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 17Q5vjo0058460 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 5/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. v3: - remove the redundant patch "clk: aspeed: Add eSPI reset bit" - fix missing header inclusion reported by test bot - fix dt-bindings error reported by yamllint v2: - remove irqchip implementation - merge per-channel drivers into single one to avoid the racing issue among eSPI handshake process and driver probing. Chia-Wei Wang (4): dt-bindings: aspeed: Add eSPI controller MAINTAINER: Add ASPEED eSPI driver entry soc: aspeed: Add eSPI driver ARM: dts: aspeed: Add eSPI node .../devicetree/bindings/soc/aspeed/espi.yaml | 157 +++++ MAINTAINERS | 9 + arch/arm/boot/dts/aspeed-g6.dtsi | 17 + drivers/soc/aspeed/Kconfig | 11 + drivers/soc/aspeed/Makefile | 1 + drivers/soc/aspeed/aspeed-espi-ctrl.c | 205 ++++++ drivers/soc/aspeed/aspeed-espi-ctrl.h | 304 +++++++++ drivers/soc/aspeed/aspeed-espi-flash.h | 380 +++++++++++ drivers/soc/aspeed/aspeed-espi-ioc.h | 153 +++++ drivers/soc/aspeed/aspeed-espi-oob.h | 611 ++++++++++++++++++ drivers/soc/aspeed/aspeed-espi-perif.h | 539 +++++++++++++++ drivers/soc/aspeed/aspeed-espi-vw.h | 142 ++++ 12 files changed, 2529 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/aspeed/espi.yaml create mode 100644 drivers/soc/aspeed/aspeed-espi-ctrl.c create mode 100644 drivers/soc/aspeed/aspeed-espi-ctrl.h create mode 100644 drivers/soc/aspeed/aspeed-espi-flash.h create mode 100644 drivers/soc/aspeed/aspeed-espi-ioc.h create mode 100644 drivers/soc/aspeed/aspeed-espi-oob.h create mode 100644 drivers/soc/aspeed/aspeed-espi-perif.h create mode 100644 drivers/soc/aspeed/aspeed-espi-vw.h -- 2.17.1