From patchwork Tue May 2 07:45:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 98411 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp1751377qgf; Tue, 2 May 2017 00:45:58 -0700 (PDT) X-Received: by 10.84.204.133 with SMTP id b5mr39799501ple.98.1493711158865; Tue, 02 May 2017 00:45:58 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h15si15962156pln.15.2017.05.02.00.45.58; Tue, 02 May 2017 00:45:58 -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 S1751007AbdEBHp5 (ORCPT + 3 others); Tue, 2 May 2017 03:45:57 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:35359 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750864AbdEBHp4 (ORCPT ); Tue, 2 May 2017 03:45:56 -0400 Received: by mail-pf0-f195.google.com with SMTP id o68so12202990pfj.2; Tue, 02 May 2017 00:45:56 -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=QA7vRRjjphNL9mltYQQKNoM8opMKfUUp9ApP0LcAgvU=; b=IEdMpz92M8+jYYs8RCnV/f6voZuo6dyAQtyIjQQqa0M61yXUBYW8of1OQGJGfyErlS SMCQGjliM3CguDMYMvF5wJ/X6/De5fqaxhmcU9l0pR+kA3fjnaIRaOgfjc5fHbuEGE1W B+RVjwkHtcLHpzLhRryL228fb9I7OexIhwzgI5g4gUMLNXxP1GNNiQfcTHlc2zauKCQh scF8t/8XYE/UuxtBJcy0OdOU9aK7o+Bur/eOMGrcM46WvVBcnZXObOc++r9yI7zzr5aO lbVssxJOIkkd4QaHyfgKcukczsoh5+9MhnzFHZYW7i1eb5/aEHCR22Ao4t5ZjHEhv+aH LI4Q== 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=QA7vRRjjphNL9mltYQQKNoM8opMKfUUp9ApP0LcAgvU=; b=hau90QZzKX4Y5o8GbaLiMwVL4XX3WMItSuB4v1OC0yJzLaGXRKG46JGX0DWCer9Irr K5kyPCiM2f0EoTkk1wqR5m7ZQeOzIBeRrMfeLJHrOa9CPCgF+yah4o2LP64RsJMwmy3u c+IjuS2KWHOFTmvlGW155N6yNf5E0jo1LLIcB7XNeBt7lhf3wuAlwLpaCujAvA89tWYJ um7oyssIAVMuxFynNQinGGih9rN0Dkd/6hpHapmvbvwN56m2ysMp9NYbA/RnPyMXgA1d FeGeYk7aJh6FhBO5eXGgufv6CCoPNAg3SFhK92yauSpwZOth4JbN9D6OrUxSQveDIl46 kP4A== X-Gm-Message-State: AN3rC/7aR+/BUvj4f+ujjO+OEgDkiF/TpAEDkYNaV6MVrvUrmEZ/PXQT 79/zw2nGeKBjgQ== X-Received: by 10.84.198.3 with SMTP id o3mr38600540pld.45.1493711155401; Tue, 02 May 2017 00:45:55 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id e5sm33992743pga.13.2017.05.02.00.45.50 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 02 May 2017 00:45:54 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Tue, 02 May 2017 17:15:47 +0930 From: Joel Stanley To: Greg Kroah-Hartman , Jiri Slaby Cc: linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Andy Shevchenko , Benjamin Herrenschmidt , Jeremy Kerr , Mark Rutland , Rob Herring , openbmc@lists.ozlabs.org Subject: [PATCH v4 0/2] drivers: serial: Aspeed VUART driver Date: Tue, 2 May 2017 17:15:41 +0930 Message-Id: <20170502074543.1380-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 v4 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 Reviewed-by: Andy Shevchenko Reviewed-by: Benjamin Herrenschmidt