Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753469AbdF2Oti (ORCPT ); Thu, 29 Jun 2017 10:49:38 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57120 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753452AbdF2OtE (ORCPT ); Thu, 29 Jun 2017 10:49:04 -0400 Date: Thu, 29 Jun 2017 16:49:02 +0200 From: Greg Kroah-Hartman To: Jan Kiszka Cc: Linus Walleij , Alexandre Courbot , Linux Kernel Mailing List , linux-serial@vger.kernel.org, linux-gpio@vger.kernel.org, Sudip Mukherjee , Andy Shevchenko , Sascha Weisenberger Subject: Re: [PATCH v6 10/10] serial: exar: Add support for IOT2040 device Message-ID: <20170629144902.GC23512@kroah.com> References: <47c8206a1f97b6c987dfb8761805317406ab1a34.1497033197.git.jan.kiszka@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47c8206a1f97b6c987dfb8761805317406ab1a34.1497033197.git.jan.kiszka@siemens.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 20 On Fri, Jun 09, 2017 at 08:33:18PM +0200, Jan Kiszka wrote: > This implements the setup of RS232 and the switch-over to RS485 or RS422 > for the Siemens IOT2040. That uses an EXAR XR17V352 with external logic > to switch between the different modes. The external logic is controlled > via MPIO pins of the EXAR controller. > > Only pin 10 can be exported as GPIO on the IOT2040. It is connected to > an LED. > > As the XR17V352 used on the IOT2040 is not equipped with an external > EEPROM, it cannot present itself as IOT2040-variant via subvendor/ > subdevice IDs. Thus, we have to check via DMI for the target platform. > > Co-developed with Sascha Weisenberger. > > Signed-off-by: Sascha Weisenberger > Signed-off-by: Jan Kiszka > Reviewed-by: Andy Shevchenko Acked-by: Greg Kroah-Hartman