Message ID | 20190221171758.10322-2-martin.kepplinger@ginzinger.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A5BCA922 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 21 Feb 2019 17:20:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8597931B58 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 21 Feb 2019 17:20:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 79F7E31EF8; Thu, 21 Feb 2019 17:20:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2CE7F31F24 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 21 Feb 2019 17:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:To:From:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=O1ZeFwTRpKKCnCjLMMBxycHYmvv9AVxkQjCtjm2cAIs=; b=b5REfok4iQP9V2MvkYSeC+DJn V4FHWtD3qC76K070plWvHG83Wr8OT46XO2tOiwOlTbeXTU8ggFN0AwapjdHBDEU8L794nVIPbZMSF eQCg77KoKdPCYbVhLBWx6JgfKqqS/JBp5ty2rw1fIK8nxDR2MPhXhkU1vSjLhRDtKFR74Nl8MWJqC gfjojA08DDaT+2GJWB/1sBcQpVCYziOkDLmZ1PkAGTcXfxkoRSSA+zaDw3FA4Jj/ptugR1MrJdSDj LyyZarvKaS8MNaTHxUI0jtQ+SdDjJpepi8plv/vSjzPT2Bmk/hPav6wQ89jBAhH8H6qSpvVTKXMF7 PLdxNzlxQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gws1k-00015M-UQ; Thu, 21 Feb 2019 17:20:52 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gws0i-0007Mr-SZ for linux-arm-kernel@bombadil.infradead.org; Thu, 21 Feb 2019 17:19:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=py4wnjzdmZ4tjfbGvXGUdgrgonczbqHS7x/MAN/KbgU=; b=KK7EaspsY9600IxlPBxt2r+ul XqSmXAVlR/nfs2ZMslWuUJC4Lq3fYOdR8ENbztPjbMMruP1dFGQCclqw/ERXQQa7nCtmJn3GDlT7t gY//UIFYeKGQVZAwUPHmP0kCsd5eKGRu2wytrqixw25EBE6argcvyKpmkqZNbNwENVKzoHmR+QHHC pi5uu6B5A8UMR/SwAn1cyPiwLtq5NTugJ9YFrzykotD5ZdlJInkbPxVU2PG5K2vSbFJKoJUhV3H0L NcrwCJYy0ZWRqif5fTsJQ4uNORhKOKs68K3uv8MY9DEEeMRjdFedECtz3HG/NWJRNDdZNbFeHFKJ3 0hdYr154g==; Received: from mx-ginzinger.sigmacloud.services ([185.154.235.147]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gws0g-0002zs-BN for linux-arm-kernel@lists.infradead.org; Thu, 21 Feb 2019 17:19:47 +0000 Received: from [31.193.165.228] (port=49494 helo=mx-ginzinger.sigmacloud.services) by mx-ginzinger.sigmacloud.services with esmtps (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from <Martin.Kepplinger@ginzinger.com>) id 1gwrzI-00028q-0v; Thu, 21 Feb 2019 18:18:20 +0100 Received: from martin-laptop.buero.ginzinger.com (10.10.1.120) by exc1.buero.ginzinger.com (10.1.1.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1466.3; Thu, 21 Feb 2019 18:18:19 +0100 X-CTCH-RefID: str=0001.0A0B020F.5C6EDD5C.0024, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 From: Martin Kepplinger <martin.kepplinger@ginzinger.com> To: <gregkh@linuxfoundation.org>, <robh+dt@kernel.org>, <mark.rutland@arm.com>, <jslaby@suse.com>, <corbet@lwn.net>, <richard.genoud@gmail.com>, <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <ludovic.desroches@microchip.com>, <mcoquelin.stm32@gmail.com>, <alexandre.torgue@st.com>, <linux-serial@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-stm32@st-md-mailman.stormreply.com> Subject: [PATCH v2 2/9] Documentation: serial-rs485: document SER_RS485_DELAY_IN_USEC flag Date: Thu, 21 Feb 2019 18:17:51 +0100 Message-ID: <20190221171758.10322-2-martin.kepplinger@ginzinger.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190221171758.10322-1-martin.kepplinger@ginzinger.com> References: <20190221171758.10322-1-martin.kepplinger@ginzinger.com> X-Originating-IP: [10.10.1.120] X-ClientProxiedBy: exc1.buero.ginzinger.com (10.1.1.204) To exc1.buero.ginzinger.com (10.1.1.204) X-EXCLAIMER-MD-ORIGINAL-SUBJECT: [NOSIG][NODISC][PATCH v2 2/9] Documentation: serial-rs485: document SER_RS485_DELAY_IN_USEC flag X-EXCLAIMER-MD-CONFIG: 9dd172f7-de2e-4231-b886-ec11f46e03b3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190221_121946_539957_2AA6F8CA X-CRM114-Status: GOOD ( 10.45 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Martin Kepplinger <martin.kepplinger@ginzinger.com>, linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary="===============1813460430574876130==" Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[v2,1/9] serial: uapi: add SER_RS485_DELAY_IN_USEC flag to struct serial_rs485
|
expand
|
diff --git a/Documentation/serial/serial-rs485.txt b/Documentation/serial/serial-rs485.txt index ce0c1a9b8aab..a1e15e9efc2e 100644 --- a/Documentation/serial/serial-rs485.txt +++ b/Documentation/serial/serial-rs485.txt @@ -75,6 +75,9 @@ /* Set rts delay after send, if needed: */ rs485conf.delay_rts_after_send = ...; + /* Specify the rts delay to be microseconds, not milliseconds */ + rs485conf.flags |= SER_RS485_DELAY_IN_USEC; + /* Set this flag if you want to receive data even while sending data */ rs485conf.flags |= SER_RS485_RX_DURING_TX;
Document the new RS485 flag, SER_RS485_DELAY_IN_USEC that specifies that the rts delay values stored in struct serial_rs485 hold values in microseconds instead of milliseconds (the default). Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com> --- Documentation/serial/serial-rs485.txt | 3 +++ 1 file changed, 3 insertions(+)