From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753432Ab1JLQIG (ORCPT ); Wed, 12 Oct 2011 12:08:06 -0400 Received: from newsmtp5.atmel.com ([204.2.163.5]:41668 "EHLO sjogate2.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751851Ab1JLQID (ORCPT ); Wed, 12 Oct 2011 12:08:03 -0400 From: Nicolas Ferre To: linux-arm-kernel@lists.infradead.org, grant.likely@secretlab.ca, devicetree-discuss@lists.ozlabs.org, robherring2@gmail.com, claudio@evidence.eu.com, jesper.nilsson@axis.com, alan@lxorguk.ukuu.org.uk Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v2 0/5] tty/serial: atmel_serial: Device Tree support Date: Wed, 12 Oct 2011 18:06:55 +0200 Message-Id: <1318435620-7481-1-git-send-email-nicolas.ferre@atmel.com> X-Mailer: git-send-email 1.7.5.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, The goal of this patch series is to add device tree support to Atmel USART driver: atmel_serial. As this driver support RS485 mode, generic RS485 bindings have been added. Some modifications are also included to ease the transition to parameter settings comming from device tree. The enumeration of ports is enhanced to be able to deal with several types of port numbering: platform data, device tree or automatic. Nicolas Ferre (5): tty/serial: RS485 bindings for device tree tty/serial: atmel_serial: change platform_data variable name tty/serial: atmel_serial: whitespace and braces modifications tty/serial: atmel_serial: auto-enumerate ports tty/serial: atmel_serial: add device tree support Documentation/devicetree/bindings/serial/rs485.txt | 31 +++++ .../devicetree/bindings/tty/serial/atmel-usart.txt | 27 +++++ Documentation/serial/serial-rs485.txt | 5 + drivers/tty/serial/atmel_serial.c | 122 +++++++++++++++++--- 4 files changed, 170 insertions(+), 15 deletions(-) create mode 100644 Documentation/devicetree/bindings/serial/rs485.txt create mode 100644 Documentation/devicetree/bindings/tty/serial/atmel-usart.txt