Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp807214ybj; Thu, 7 May 2020 08:05:11 -0700 (PDT) X-Google-Smtp-Source: APiQypIrIGzbY5abwy0e8PyqQPT7xewJTnPtFkvYi8c2x/AXUgV45+VWHVPGO3VZb6D9yWd6GIIj X-Received: by 2002:a05:6402:1841:: with SMTP id v1mr11892681edy.182.1588863911030; Thu, 07 May 2020 08:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588863911; cv=none; d=google.com; s=arc-20160816; b=U954dD2p+U1jnjcA9KnQokgR1qYo6uWIazwEXTJZGk7IR/cmzz7ddytIgySkeF1AqS v9obaqfsF1ma20EM3GvHZb1rVJjMWLDNVO9iT0eDJs9v5M29+P7SDIQWYhAFNzH7MfCR RVEgcAWYaaMCB7mF7Jg7Z1byIoURZgFPkP2y4HPkQe19eMw3PbndDNYSUViU5xydK5E2 UhKdTX3TU/Jw/0AnakBQbAEogxFNOszHytx4TepSTX605O750uZs341Xk/pin3BtqDYT +BJLdsJnhtblqLc/nUjPLdrSyy07hntF/2D6W4cjvKXoxS2oHmAhxvEnKCX9kVjmX0Zp hLvw== 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=pViwrlcmQ4tKYgRp1wnIuQY9NM/R6M6irGDCItt7vT4=; b=tc17VE438/us5dsfqDHStTvuOu4YbX/Dx/RX7EdILpQ0WuIo2CWOi80AcTaXNbk3lZ TJSSdyPCMjmvt3bGsEW2rsaVuAor7mQ7PfIwEXwUg8rIAtKQxK3QC5i1FPSBE1gFzp+v BavAkBTd/pndBs+0g4ggSIAq8pzwOzakFjwjph88obiOHUozURHKJMUP+1ITuutVewYE HiE5ikOlh3cg6dfcDL0d705ZRxPHAxWutmIA7aGW7ZDOGLl+F37Ki8b6cYXXyVq+YALG uuCYq+AlWWkHTCBeapmdCUSwc7w8RyBoechRYawTytp26jlFE14fF1z4EZf/pIpk+Uwj sTHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=H2ULAhjK; 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 g14si3416605eje.287.2020.05.07.08.04.44; Thu, 07 May 2020 08:05:11 -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=H2ULAhjK; 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 S1726514AbgEGPCo (ORCPT + 99 others); Thu, 7 May 2020 11:02:44 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:53250 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727123AbgEGPCn (ORCPT ); Thu, 7 May 2020 11:02:43 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588863763; h=References: In-Reply-To: Message-Id: Date: Subject: Cc: To: From: Sender; bh=pViwrlcmQ4tKYgRp1wnIuQY9NM/R6M6irGDCItt7vT4=; b=H2ULAhjK++bcv6E2tcOipo2VtIquEc5mWt9am7P6D9S1aLikyswu2osGSNH5iyi/y7hjsD6A KthZU/d/QbUiLv5kd4NMBvPxqvGEmg2m577FGJwIAutlcy5+A1kMcL3s5pS2h5qajKabjOd/ I2WeZW4DeCUmVSavXY6JmTZksrM= X-Mailgun-Sending-Ip: 104.130.122.26 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 mxa.mailgun.org with ESMTP id 5eb422cd.7f1bd6757dc0-smtp-out-n05; Thu, 07 May 2020 15:01:33 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 82369C3855D; Thu, 7 May 2020 15:01:31 +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 21879C49493; Thu, 7 May 2020 15:01:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 21879C49493 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, gregkh@linuxfoundation.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, mka@chromium.org, Akash Asthana Subject: [PATCH V6 3/3] dt-bindings: serial: Add binding for UART pin swap Date: Thu, 7 May 2020 20:30:47 +0530 Message-Id: <1588863647-17240-4-git-send-email-akashast@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1588863647-17240-1-git-send-email-akashast@codeaurora.org> References: <1588863647-17240-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 --- Documentation/devicetree/bindings/serial/serial.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/serial.yaml b/Documentation/devicetree/bindings/serial/serial.yaml index 53204d9..e657dd6 100644 --- a/Documentation/devicetree/bindings/serial/serial.yaml +++ b/Documentation/devicetree/bindings/serial/serial.yaml @@ -67,6 +67,12 @@ properties: (wired and enabled by pinmux configuration). This depends on both the UART hardware and the board wiring. + rx-tx-swap: + description: RX and TX pins are swapped. + + cts-rts-swap: + 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