Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6179591iog; Thu, 23 Jun 2022 13:02:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1ss952cFoU/5Dx+FEFA85aL55PyWXxOCGSwer6jR9fISGNChKB4OvjUPIWmhW77xolVGI9G X-Received: by 2002:aa7:8b51:0:b0:525:5132:8a84 with SMTP id i17-20020aa78b51000000b0052551328a84mr7208040pfd.45.1656014542972; Thu, 23 Jun 2022 13:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656014542; cv=none; d=google.com; s=arc-20160816; b=gEQdKUGN4y/Zgr7rG3FsgdcMbYDH6bp4X1KppL4Tx6zC6zZUJWcU+iWv0gsyX92+DX btCCnABW+k6a6V5B+obEDLxq/f93R/koU7+A9fLq8AITZ6M5fuTm1pyr52c1H9YiTQ+V YGweL57QpWCOMREs+A+o10STKgN7pkcmwYOV5BGc4KD0ABRjUtlSrbt4qFZ6QGkw6eG0 Zzzf2+A62LNzr4Uwyh1v0sjQkwQ0OYH+Kt/JBXmjb3tSU8m3kTMvsyoYmn63L0M8uF9W 1OgglykicBNkHms0PNwBqCxlnqUO2IRhuVv4w9obId2ITHBsUH/WGx2MUcn0O3OadWZB X9VA== 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=icBv02YthTFvrtUFWz0nh/9bhPVkmRsemm78ezrfeog=; b=iOduRD0nsoOKs0Tw+Smj3Bo4m+BY+/FMjrcE44tixr0NR1jTBjJI7C9YdobsdCJUFI ICMDH461erPlG7Uj3PBniaGgth/OLRC7EQHQUvYV5KX5RcphWRNn1dTBDZ4wmRYkZvpO vkyP+jak1Umb2BDJA5gMjWp6XQt7iZxXSmYu42CXxD0y7+1AFqTiSg9EQy25g7gqbx7N qtAwawoEr6gbsdC7lV0vRhPw6cNOP7ZswO9tAF43mpY+a5SgXU6NVtaV1G4nO64KxRGa 6Z8WhEipGsEBFSahQyuCtyJuEsOtW3riuQ4yraDNaaFkSxyxH8Nc5cfuOh2j4j3vdhPF eS1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=O+7rr+Xq; 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 p5-20020a170902780500b001649cfacec6si605695pll.10.2022.06.23.13.02.10; Thu, 23 Jun 2022 13:02:22 -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=O+7rr+Xq; 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 S231326AbiFWTfA (ORCPT + 99 others); Thu, 23 Jun 2022 15:35:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiFWTeq (ORCPT ); Thu, 23 Jun 2022 15:34:46 -0400 Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B11467E5C for ; Thu, 23 Jun 2022 12:15:54 -0700 (PDT) Received: by mail-yb1-xb34.google.com with SMTP id d5so714166yba.5 for ; Thu, 23 Jun 2022 12:15:54 -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=icBv02YthTFvrtUFWz0nh/9bhPVkmRsemm78ezrfeog=; b=O+7rr+XqABJcGtIev7QuTB6drGNOp0FepFlPL9QPhSNPXGIt3f7U4DTmMg9xIEHhKZ uTsyrzAeqt3Tu0JjNpXw1NwLXmH8BI895ef+JPO5kn8Lr2RsyoARbK33Ko1ZYta+uF3e VkUFUxb84/ecefpxjKQWFURfIRjRbjiFwBW6w= 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=icBv02YthTFvrtUFWz0nh/9bhPVkmRsemm78ezrfeog=; b=6gn8ttPqf2BjyB9JrxjwrZsvIC5rd/z7U3G5gc6atdL6h+kJFXRUiQh8okOKEf/sgS L4J65LF7ryonlFYa2o9GKsWkTRK02yAaNaP3rnHHms/t3inWCCl5KgRf4EpVMnYCWJ9s TGlPBmtBNUUguGxbgw9eQgbO2H4l/AG/edTpVMgstayQu5ZS8oFCK+NahMBM4ugHu/hI Im3hCLbVsv5kSbMOD01H2phvVq9lqcZr9MN2oAgmEmFIYZ4WnZhA5pYx6EGlUoR/1KR9 TUoish/wyprSRYN2SgWv/XpKvD71UpkI4xB3TtuhtudIrmjln2GygLIpLBaQAdH9bwHr sAHQ== X-Gm-Message-State: AJIora+/lIAPvDYKm+P6h/zq6fw7fU4Ow5AUhPahwLxFtw2ufeeB7nn3 /7a+rorf7DlNchuoDWjRpVbnw9vPgQ0eSDjiaY7yRw== X-Received: by 2002:a25:540a:0:b0:669:b4cb:41d7 with SMTP id i10-20020a25540a000000b00669b4cb41d7mr3084875ybb.196.1656011753251; Thu, 23 Jun 2022 12:15:53 -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 12:15:42 -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 12:08 PM Stephen Boyd wrote: > > 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? My bad. I tried to find a publicly accessible link to the DP altmode spec, but it seems like one needs to be a VESA member to access it :/ > > > 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. Ack. In that case, no "typec-switches" should be added to the DT.