Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp562565rwr; Wed, 3 May 2023 02:56:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6bhCCqn1ZMm0dhxscrzKWhwdYn32/MAhjAh7WZueg9RFCXNSXjYyqhQp0PCdBVgWea0WFR X-Received: by 2002:a05:6a20:5496:b0:f2:14f7:c1e1 with SMTP id i22-20020a056a20549600b000f214f7c1e1mr27059267pzk.12.1683107787908; Wed, 03 May 2023 02:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683107787; cv=none; d=google.com; s=arc-20160816; b=0juNVY7YW3op6ASbi49HZ+Nbv8ezGeuC2hbJLMEsStxHY6w16Cr0SyNoAfnnLGO1CJ +YPvM8glvLzEyOYLse7cxj08bXto9ZGY5iYfVvgELw6wfLacglDmudIk2Qjb7as1Cho+ BduyLTWmMIp5lSIe/gQ+tRM/WU5t9tvHzIx31o+CTm2oTYy9T2qLJ/fALLiBlsoXHZND gjVTZQc0NzQn/2Mf59wBTS8VURNhhqa2qGkM1n3D4e+O7QciCntuCCrA4Q8jQUwIURxD l9V5h4Y7H2XFDz8m98Z7BfPClC33gKjzPJvM8q2ojWR4whNiHkLVxSudg0mAr8hrwY4V I7iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :reply-to:user-agent:mime-version:date:message-id:dkim-signature; bh=/T+FXX7sVWVqbhY2VKXDOoaJBNQLW/1sdFoVyLs397Y=; b=P1+NcrBpplGxtRVislzE3j3awvcqvf8aXz+tg2wbboZnwCRTd31blv+6pwwAOrKcN1 u1Cjul1FKq1EqxS/iZcdgYDh64/fjJ7sF8XdwFSh8eyIbrL8AcgSZtkvdZHLY704LyW+ 5DZ0TNlBDP77GMG68sCYLaScWXhtQSdNY4fjDNz/svUGt2E2N7jM0KixW5URv2CBuqBn dbFS4nXcEaCuPWlJ4NaQeEp7aKnL/FIyQOkM7Cy9rtXfNvsolbhfKGFXmgTNC/B4Gsli flzxi8DvZ/nZBbA0dvIGZ4mLrN9XXfZx2r89VTqEcxpF9s+VkquJHq83APhDymzqvXM0 HQ+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Y78Q/Ld9"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lp17-20020a17090b4a9100b0024df9561b5asi8134738pjb.143.2023.05.03.02.56.16; Wed, 03 May 2023 02:56:27 -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=@linaro.org header.s=google header.b="Y78Q/Ld9"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230107AbjECJvf (ORCPT + 99 others); Wed, 3 May 2023 05:51:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47082 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229997AbjECJvB (ORCPT ); Wed, 3 May 2023 05:51:01 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE8DA5BBB for ; Wed, 3 May 2023 02:50:09 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3062d764455so2347817f8f.3 for ; Wed, 03 May 2023 02:50:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683107407; x=1685699407; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:reply-to:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=/T+FXX7sVWVqbhY2VKXDOoaJBNQLW/1sdFoVyLs397Y=; b=Y78Q/Ld9skWxCIPXweKuqGDku1tQ2YEJrVr5a6ClwMJNdu+TeE80DWnXnrp6AGiOn3 zQySQTf8fJAAaWzuy+K9N7fHMR6vL/R7kiWim4wL9doI4jUuoN49pB2YKXNZUDpN0cDo u+LfvtOcRAFQkLfq+zkzQdTxnByhzOBm23StgSOK32eI7pUeZbnjI3+C13rBt5VQgpYt 33sPoByohMcXs12emZ4UwZj6PI8zJg0+5oHIbBBmcOjracpM0CFqCdHTlt86LqSwfISw ynLaIm/F9yHV3vnE+HXN0DvxV3NAOz5hIdn1mdzlgrc9/DOGE/L/SocDoK5seLrxFGzR h1Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683107407; x=1685699407; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:reply-to:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/T+FXX7sVWVqbhY2VKXDOoaJBNQLW/1sdFoVyLs397Y=; b=D72mK2KExc0mpxfFCD+XyYS/LKAFfYC44YTJZ+/emU3ovi6YJQTHF/OozW035Jxjrv jAhaeD8lOi6HKW/mLu5ZTK6sHwmaayl9dB6ktMsanHDaZk+ArEPq1Usfw6Ut6G/F/ip3 JQK1ZfvdcVIje2Eck6ui4LUq4nQFDOVSmruSAUtBaBqqWCUJ+yyGuMpFxaEKmRc+ez7b 4Y4bwGJxh0bBewYh8yEP8sTIOOdefdLjhUZolLUiYoWz/Nvl7ldNCixB4kTGG3kf94Ga 0RFNqZCzw3yVb8Czt9uBMcISy4WkVDsFnYV9Zhh7v4YF1pgD8swzAZhJJ1zjW6fs+Vyg zn5g== X-Gm-Message-State: AC+VfDyQ9LdArjyYF1EvPogoxm0RZ/kd87rotV6XjMpwAStfTxc7bWL8 owgeuzGVWRkcvXIjmT9OWPTtog== X-Received: by 2002:adf:db44:0:b0:2fa:9036:9cf with SMTP id f4-20020adfdb44000000b002fa903609cfmr13176064wrj.37.1683107406770; Wed, 03 May 2023 02:50:06 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:68:e58d:3e87:f8c2? ([2a01:e0a:982:cbb0:68:e58d:3e87:f8c2]) by smtp.gmail.com with ESMTPSA id p6-20020adfcc86000000b0030644bdefd8sm871903wrj.52.2023.05.03.02.50.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 May 2023 02:50:06 -0700 (PDT) Message-ID: <579b44ba-3703-a63a-6e79-7da335c1f990@linaro.org> Date: Wed, 3 May 2023 11:50:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH 0/7] phy: qcom-qmp-combo: Support orientation switching Content-Language: en-US To: Bjorn Andersson , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Johan Hovold Cc: Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230425034010.3789376-1-quic_bjorande@quicinc.com> From: Neil Armstrong Organization: Linaro Developer Services In-Reply-To: <20230425034010.3789376-1-quic_bjorande@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 25/04/2023 05:40, Bjorn Andersson wrote: > This adds support for USB and DisplayPort orientation switching to the > QMP combo PHY, as well as updating the sc8280xp devices to include the > QMP in the SuperSpeed graph. > > Bjorn Andersson (7): > dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp: Add ports and > orientation-switch > phy: qcom-qmp-combo: Move phy_mutex out of com_init/exit > phy: qcom-qmp-combo: Introduce orientation variable > phy: qcom-qmp-combo: Introduce orientation switching > phy: qcom-qmp-combo: Introduce drm_bridge > arm64: dts: qcom: sc8280xp-crd: Add QMP to SuperSpeed graph > arm64: dts: qcom: sc8280xp-x13s: Add QMP to SuperSpeed graph > > .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 51 ++++ > arch/arm64/boot/dts/qcom/sc8280xp-crd.dts | 28 ++- > .../qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 28 ++- > arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 34 +++ > drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 227 ++++++++++++++---- > 5 files changed, 309 insertions(+), 59 deletions(-) > I succesfully tested this on the SM8450 HDK, and the following works: - USB-C to HDMI, both directions - USB-C to DP cable to DP display, both directions - USB-C to USB SuperSpeed, both directions - USB-C to USB-C, both directions, enables SuperSpeed Plus Gen 2x1 Tested-by: Neil Armstrong # on HDK8450 Thanks, Neil