Message ID | 20230928221246.13689-1-LinoSanfilippo@gmx.de |
---|---|
Headers | show
Return-Path: <linux-serial-owner@vger.kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFBC6E743CB for <linux-serial@archiver.kernel.org>; Thu, 28 Sep 2023 22:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232569AbjI1WNx (ORCPT <rfc822;linux-serial@archiver.kernel.org>); Thu, 28 Sep 2023 18:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232525AbjI1WNv (ORCPT <rfc822;linux-serial@vger.kernel.org>); Thu, 28 Sep 2023 18:13:51 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6592719E; Thu, 28 Sep 2023 15:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1695939212; x=1696544012; i=linosanfilippo@gmx.de; bh=6YXjvZ327kvgfe7ZgwF0JxtwqUgfKrPOEWMiLQRBa+Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date; b=UkXBir7EKKoL6ETns/eYpZcNxS/EFybdW98pz2fkpCuwodQ/pRST0GJVnmVcQ5XErXuFxe1LYiI chX+mJCgJfw60gGob+0Grbq+pZN2Rz+a4FyHjzSCWDm0nAxv79URflipPGg4oATlNuzpvGkp1ydM+ 2larUeeVsRkUiQNEsUB12t1IfmrF4jrcf/nLRFwxfJoHt/EG4TO9O69xbZO8Moos9or6QXkyaWG0G UFiDi8IqOCEBaL8kRknnifp+G+pokLEND0RZSHjXQcz4Nyej8kQhTjEUjHe8mezHoMa2TJPn23dHh DX29AxMML6ztMJU8AWeBCVXLaW0SpRoTUJfA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from Venus.speedport.ip ([84.162.21.41]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mjj8D-1rWHFH2Y95-00lBlB; Fri, 29 Sep 2023 00:13:32 +0200 From: Lino Sanfilippo <LinoSanfilippo@gmx.de> To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, ilpo.jarvinen@linux.intel.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, l.sanfilippo@kunbus.com, LinoSanfilippo@gmx.de, lukas@wunner.de, p.rosenberger@kunbus.com Subject: [PATCH 0/6] Fixes and improvements for RS485 Date: Fri, 29 Sep 2023 00:12:40 +0200 Message-Id: <20230928221246.13689-1-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:XYHlM2JmTJQzcsNbI6z7rvM3CB8aCcSxFT62l97yn4OV2I8LuNz XfspHS9pqyP64h9MXoMXaKtPVkkB6HwSzIdZMDRe1bJtjQnOvPo6zHEEALJcJ9bWnQU8zcy CjwVx6R3Kt41gx6DkXhKesd90wYgJ0cMFpSoIV4ic0LRZnrccqyLBlOsO+M/rTue7sdVjgs kHXTiAy3juLbWIc8ZRCLA== UI-OutboundReport: notjunk:1;M01:P0:xyROAPD/bm8=;kBRi3odMGDPCMhkJ33GJl+VyJwR rxYEQBCoz+hY0sBr3Jr7ePE5Ai5cgBooSBBr4PCqvVtfg0Ptf7dlk3USf7g/9gDT6BLK0RBqL e3BGFcFYvsAXbpCB/Ghj83LaQQGxOxgLBIxAh81X1o7dCEtV2NHZkKQTErggncua5oJllgjS4 xafbch9ckaUpdQUDUSS7hOTgyOH2StfcBVpQoUgN/xKXNXa7a4tBbD+jDP1kuypW924knSQRm rXexz2hxnlAT9zvUN2bLkXm47GHYKYlG9K0THoqdPRBoQmBtYKg1Z/nudTX33V+SZHXFfvMT3 5Ex1Pg1EThS/fqmrt5Q3+4TBvJ3iN4BqtN46LdlRAIPacnHbaiX7OIqY/J/gQ4kbyf/1gtcwD ygSNPT250TmMt739sda2Qr9Go5rjM+UNO+vRL2Xusn8XTQ/UyvVitlF7/grFl3ti7nJSPzZL2 zLq9Fkr7sqfxeBf88m79nJ4CH3T5+3iTPb+PNos34yYLxXSYn68jqD2mtPU/pNQthrYnCPbmj 5EUrt0ISFNMdIylyBI3dOoBUdxboJ2GI5jGmXCQknwS77MqbIqYCxqtuJ8Iv2ViUchSiWr5hK lUAchrkyFuZLyduTUVY7e0wL7hd27g+4L+ZdJzk94vNZkOu+LG1HNtWqDIedZL5tbd7sKBo+u C4ZTZ+gjesnyrOZ+pQZoItvUd1ettoBITfhCWnwm7wyV04ZyBoPUUsTWIXkSdApa1bbyBCB9N Ree0L4dAPb8bb6fUg2VGTk6woktpnhvHSTaj1s7Rd83IOVZ0DAeJL2FBp4v450QStXNkOL+VO YHzTur+508NRFaZqobsoc2ufKK1/S6eNeuWime6wOsk7ZCTzUjQMe4u174t5Ns1IK5KDWpuuh OcHXDH3EznLnudRLvOXE1XGf8kx8ZMd7Sb4ckOuAlXkmR1dYpRVJUrjg+WP6pWZNIswXH5t5Z +OIKNA== Precedence: bulk List-ID: <linux-serial.vger.kernel.org> X-Mailing-List: linux-serial@vger.kernel.org |
Series |
Fixes and improvements for RS485
|
expand
|
From: Lino Sanfilippo <l.sanfilippo@kunbus.com> Patch 1: Do not hold the port lock when setting rx-during-tx GPIO Patch 2: Get rid of useless wrapper pl011_get_rs485_mode() Patch 3: set missing supported flag for RX during TX GPIO Patch 4: fix sanitizing check for RTS settings Patch 5: make sure RS485 is cannot be enabled when it is not supported Patch 6: IMX: do not set RS485 enabled if it is not supported Lino Sanfilippo (6): serial: Do not hold the port lock when setting rx-during-tx GPIO serial: amba-pl011: get rid of useless wrapper pl011_get_rs485_mode() serial: core: set missing supported flag for RX during TX GPIO serial: core: fix sanitizing check for RTS settings serial: core: make sure RS485 is cannot be enabled when it is not supported serial: imx: do not set RS485 enabled if it is not supported drivers/tty/serial/amba-pl011.c | 14 +--------- drivers/tty/serial/imx.c | 18 +++++-------- drivers/tty/serial/serial_core.c | 45 +++++++++++++++++++++----------- drivers/tty/serial/stm32-usart.c | 5 +--- 4 files changed, 38 insertions(+), 44 deletions(-) base-commit: 9ed22ae6be817d7a3f5c15ca22cbc9d3963b481d