Message ID | 20221213124854.3779-1-sinthu.raja@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp100618wrn; Tue, 13 Dec 2022 04:57:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf4Y+YQEScNaQFQ9vKJiLUgYXxnVE/HwHsSjJmdymPMj6WhQ5hCzXXOWSrUccpq3BTuJBeuY X-Received: by 2002:a17:902:be05:b0:186:59e9:a261 with SMTP id r5-20020a170902be0500b0018659e9a261mr20308443pls.43.1670936274198; Tue, 13 Dec 2022 04:57:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670936274; cv=none; d=google.com; s=arc-20160816; b=a0JFJUJrvH+ueez4MaeW57efeTfLUILtODCCn3G7t+4jTQzZ4P8I+fDBUTN4Ip6loa UpFAVEmJiek80hAjTv1BH831hOEYJ6u2vaIkGCT4K7qGAoxyIlFvO8Hmlg2JaLREPST5 A9B+9DiAqoKcWj8pBuY8/x89cnCXTihw7OcJz9HF/gHWBo8SMF2efJ0Dj0JQkGsPAVj5 4ELAdmHfOBHH5yH6nSrOQnLB+0PPZNlNmV80o1r+HnPl+ZRY85+22R8lMzgUi8m4rFI8 U1hP2tjhkHT/VD1DkQCQHb6Ov1h4hebOT119OUzEowrPnjVgKuctQBDidzk+veAmZgm0 0p5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=vLc9KUPPcfPmJRkVZ9SzdiZuUqpVIHZA1Sml1/BlenA=; b=kwDu0eU9yepzl22jhqb5SxUo4g7V9QgY2ys6WV+JP6izKHQdMxLX5iCSImAZzPzJ+N yzf17ZdLqB/6xTmmlOIdxY5IkIWE7gWNxXhm/gXG8PdoMBhwDM4BX+CkklIi6mKN1Rfk TDebL8p4ZYEGUV6LSqoPdlsFfxU5DysWiuUO5ce+NgjPbX9pw6K17CnUbtWnyVBGXRTd 8RBZg/7nm5bFH1d7imNTFN7wyDy5AbW387YoksohM0m1/jtfDBaZRp8D1DbvzeFvhWaq 5i1Un3+SdelOcl8NdxqZ4C0sgbLJ8BWQMZOqz0hbOAYtz6Jte+4TM0QImBQfofl6KdKq M2vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=XpKOWhRG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mistralsolutions.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q18-20020a170902dad200b00186f81a0765si13421209plx.540.2022.12.13.04.57.41; Tue, 13 Dec 2022 04:57:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mistralsolutions.com header.s=google header.b=XpKOWhRG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mistralsolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235504AbiLMMtR (ORCPT <rfc822;jeantsuru.cumc.mandola@gmail.com> + 99 others); Tue, 13 Dec 2022 07:49:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235406AbiLMMtM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 13 Dec 2022 07:49:12 -0500 Received: from egress-ip4a.ess.de.barracuda.com (egress-ip4a.ess.de.barracuda.com [18.184.203.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F61C13E9B for <linux-kernel@vger.kernel.org>; Tue, 13 Dec 2022 04:49:10 -0800 (PST) Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by mx-outbound10-83.eu-central-1a.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 13 Dec 2022 12:49:08 +0000 Received: by mail-pg1-f197.google.com with SMTP id g1-20020a636b01000000b00479222d9875so7075528pgc.12 for <linux-kernel@vger.kernel.org>; Tue, 13 Dec 2022 04:49:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mistralsolutions.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=vLc9KUPPcfPmJRkVZ9SzdiZuUqpVIHZA1Sml1/BlenA=; b=XpKOWhRGTDSr5jAXwnG90EKsthoHokOx6CPQ4vtl35ZodA2iOXdTANmWpNYwm7miDe RuM9IQe3LuJxytqt2HaeI8F9sdsaagwSEXZVCcqN7e5a7p/JL1eja1LVUmmKt21eb+7a Et8YJHqJuSJ665HKlEQP9WXpglpQt8VPbMgsU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vLc9KUPPcfPmJRkVZ9SzdiZuUqpVIHZA1Sml1/BlenA=; b=b1D20X49/ITgJMaCyw3QspYx2wYb3oY2SNxolkIWn05HdJffgWWTfTzCgVDjs64v3S RqY55MmBbuZW5NUzoK1Rfll/woQVhl8SAF6DNcOZ+nKD572Meph/fqP8aIPeSWnITCoJ gL/9laz4l64rE4D05pHfKhj1nOs2Dv0iLIyzakOPWIctlzaR+IyUmsuLWsK4qPMW1Ql5 nyYQJIZOs7mtzGe5Ad557omPWPp1aKHzoRXGLSwb3GzPQYtFop+1eklIja5EsDErUqF2 YaAz2jXu1b//YaXEGUuR/RuRH49fNEmsi83/zr6pCaIau4XofO5KM6+/YpCa4Xvp0a4i b5RA== X-Gm-Message-State: ANoB5pkOl1eVuO9WKYaVUlZEgNEJ2DX5u6lfWr0g6AqHzPz8BOYypvXz HbeF6lAyIbyIc0uvvN8Lz6zFzeM3lUhD/AMWeuXSQuZ47zHvRzDw+ZcVqDfVKt2lOZlBeFRhTgQ SZjI8c5W0I/O9MQnwWd3XKRH2ZylZBidTItc4G1LD85mIbOjeTf0TycuSGZr0 X-Received: by 2002:aa7:858a:0:b0:575:de28:b1f4 with SMTP id w10-20020aa7858a000000b00575de28b1f4mr17867561pfn.16.1670935747443; Tue, 13 Dec 2022 04:49:07 -0800 (PST) X-Received: by 2002:aa7:858a:0:b0:575:de28:b1f4 with SMTP id w10-20020aa7858a000000b00575de28b1f4mr17867540pfn.16.1670935747043; Tue, 13 Dec 2022 04:49:07 -0800 (PST) Received: from LAP568U.mistral.in ([106.51.227.150]) by smtp.gmail.com with ESMTPSA id y15-20020aa7942f000000b0057622e8e82csm7605485pfo.191.2022.12.13.04.49.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 04:49:06 -0800 (PST) From: Sinthu Raja <sinthu.raja@mistralsolutions.com> X-Google-Original-From: Sinthu Raja <sinthu.raja@ti.com> To: Vinod Koul <vkoul@kernel.org>, Ravi Gunasekaran <r-gunasekaran@ti.com>, Siddharth Vadapalli <s-vadapalli@ti.com> Cc: Vignesh Raghavendra <vigneshr@ti.com>, Roger Quadros <rogerq@kernel.org>, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Sinthu Raja <sinthu.raja@ti.com> Subject: [PATCH 0/2] phy: ti: j721e-wiz: Add support to manage type-C swap on Lane2 and lane3 Date: Tue, 13 Dec 2022 18:18:52 +0530 Message-Id: <20221213124854.3779-1-sinthu.raja@ti.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BESS-ID: 1670935747-302643-5374-5503-1 X-BESS-VER: 2019.1_20221212.2317 X-BESS-Apparent-Source-IP: 209.85.215.197 X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.244774 [from cloudscan16-224.eu-central-1b.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS91090 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO X-BESS-BRTS-Status: 1 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752103674693201713?= X-GMAIL-MSGID: =?utf-8?q?1752103674693201713?= |
Series |
phy: ti: j721e-wiz: Add support to manage type-C swap on Lane2 and lane3
|
|
Message
Sinthu Raja
Dec. 13, 2022, 12:48 p.m. UTC
Hi All, This series of patch add support to enable lane2 and lane3 swap by configuring the LN23 bit. Also, it's possible that the Type-C plug orientation on the DIR line will be implemented through hardware design. In that situation, there won't be an external GPIO line available, but the driver still needs to address this since the DT won't use the typec-gpio-dir property. Update code to handle if typec-gpio-dir property is not specified in DT. Sinthu Raja (2): phy: ti: j721e-wiz: Manage TypeC lane swap if typec-gpio-dir not specified phy: ti: j721e-wiz: Add support to enable LN23 Type-C swap drivers/phy/ti/phy-j721e-wiz.c | 90 ++++++++++++++++++++++++---------- 1 file changed, 65 insertions(+), 25 deletions(-)