Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3923904rwa; Tue, 23 Aug 2022 12:36:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR5oPLVAP1LZEWFs074q+XD53l5ikwwoPykH/bqunnrXbfhzj5WfHfvGyjZsPcOHexl0Wqqx X-Received: by 2002:a17:90b:3c0c:b0:1fb:42eb:746b with SMTP id pb12-20020a17090b3c0c00b001fb42eb746bmr4525852pjb.229.1661283378609; Tue, 23 Aug 2022 12:36:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661283378; cv=none; d=google.com; s=arc-20160816; b=eVZXaptPyCXouUG3Lx/f9pzIax5mL12P7eLuhfJ4CPsEOO3vsYsVgmemEFNJxaKVc9 5jqNDo7mMeGdAo755gQs6mMqDFCKpeUzq6ghRtTUza2Vz0rODdxAIF08vnFTOJSRgXct gRLH7RmUgqBakCNXsH9mBX0e0GKuBdkfyzyfwJz60s5JHzweD4JX0+T7eHSxDigD5buu GE2ZQTkeYxXcBSobErEJjUnSohast/ckwiZB126afZuYH9cXgFSydbyxfPH/hfZBIMEx Seoh7lFkyGz7XMwkM8TfKBCOazC3ZCr5ZffviPOmFTagiU19YghCZd6Eap7wanOY+tP0 9+Qw== 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=VRH9i7gn6G7q7zM5zkrgK8otWVHlhX+rKEaQTiTTOG8=; b=YLLXpdkjYZHsRnZCuBk3+6gpXqyuLhlShU0r74NrW0AjRnYAzQdh1RZ6jdGqfK1P/P S/862n1xVtCHp01nUkAgFGnS2pfLGiNbfbZRBkWVKktsLMbrRYGA4ZWtPqLr5cfbXCm7 tn3nFY3XJfpbb5CUS2tn6jR5BRepiWtHMUeGiJB3zT6g8wUcmCD1q9mdpev1M/xw+K2T HGyMiV5phZZoZblH4v0bKnpueWMHBckjKBNtRk8L8NyHjvwctjPwJO+TI54TzEtbB9ka AmK12jJ6hldaKspT4rvtWZTv37iKaxa1CLmKt96orLHFMlxryjF1MsQdMuDqes10NPAg E70Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="MZCbr/WE"; 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 l18-20020a170903245200b0017154ae6268si8880016pls.484.2022.08.23.12.36.07; Tue, 23 Aug 2022 12:36:18 -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="MZCbr/WE"; 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 S230508AbiHWTbh (ORCPT + 99 others); Tue, 23 Aug 2022 15:31:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234196AbiHWTbG (ORCPT ); Tue, 23 Aug 2022 15:31:06 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FA5DD7D11 for ; Tue, 23 Aug 2022 11:21:46 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id n21so10949609qkk.3 for ; Tue, 23 Aug 2022 11:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=VRH9i7gn6G7q7zM5zkrgK8otWVHlhX+rKEaQTiTTOG8=; b=MZCbr/WEbJydxnsRP5iDs8/+UKHC04XK4zcpwO5zyFGAWWy/6HFHsOKp7qYfTJmKBT fBzs3v7/7AQJ0KzQ8i+gXfbYpjMe2dGZrjRk4LEtEg8YwZ+TcO0L/E4zM2ooV1ss+2+B Gr1DyQWP/qboa72UXqPFD27ZSZg7AfE02sPVw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=VRH9i7gn6G7q7zM5zkrgK8otWVHlhX+rKEaQTiTTOG8=; b=0fLtOqac/NBlRRDJS5znTK6Ov7rbVYjIVJ4TclFTmNiRbF4q3Xfp7FexJHwrTQjVz3 LoyyFUVM2QqrQkcw02PQe0BRrE+t3tcaUKcNAI1mBq7BLuSPeJ1+OBKTR+0D5nsZuPbX Z/ZTxAVntcDcUmMR4qw2kT7ywIii8dH7oRslNuJdzCR4LyL4N1vIRSiv9PBoT2JwzIHD 5+QsouHfzFGY5g+iA+KZKDRIIDql3kxnTOiIBK3G7jsGdbCb/Gb54uQlm1XjwqhzH9jE UcYmwG/lxZr+j04Og4gQ63wDhgdhtpn2kKYLrsLFsN4Bv2SjBR37WU2Tia/+rOgRYdtt miFQ== X-Gm-Message-State: ACgBeo1PoQeL2vQtRU4RRqe/q+sdRTYPA1uVeXF5wvAXUdfoTAli7dGp HBpe51YJtye2LjBhhFDqJ04yRxlaTmHBpj7FRMF1bg== X-Received: by 2002:a05:620a:c44:b0:6b6:5c63:aebc with SMTP id u4-20020a05620a0c4400b006b65c63aebcmr17241718qki.170.1661278905154; Tue, 23 Aug 2022 11:21:45 -0700 (PDT) MIME-Version: 1.0 References: <20220810204750.3672362-1-bjorn.andersson@linaro.org> <20220810204750.3672362-2-bjorn.andersson@linaro.org> <20220814210104.GA690892-robh@kernel.org> In-Reply-To: From: Prashant Malani Date: Tue, 23 Aug 2022 11:21:33 -0700 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: usb: Introduce GPIO-based SBU mux To: Bjorn Andersson Cc: Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Greg Kroah-Hartman , Krzysztof Kozlowski , Heikki Krogerus , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Pin-yen Lin Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 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 Fri, Aug 19, 2022 at 9:04 PM Bjorn Andersson wrote: > > On Fri 19 Aug 17:18 CDT 2022, Prashant Malani wrote: > > > On Fri, Aug 19, 2022 at 2:39 PM Bjorn Andersson > > wrote: > > Are you saying that two of your SS-lanes in connector A are connected to > directly to the QMP PHY at the same time as two SS-lanes from connector > B are connected to the same two pads on the QMP PHY - without any > mux etc inbetween? > > I.e. that there are a set of pins in connector A which is directly > connected to a set of pins in connector B? > > > I was under the impression that in your hardware there's some component > muxing the single DP output to one of the connectors. If so there should > be no graph-link directly connecting the two usb-c-connectors and the > one QMP PHY. > > Is this not the case? I can't speak to the QMP PHY specifically (since I'm not using that hardware), but your impression is right. There is a component (anx7625) muxing the single DP output to the 2 usb-c-connectors (specifically, 2 lanes each from the 2 usb-c-connectors). The other 2 lanes (from the 2 USB-C-connectors) go to a USB3 hub; hence the need for 2 endpoints for each usb-c-connector). So, the anx7625 should register the mode switches and it needs the graph connections from 2 usb-c-connectors BR, -Prashant