From patchwork Mon Apr 10 04:03:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 97059 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1200669qgd; Sun, 9 Apr 2017 21:04:17 -0700 (PDT) X-Received: by 10.99.171.75 with SMTP id k11mr53880547pgp.204.1491797057839; Sun, 09 Apr 2017 21:04:17 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a124si12441523pgc.127.2017.04.09.21.04.17; Sun, 09 Apr 2017 21:04:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-serial-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750989AbdDJEER (ORCPT + 3 others); Mon, 10 Apr 2017 00:04:17 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:36710 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbdDJEEQ (ORCPT ); Mon, 10 Apr 2017 00:04:16 -0400 Received: by mail-pf0-f193.google.com with SMTP id i5so4805453pfc.3; Sun, 09 Apr 2017 21:04:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=P8UKeEtCGUgh6lZYo1AcU7syRd6tJ6WJejzPS2lZOpE=; b=VB9E+gt/TLc/g6A56adfHXkDeH7+Dj3eFggNtQio8VaepidqmgPsY37h8MKKnykWED UcDtgCj8pyEFoSli2D4UeIy6bmOmKzF5jKfwkG4YKTMF78Syk5yWuo+fcEc3INb6DStj KOAZx1YmSUbUIFz2eEv4f03wh/d/m83FiuSYBe4JHoqAiNzk2AkMAkkFvGw8QZMRnIjh 8UXMjXrhYk7Fxv4di8116cpJiSc9ZP8UZplgn2dvdJwgCB2QPVfvKgkJ7GyfAGCcnGf7 m86bgk/HYQEDQ9oxU+I3TAip/h1shq1VyE9cHhvRdiXJhuq0XGTsaIPKID1cCO0oocpJ j+ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=P8UKeEtCGUgh6lZYo1AcU7syRd6tJ6WJejzPS2lZOpE=; b=flnf+Fz4+uYpVMZ2gSZt7Lh6C0vOqQcPAcGp71kSHmWKGe/4In3d7xaapcR4ZjSEq4 nLw9dAGKB2AnuOJBt06h1OAFU3taH/+WE54+vacoEVVHsXOCjge3vKXkB4dwzlpZBxtW 7gmYH+zXsTRs6aGY6L0CYHAhaojSxF2LBFjuOMVfhRPMd2EjC+J8s2X7cyQId4p/M7kr WVA90CadDiA/NT0JzPS5BX49tKh2nG03o8KkRtf6fVbG7mRIAop9/VjTMKptD24sOapz hJ5YCczNz7OO/9MjXfzF5bq/cg9QOuB8u50/vva18gda39oobvQx8o0waE2OI58yei1t I4VA== X-Gm-Message-State: AFeK/H3+15AxKGK/3NnNhnxvZbGMpF3EeuJlKnw4crfMvScDGsGUXF6vN3au1b4PVf5Hqw== X-Received: by 10.99.5.133 with SMTP id 127mr53291524pgf.8.1491797055001; Sun, 09 Apr 2017 21:04:15 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id t187sm21229956pfb.116.2017.04.09.21.04.09 (version=TLS1 cipher=AES128-SHA bits=128/128); Sun, 09 Apr 2017 21:04:14 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 10 Apr 2017 13:34:06 +0930 From: Joel Stanley To: Greg Kroah-Hartman , Jiri Slaby , Mark Rutland , Rob Herring Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, openbmc@lists.ozlabs.org, Andy Shevchenko , Benjamin Herrenschmidt , Jeremy Kerr Subject: [PATCH v3 0/2] drivers: serial: Aspeed VUART driver Date: Mon, 10 Apr 2017 13:33:58 +0930 Message-Id: <20170410040400.5509-1-joel@jms.id.au> X-Mailer: git-send-email 2.11.0 Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org This is v3 of a driver for the Aspeed VUART. This version addresses feedback from Andy and Greg, and includes Rob's ack for the bindings change. The VUART is a serial device on the BMC side of the LPC bus that connects a BMC to it's host processor. We add a flag to the serial core to allow the driver to skip probing of the THRE irq behaviour, which could hang due to the host not reading bytes out of the buffer. We've been using this on systems for over a year, so it has seen a good amount of testing. Cheers, Joel Jeremy Kerr (1): drivers/serial: Add driver for Aspeed virtual UART Joel Stanley (1): serial: 8250: Add flag so drivers can avoid THRE probe Documentation/ABI/stable/sysfs-driver-aspeed-vuart | 15 + Documentation/devicetree/bindings/serial/8250.txt | 2 + drivers/tty/serial/8250/8250_aspeed_vuart.c | 323 +++++++++++++++++++++ drivers/tty/serial/8250/8250_port.c | 2 +- drivers/tty/serial/8250/Kconfig | 10 + drivers/tty/serial/8250/Makefile | 1 + include/linux/serial_core.h | 1 + 7 files changed, 353 insertions(+), 1 deletion(-) create mode 100644 Documentation/ABI/stable/sysfs-driver-aspeed-vuart create mode 100644 drivers/tty/serial/8250/8250_aspeed_vuart.c -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html