From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96B17C32772 for ; Tue, 23 Aug 2022 19:31:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232220AbiHWTbm (ORCPT ); Tue, 23 Aug 2022 15:31:42 -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-Google-Smtp-Source: AA6agR7Tplpl0I6QcELlwZXfwpUh5dE7G8dVWSaIMwN975uDfjb3e5Hod1U6v27fYqIISntknbMDFc+HKE9bvLh75Ek= 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" 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