Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753470AbbBYTVv (ORCPT ); Wed, 25 Feb 2015 14:21:51 -0500 Received: from mout.kundenserver.de ([212.227.17.24]:63868 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753354AbbBYTVt (ORCPT ); Wed, 25 Feb 2015 14:21:49 -0500 From: Arnd Bergmann To: Jonathan Richardson Cc: Dmitry Torokhov , Anatol Pomazau , Scott Branden , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Greg Kroah-Hartman , Jiri Slaby , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 1/1] serial: 8250_dw: Fix get_mctrl behaviour Date: Wed, 25 Feb 2015 20:21:25 +0100 Message-ID: <3836329.RsbZqYqPAB@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1424891056-1222-2-git-send-email-jonathar@broadcom.com> References: <1424891056-1222-2-git-send-email-jonathar@broadcom.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:oIiCTov/aiQk5lwlRfAuLRjlySSglfyMkyY6KyEGi0ZjaVYu/Ja FE/lIWH/L/ORgr5UL4zge46nAx7luoCTRf98mTdFADnXPRA2upRlTHi3UVw/50Q0wI36m+m a1VvrHmAxGI9ypGb6cKtHvABR3EYBO9tHQ4fWhb8Z4mNIfCyRPYyXotKvlw/ioegRJiIgw9 tKwfvAoyCvVE3cf+xFz7Q== X-UI-Out-Filterresults: notjunk:1; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1050 Lines: 26 On Wednesday 25 February 2015 11:04:16 Jonathan Richardson wrote: > +- msr-override : array of strings to be used to override the individual > + modem status signals for DCD, DSR, CTS, and RI. If the property is not > + present, the individual signals are obtained from the modem status register. > + Strings accepted are "dcd", "dsr", "cts", and "ri". If "dcd", "dsr", or > + "cts" are present, these signals will always be reported as active. If > + "ri" is present, this signal will always be reported as inactive. > Did you copy this definition from another driver? If not, we should try to come up with a more natural way to do it. How about defining four boolean properties instead, like dcd-override dsr-override cts-override ri-override Simplifies the parser and the binding. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/