From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 19AF5C433E0 for ; Sat, 27 Feb 2021 18:09:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D793364E67 for ; Sat, 27 Feb 2021 18:09:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230264AbhB0SH2 (ORCPT ); Sat, 27 Feb 2021 13:07:28 -0500 Received: from ms9.eaxlabs.cz ([147.135.177.209]:60970 "EHLO ms9.eaxlabs.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230296AbhB0SDK (ORCPT ); Sat, 27 Feb 2021 13:03:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eaxlabs.cz; s=mail; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=8wPT4Fm48tx8LmVMJofADhT1X8gmYD2rnn9e/GVcaI8=; b=DAA86fc2l4F9PgbnBHiDCmOFqfsgbk40nERbUwxTJ/aQJF4QQ7Vy6R/T9Fq05piUaSUIrsBr1ObHawdlhdj3shaXI6AuaQK79snC1Qvrc03FPXBakdU+lEBcxsRs62twvdzVQiLYIA0siRsPkcQzw8JCQVWYhbbh+VUbULrwsUc=; Received: from [82.99.129.6] (helo=localhost.localdomain) by ms9.eaxlabs.cz with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1lG2fg-0005pS-Ed; Sat, 27 Feb 2021 17:42:26 +0100 From: Martin Devera To: linux-kernel@vger.kernel.org Cc: Martin Devera , Greg Kroah-Hartman , Rob Herring , Maxime Coquelin , Alexandre Torgue , Jiri Slaby , Le Ray , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 2/2] dt-bindings: serial: Add rx-tx-swap to stm32-usart Date: Sat, 27 Feb 2021 17:41:57 +0100 Message-Id: <20210227164157.30971-2-devik@eaxlabs.cz> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210227164157.30971-1-devik@eaxlabs.cz> References: <20210227164157.30971-1-devik@eaxlabs.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add new rx-tx-swap property to allow for RX & TX pin swapping. Signed-off-by: Martin Devera --- Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml index 8631678283f9..45f2a19997da 100644 --- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml +++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml @@ -40,6 +40,10 @@ properties: uart-has-rtscts: true + rx-tx-swap: + type: boolean + maxItems: 1 + dmas: minItems: 1 maxItems: 2 -- 2.11.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3CE9C433E0 for ; Sat, 27 Feb 2021 16:43:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8412A64E74 for ; Sat, 27 Feb 2021 16:43:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8412A64E74 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=eaxlabs.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7c+6GORUGRbLcXPxx1mWNq3FaQQzrEY/YTSuO8CIkbQ=; b=XACH/s1FZN4XSwfxWFMS6PkJIR E2hHowO1vhIFZSD50IoEzTLxQ+bfRHGFJOs8pqICV2SjUCY8HMIi/NkeeNn6GnJue27F3TlDvnvnS +Jz4p9PtQODAmel0TLB4JihFqVbJZ14hnQU7ZU4Gfzr8EvF4xTJaPJ947bpqEpaBiqHxVHPe66ez0 QKz1qQyjiGEPusM8bj8FLs3Jc4QlcOOuVwSIXdHQQDCUPnroBe7BU+vcBeZywQ8FM32e1t5hFr55Q SuQBslkjJHcEdovsx3piLJ2rREbNQPMwJHssvm/++9nzzjemckPV+E0vn+5WSloxTn4XlWPRdSlPr Grn0gBwA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lG2fp-0005qn-Sn; Sat, 27 Feb 2021 16:42:33 +0000 Received: from ms9.eaxlabs.cz ([147.135.177.209]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lG2fn-0005q9-4f for linux-arm-kernel@lists.infradead.org; Sat, 27 Feb 2021 16:42:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=eaxlabs.cz; s=mail; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=8wPT4Fm48tx8LmVMJofADhT1X8gmYD2rnn9e/GVcaI8=; b=DAA86fc2l4F9PgbnBHiDCmOFqfsgbk40nERbUwxTJ/aQJF4QQ7Vy6R/T9Fq05piUaSUIrsBr1ObHawdlhdj3shaXI6AuaQK79snC1Qvrc03FPXBakdU+lEBcxsRs62twvdzVQiLYIA0siRsPkcQzw8JCQVWYhbbh+VUbULrwsUc=; Received: from [82.99.129.6] (helo=localhost.localdomain) by ms9.eaxlabs.cz with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1lG2fg-0005pS-Ed; Sat, 27 Feb 2021 17:42:26 +0100 From: Martin Devera To: linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] dt-bindings: serial: Add rx-tx-swap to stm32-usart Date: Sat, 27 Feb 2021 17:41:57 +0100 Message-Id: <20210227164157.30971-2-devik@eaxlabs.cz> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20210227164157.30971-1-devik@eaxlabs.cz> References: <20210227164157.30971-1-devik@eaxlabs.cz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210227_114231_299191_29BCB06D X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Alexandre Torgue , Greg Kroah-Hartman , Martin Devera , Rob Herring , linux-arm-kernel@lists.infradead.org, Maxime Coquelin , linux-serial@vger.kernel.org, Jiri Slaby , linux-stm32@st-md-mailman.stormreply.com, Le Ray MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add new rx-tx-swap property to allow for RX & TX pin swapping. Signed-off-by: Martin Devera --- Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml index 8631678283f9..45f2a19997da 100644 --- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml +++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml @@ -40,6 +40,10 @@ properties: uart-has-rtscts: true + rx-tx-swap: + type: boolean + maxItems: 1 + dmas: minItems: 1 maxItems: 2 -- 2.11.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel