From patchwork Mon May 29 11:57:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 768164 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wbwNX5mQKz9s0m for ; Mon, 29 May 2017 22:02:52 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751411AbdE2MCE (ORCPT ); Mon, 29 May 2017 08:02:04 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:56220 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751094AbdE2L5w (ORCPT ); Mon, 29 May 2017 07:57:52 -0400 Received: from duckbill-v2-sdk.fritz.box ([109.104.48.59]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0M5Ksl-1e8FGm1UtT-00zXQA; Mon, 29 May 2017 13:57:39 +0200 From: Stefan Wahren To: Rob Herring , Mark Rutland , "David S. Miller" Cc: Greg Kroah-Hartman , Jiri Slaby , Lino Sanfilippo , Jakub Kicinski , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Wahren Subject: [PATCH v8 net-next 15/17] dt-bindings: slave-device: add current-speed property Date: Mon, 29 May 2017 13:57:23 +0200 Message-Id: <1496059045-13572-16-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1496059045-13572-1-git-send-email-stefan.wahren@i2se.com> References: <1496059045-13572-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:YSrogbn/TOgKHUZm5vryujjBmDRhs6vhcqIvhccRTme0ntnf/D5 tz16ReDrRgo+C8OWRlrINQcHhrBdpLgpL+4UbxoJHXSc+eWU24DkbjPUkovYRZcG8pwCI/r ZzIb44muNhDdtpNfXVAlYJivXP8VOXVCTIsqPJ34SrLQPBVqfQa+PHtsJo3Eb9XdmFlQMEA nyJTm6VVP2CWYwjevXchA== X-UI-Out-Filterresults: notjunk:1; V01:K0:AZ+biio4Nc0=:0Waq/Ze6bVbnp1EVUGrqOH rwVeLMH3/ohq6erWV8tesuvGdBlBJBL+HOX8tqGUMgOwqCNyNgZknZLesxCFz573Jd/bQaCcL g9AAatwU2afNijlvMxmyHyWRJ3AB2uD8/Uha7WSGzwWrZDcp+Wzd7HW3PCHAQoTV4rCSTT8OP XFYlug1eYqBCuiLx6/xXZr4Drc2mOE8eB20gbEwEt6EXn19nCs5ihKBcRhNLCsiNuZGg2u/QQ gQdzRDLNvA2084owFIYbNMw6LhPAcQu6lba26wIaxn/Xg45+5CfdyVwUFgrPtL1FEs51iQmAG r4+OR2Q2+aswxva6LblxNjVe0Ab5iCbgqQr3ZnNTlmErPVdbGQISwMPE+m+HuSLrPfMp9Z8m0 t9yckyq/7zFvfWC0HztT6m4/xZI+p7PJbC3oxQwxDZv5zTKk2Zf5Rn9SY9st6NdnhkczuUB0e BwDIBgVTsJJCLVs9GekG/DQsn1SYgapnWTHIzOnCE8pkNwWgycJTCX7RkNNMW1zh1cMxTSV14 J5fmtHbakrN1R2hWI0h3bDaZt0qS9+Y66GvG4RZs4IBunwvbelX82FuyPILJZFp+DLO/SP5qI AWJLajdJkVZpKWL5xL+zboo1O5A6dn1AfDx3u0S4YmyK5bqxpEbMAPRlNLxQGevOqC6KzWnaS tu7XpigqzlG6orTFwYw5V9wpAUv9zohTIU6Q5pw2Njxr9zBjcHPzsCCw+dDtTitk96QE= Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This adds a new DT property to define the current baud rate of the slave device. Signed-off-by: Stefan Wahren Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/serial/slave-device.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/slave-device.txt b/Documentation/devicetree/bindings/serial/slave-device.txt index f660379..40110e0 100644 --- a/Documentation/devicetree/bindings/serial/slave-device.txt +++ b/Documentation/devicetree/bindings/serial/slave-device.txt @@ -21,6 +21,15 @@ Optional Properties: can support. For example, a particular board has some signal quality issue or the host processor can't support higher baud rates. +- current-speed : The current baud rate the device operates at. This should + only be present in case a driver has no chance to know + the baud rate of the slave device. + Examples: + * device supports auto-baud + * the rate is setup by a bootloader and there is no + way to reset the device + * device baud rate is configured by its firmware but + there is no way to request the actual settings Example: