Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp585810ybm; Wed, 27 May 2020 03:03:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysqxCqAfaaReqKh5XHfw03y4z1UGC/BNJ+jlcvTGxXMWKyDk/fFCknR2bde+1V6Fegq5w6 X-Received: by 2002:aa7:cd4e:: with SMTP id v14mr6425700edw.297.1590573834896; Wed, 27 May 2020 03:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590573834; cv=none; d=google.com; s=arc-20160816; b=hIyHWKxkmsuvRHazwG5tmUotTRq4p6BO9ieHsvoGh1pVFIc1suA1d465YLKnTRNpag d+g8iMl/X0IEFkpYDcfubFkpwYGuFW9XKA39Gmz+3rqvxwRkgw8cuNw/WwySyPukoPwz DH2zhcC0GY6B5gmqdF9X460ELplDGnosrm3AirS31fDdnCN5I54ZmrE8grQo+BxMVgwm s+2QHkUAniMrHP/5q5lmH2FO+qXWx4AICD4VGG1Dkg2XaUQGyIsYzrJwYZFvS98mVH/a pJ7Z9ju53P+bmjc48vefy5JRR9vRD2tBVwY3c4my3u0A8BXkZ95A40Uwn2sqFxn03z35 jhsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature; bh=QNB5FFL3qfSRO+ExYgJpo60mpcmeIY+MQbQKCqhYofs=; b=ExbDSLiqqvqMwbAtlANobuSuhtyOQcrfevw11D0lZJLlrITQERVzQZfvpyP8S8TSzA E/4QlZvofMlChkexvjopzWgqEcUgNjQPF0I4+BpWazITKfWYntc4ujY5ZXWaLsCfqeF9 MBDN1fDnIvkOPoyl/vDk4yHZkIN/i7wLSb/fDRJnymX+ZeCai8t/YIINweo+QsNhPGMM w7b8UEarqGNxMWs4qTku/oDpciAUAeFOMR2Tz+RCyogyVwd/FFXTaLMjj7Zcal4MzbGm gooQgx3IxvLjQB2Hkxo20JSfG9wC2jM3UjjB5l7RrlApOv00pzfOAJNcnLx5a4s7WIgl ZxqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=fkhOlK7C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d22si1282426edx.407.2020.05.27.03.03.32; Wed, 27 May 2020 03:03:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=fkhOlK7C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728688AbgE0G23 (ORCPT + 99 others); Wed, 27 May 2020 02:28:29 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:41877 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728661AbgE0G21 (ORCPT ); Wed, 27 May 2020 02:28:27 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1590560907; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=QNB5FFL3qfSRO+ExYgJpo60mpcmeIY+MQbQKCqhYofs=; b=fkhOlK7CCcZ9Gaaf1KKxqF6y3SakIVNyZTi4BCZc7S2FSw1nF/grUkqocaSop2WN8fmBMZZH VqHskewLAARvtLZ/EROD7VXmLyyrMVSkPeFzgNeiIgX6IltBB5AqH6pjSzATZvVwNakZGWqX wJevpg1BQzEYQ0SshS5+k029RCc= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 5ece087b37a454afcb7a8151 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 27 May 2020 06:28:11 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 619A6C433CA; Wed, 27 May 2020 06:28:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=ham autolearn_force=no version=3.4.0 Received: from akashast-linux.qualcomm.com (blr-c-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: akashast) by smtp.codeaurora.org (Postfix) with ESMTPSA id 27034C43387; Wed, 27 May 2020 06:28:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 27034C43387 Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=akashast@codeaurora.org From: Akash Asthana To: robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mgautam@codeaurora.org, rojay@codeaurora.org, skakit@codeaurora.org, msavaliy@codeaurora.org, Akash Asthana Subject: [PATCH V7 3/3] dt-bindings: serial: Add binding for UART pin swap Date: Wed, 27 May 2020 11:57:44 +0530 Message-Id: <1590560864-27037-4-git-send-email-akashast@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590560864-27037-1-git-send-email-akashast@codeaurora.org> References: <1590560864-27037-1-git-send-email-akashast@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation to support RX-TX & CTS-RTS GPIO pin swap in HW. Signed-off-by: Akash Asthana Reviewed-by: Stephen Boyd --- Changes in V7: - As per Rob's comment, added type: boolean to properties. Documentation/devicetree/bindings/serial/serial.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml index 53204d9..8645d0e 100644 --- a/Documentation/devicetree/bindings/serial/serial.yaml +++ b/Documentation/devicetree/bindings/serial/serial.yaml @@ -67,6 +67,14 @@ properties: (wired and enabled by pinmux configuration). This depends on both the UART hardware and the board wiring. + rx-tx-swap: + type: boolean + description: RX and TX pins are swapped. + + cts-rts-swap: + type: boolean + description: CTS and RTS pins are swapped. + if: required: - uart-has-rtscts -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,\na Linux Foundation Collaborative Project