Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6179314iog; Thu, 23 Jun 2022 13:02:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vNQAlemnqEQuwCwkqn/2AWAQLmOB6xHDX7iu1V8KHXqW/sFDt0F5u4mAPeXKByZhJAyTx8 X-Received: by 2002:a17:90b:1d0c:b0:1ec:e4f8:c37b with SMTP id on12-20020a17090b1d0c00b001ece4f8c37bmr5705355pjb.238.1656014520080; Thu, 23 Jun 2022 13:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656014520; cv=none; d=google.com; s=arc-20160816; b=LzC+7PsBcDWPBXeQuQyomlT/9mwq0N+cb9aCgwPmOXKYsClcTr9d6NVhiua2eYReJ0 4LMe8/lKDh46+URBHa0EaS4STI+zPsNKj4afEsM6xnQ1c/wzvCXgGKiDjZqUANztb4IK DktzQ29VEfTPgat8GbktiP2mRDMOVT8ei1ZelS7xa4n0o1/LS6uwrkGgLPGTHK4+wFiN f+Y6YqUOxHNEC+MAPH2YbCD57RrfEEa08rYDIudG2V67Ddb9clb/OoV83Xy0o5oPc29N v/2L2iqjg+oDdGC8GWoAtUm9y7T4DMDs5NiDmmy5bI43rqHB/bEFrnJ2TXBOp7tjooF9 12Wg== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=+06H+RDgwvHqnW/mu3jxtp3uKGDdYaMeztRhDlRy+2Y=; b=A024Wzw9RoPlSa5vqfsg7S4a8pLnsOngxGx5Ky7JEJN7wVcfFZ1wUcuhTZogfZk/f9 3976AZL6etIQyPseg9nU4iaz85CukhIdhHtLRvLuAnLhSoX5ojRfeNxOkT9CIu+4UW3Q vzXlQrKEMPvdTCuFpvdVgHStxiJVD8G0Mgrlqbtl6u6GHUNGno8xMBASNrG5GfkT0OJ3 5s7XVEIOevBUS8MVFxy8opQvKEiyrzNu/5IC70mN5sXlqrr8iiV43/G1bfym0p8vvfrD 7VXUEA9bEQhQIxBzk7LHBZ/4K8EGm8uHlSLwxQc5C7D3sfi4Tcd0cw85fVepLl17YXJw A+XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=M2d16jIS; 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 jc14-20020a17090325ce00b0016a1ef12851si435584plb.611.2022.06.23.13.01.46; Thu, 23 Jun 2022 13:02:00 -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=M2d16jIS; 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 S230234AbiFWTZY (ORCPT + 99 others); Thu, 23 Jun 2022 15:25:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbiFWTZL (ORCPT ); Thu, 23 Jun 2022 15:25:11 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51A2549692 for ; Thu, 23 Jun 2022 11:37:20 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id l11so471745ybu.13 for ; Thu, 23 Jun 2022 11:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+06H+RDgwvHqnW/mu3jxtp3uKGDdYaMeztRhDlRy+2Y=; b=M2d16jISsGOMxbNgUi6CrTcuiHAo8b4VfVws/IvmWXbja3y8S3/EyTmrk2MgkxQb58 D8/UBc0Y2FUWCcofnX3ffMY/En+VFhCoVFWi4pUYKiISYOQr5gW818W1LIdjbVOEQO2F 6fxHdW0MNcHURmuzQzoO4ksxV1gUf3uUQJ7C8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+06H+RDgwvHqnW/mu3jxtp3uKGDdYaMeztRhDlRy+2Y=; b=XnTOFtCPx6FEcPzr8zbvSGFbwqPBysstxlR1JQb66+T1G0EYC6RGH+9omvgmHrV+b1 80ep3pWbwCxFGnoE83VXPXcnfXu+Km+oeHtWN1CfTb2e0FDSwnrhh9ksiR/6GKnMEseN /Lo6vTczAg7ADoNP5SJ8yfsqyXgdPb4dyr8UbPnpvc94rx4Jbeollh53+797qY1ehXHz js9+pEYedidJNQU1llSTFZ41yyOcgfTkUDYNxgYwFH6yfS9IqfqjImm8yDEQmvx4zErm Ra3sH1GFAF9+gGwkrTjDv805Zyr523DofaMhoQ8PL+hMKVvagHosIFCyHTQdE9mvBp08 GruQ== X-Gm-Message-State: AJIora8B3BP1JyG9oLxhSpRF0dxeBmLmVfCywQEyDzPsuywMx8e9MpHD GdHsvpDvqMIffTz2FM6iCOGSYA1L13wT2UX89r5QFQ== X-Received: by 2002:a25:9d89:0:b0:669:31d4:7cd9 with SMTP id v9-20020a259d89000000b0066931d47cd9mr10937558ybp.294.1656009439543; Thu, 23 Jun 2022 11:37:19 -0700 (PDT) MIME-Version: 1.0 References: <20220622173605.1168416-1-pmalani@chromium.org> <20220622173605.1168416-7-pmalani@chromium.org> In-Reply-To: From: Prashant Malani Date: Thu, 23 Jun 2022 11:37:08 -0700 Message-ID: Subject: Re: [PATCH v5 6/9] dt/bindings: drm/bridge: it6505: Add mode-switch support To: Stephen Boyd 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=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 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 configuration you are suggesting shouldn't be possible. > > [1] https://www.ite.com.tw/en/product/view?mid=45