Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6161382iog; Thu, 23 Jun 2022 12:38:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vC1pM0y9H8mxoJP8SXifFooxOrqvgD1n7ICf4jzEdtseNsnvsXb+M7s+YX7QEIlHgen3mM X-Received: by 2002:a17:903:2584:b0:169:a2b9:b428 with SMTP id jb4-20020a170903258400b00169a2b9b428mr35294962plb.170.1656013086977; Thu, 23 Jun 2022 12:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656013086; cv=none; d=google.com; s=arc-20160816; b=F19oRHtMa6PMt+fwoXJjSymDJN8byTKYllKVhQ0eZVW75Vr7CF25PXcWIGgQx13ohD 7nCXG2eOKnysCwejbOQEkanznimqe4svXGiM3pjZKn04KmE4MAo5AMR7uLK+j5c3+p1z 9amoBQ2KsF0O0V2AcruQ+hMQ7cUJBHNWz0uoIY5rGMlKbyw9+HaEaEsBgReYFkbD8XcD ihAHq2jWKz3LyzcSuGM6SCMpRyNHPdIAu885iawLuXPsCe5u2WTjba4gaYvIOd4uCDgr HfGJ8p/55A9YXygWRviLiqnRJvdq9Zam5wREHMdPliy4quhI2ZqXxgIcl7y9zX59UK38 cU7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=7KHPbnVlHnkB0EVrXTQL+f9XDuEF911Owwju7ndnO+8=; b=o+QR/xZG4hBTRB0e+sFtb+1C2ZInBJR4oJoYOjg23LEKvarPOsHlplTNJrmHdi381s EMu579N7617V5gXRP+G6s49zGCTx1uhUcJeZeNFz3VwrVmElSRNX+9njciynuiCquK6U Wt3AsJZc5FCkilQ40vr3+37m8a6C4Z4/unXUuCZVlSscRI2V+dN+vbxX3N73g/lGwmQZ RIHZe+rJ8qd32FA+tNDNyTTWG71N8Kbpm2JOZWIytCGefBZTnIxbt/oPMux7idMBN0+0 6HxwwmqZA2niGbRwwwTbEuuVEYhRBuLfj+3TbjbszK98JQGCFiJWq33MZ0XoeZ0lIKlp aiVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=limsfAyK; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i136-20020a639d8e000000b003fabebb91b0si27650047pgd.753.2022.06.23.12.37.54; Thu, 23 Jun 2022 12:38:06 -0700 (PDT) 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=@chromium.org header.s=google header.b=limsfAyK; 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=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229555AbiFWTS7 (ORCPT + 99 others); Thu, 23 Jun 2022 15:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiFWTSm (ORCPT ); Thu, 23 Jun 2022 15:18:42 -0400 Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88ECD33EAB for ; Thu, 23 Jun 2022 11:24:16 -0700 (PDT) Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-101dc639636so531393fac.6 for ; Thu, 23 Jun 2022 11:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=7KHPbnVlHnkB0EVrXTQL+f9XDuEF911Owwju7ndnO+8=; b=limsfAyKYwLYVD3+t6n9NGH70Er6BQNn9CewVXcuC79xXTCHbq+EpwRtFynJnAABb+ Udmnfdc3hKWQe+U1Bz1e3EefOpEcrWENgi3SzraOMfBwt7ACXA0EXag0R5dnndzUpd0l MyHPFG5pARv5QWIDZ2uIIlw0r/9lq0WLQp6vw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=7KHPbnVlHnkB0EVrXTQL+f9XDuEF911Owwju7ndnO+8=; b=I+KxI2ugePDGfyz+UYt1TEM0r2LcxdMnh5XoBn2BBaFDc37NBn+1mhxXQBJ1BZabN8 hvNYunh3yiVT8BBofBLXtQDNsPtLzwYsi/GWQa4M4wd+KBEqn4Z+Nw5GJ/+LxFWuTx3o IMNCz2wEUEZ9eZ3TW2NZ1//JSijebc033cEEp/KwJHzJZNb9hp/to59ghG9HoSI52i1P D/BZI+9r3Zgt+5jrqz68ePaBVA3njKt/Gj8YG4iN7fVGNyuRjt48l7yAnMDvSn/dVjK2 APG1mKyhIAun279YKrIcXD5NZA915+ivqOEnOIvOFZqJ2wVD1ZiAxWzK+LpIp9dVTMcB Rrfg== X-Gm-Message-State: AJIora8hWVzcTfqeo6+DqipwX+8pfi8AdZEQ3I5x9zXJEwSeBnRUNAO4 30NC/XlShpEMwvjoED6xPWYB6K9xkGh+OlOBpfgXoQ== X-Received: by 2002:a05:6870:b627:b0:102:f25:a460 with SMTP id cm39-20020a056870b62700b001020f25a460mr3149970oab.193.1656008654604; Thu, 23 Jun 2022 11:24:14 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 23 Jun 2022 14:24:13 -0400 MIME-Version: 1.0 In-Reply-To: <20220622173605.1168416-7-pmalani@chromium.org> References: <20220622173605.1168416-1-pmalani@chromium.org> <20220622173605.1168416-7-pmalani@chromium.org> From: Stephen Boyd User-Agent: alot/0.10 Date: Thu, 23 Jun 2022 14:24:13 -0400 Message-ID: Subject: Re: [PATCH v5 6/9] dt/bindings: drm/bridge: it6505: Add mode-switch support To: Prashant Malani , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Cc: bleung@chromium.org, heikki.krogerus@linux.intel.com, Pin-Yen Lin , Allen Chen , Andrzej Hajda , AngeloGioacchino Del Regno , Daniel Vetter , David Airlie , devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, Greg Kroah-Hartman , Hsin-Yi Wang , Jernej Skrabec , Jonas Karlman , =?UTF-8?B?Sm9zw6kgRXhww7NzaXRv?= , Krzysztof Kozlowski , Laurent Pinchart , Maxime Ripard , Neil Armstrong , =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Robert Foss , Rob Herring , Sam Ravnborg , Thomas Zimmermann , Xin Ji Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Prashant Malani (2022-06-22 10:34:35) > From: Pin-Yen Lin > > ITE IT6505 can be used in systems to switch USB Type-C DisplayPort > alternate mode lane traffic between 2 Type-C ports. How does it work? From what I can tell from the information I find when googling this part[1] and looking at the existing binding doc is that this device is a DPI to DP bridge, and it outputs DP (probably 4 lanes of it?). Does the 2 type-c port design work by transmitting DP on two lanes of DP for one type-c port and another two lanes of DP for the other type-c port? DP could be one lane, so if this device is able to output one lane on any output differential pair then I suspect it could support 4 type-c ports if the hardware engineer connected it that way. Can you confirm my suspicion? [1] https://www.ite.com.tw/en/product/view?mid=45