Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6164469iog; Thu, 23 Jun 2022 12:42:30 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tdMNwZ2tiTfw5//5HBI3ONTENRahuPpn2lXDHoOVKWtylBXr261OXc92oAljpdLy+PvmYR X-Received: by 2002:a05:6402:2948:b0:42a:ae0c:2f26 with SMTP id ed8-20020a056402294800b0042aae0c2f26mr12785474edb.425.1656013350392; Thu, 23 Jun 2022 12:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656013350; cv=none; d=google.com; s=arc-20160816; b=zfqnWl/+J0AtO0HStqeb+OQKlFC5FFIplng0PcA+imOe4Q/yHqf/336ouqOKC3wMba dbZNDTOzPKNbtuPb3HO8RJZTVvm3QCy81JRuu5ygoGI/K/P7kupuikixUhp2aRdq9HSg UL5k8fXWF6/9NRehWpv9CxEC2DBF9WPJj1mBQAKBvAa/KB9uhdcPVoo/1F+q+Wwsr9wR 7kBMvnmLMgi7i3Heaw1uDRafeeKi7AhIPbL0pI4lXUG9knUP7iuvXhfTeNW5Nx3tXo1i nFkW5fzdqLqhdSjboh27C7iFILT9YrFLeJhQFLB4f5IP4kJ8wbtMm3nrN8aV6bhWk9Sh Pi4A== 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=G7GUFKx0kufkNV6cl0VJc529FkLJIKTxF3dZCCvrwdY=; b=IzuBWOFhJAn7pZ2dZtxZHssAP7KndecuDwgeBiGjXMpZ04dJAqka2ONJrVwhq0yVxu RJ9YCafQSbh5NGak1J88QgWrunaWyGrJns4sGCyU99M1z6hhrEdzAXHwDkOkAvbY4nv7 4DIiQBRaFyyTIdwSEGPXfDzPWSwbkZElx7OZ0jHsg1q7t06wSZIiU9AD3eKRxd6CSbjv waYPwzHqhUzWiZq93IJyf5AtDl3LcblqhqxrWPxdQE6Mi1FrS4J+pcSJ56s+Llh9aXzc 6ugkdMZz5EuUN58xT0/dRdcOZfYjnKcw1lsfRtcLimokbm9km8XBWq3m4/7Q4Kzmboew jKvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iN0a13Zq; 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 hq42-20020a1709073f2a00b007262c09f356si48424ejc.91.2022.06.23.12.42.02; Thu, 23 Jun 2022 12:42:30 -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=iN0a13Zq; 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 S230397AbiFWTdJ (ORCPT + 99 others); Thu, 23 Jun 2022 15:33:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231617AbiFWTcU (ORCPT ); Thu, 23 Jun 2022 15:32:20 -0400 Received: from mail-ot1-x334.google.com (mail-ot1-x334.google.com [IPv6:2607:f8b0:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C9C83F324 for ; Thu, 23 Jun 2022 12:08:33 -0700 (PDT) Received: by mail-ot1-x334.google.com with SMTP id 7-20020a9d0107000000b00616935dd045so196004otu.6 for ; Thu, 23 Jun 2022 12:08:32 -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=G7GUFKx0kufkNV6cl0VJc529FkLJIKTxF3dZCCvrwdY=; b=iN0a13Zqsn8ttJ7ja/KPwL2wPvJTDmHPO333uxUAd1CAaE8rvuUZkbPDyN3+0gOYeh yFjnENL67HNFCTd3LjmuhZ4hhwqdRyCMALZc3RW5N1Org7VuzCf1DFMR5WtCyfv2391G uo55OZxLAmQCzfMdLjGN999g9b+vwqIJ9/3eM= 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=G7GUFKx0kufkNV6cl0VJc529FkLJIKTxF3dZCCvrwdY=; b=2Sat4grgXfVR0I4wCMY9AxRGBE7bizWYrm6gWu1lWj9Fkp2HUMqeMN06WTzII5MLGU lyyT8et4EoOrT4iHT7+/hWTDobutMtz67e2unxynxOgy6pLdCeSPn0nHLQONlDn6D3mr J69qFCO53H98rAhk2WcgLHPtXtHeqlngH6+HuzkNTTuhRLMc0lPvdfymnUrB5Fp/3Ed8 CPytvsEfJZqtZwldzONSrepHOuihADlyCo1GsKjw7bUCDtiPIjWWnG4bi9EZaa/KBPjn eBm9l06fJNXfSXP6qmi1DcyMUa+jaO+3osBKjZafHPVAW0E60tLXxi+GFAnnDafh2HDM FHPQ== X-Gm-Message-State: AJIora/+Y1YBs/Jk+l0YlqZ4QrWdy9E4WPsHzztwMqABFZyE0bksGLKi lRMWewVuwHIrIvTz6x6NMxGmz3WUf65f4jHu0hV3Qg== X-Received: by 2002:a9d:729b:0:b0:60c:21bd:97c0 with SMTP id t27-20020a9d729b000000b0060c21bd97c0mr4488368otj.77.1656011312243; Thu, 23 Jun 2022 12:08:32 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 23 Jun 2022 15:08:31 -0400 MIME-Version: 1.0 In-Reply-To: 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 15:08:31 -0400 Message-ID: Subject: Re: [PATCH v5 6/9] dt/bindings: drm/bridge: it6505: Add mode-switch support To: Prashant Malani Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, 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=unavailable 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-23 11:37:08) > On Thu, Jun 23, 2022 at 11:24 AM Stephen Boyd wrote: > > > > 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? > > I will let Pin-Yen comment re: this hardware, but 1-lane DP is not a > supported Type-C Pin assignment > (as per VESA DP Alternate Mode Spec version 2.0 [2]), so the H/W Some missing link? > configuration you are suggesting shouldn't be possible. > Alright, cool. But it is possible in the DP spec. So it seems like if this is connected to 4 DP connectors it could be used to mux between DP on 4 DP ports.