Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6772241rwr; Tue, 2 May 2023 05:30:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5OzoROcfUp5se4wSgh6CjhIWw+9IaqVOOEBR3N1zlzplBgjGIs/1vDcvbtmpQMumm2aKZX X-Received: by 2002:a05:6a00:848:b0:63d:23dc:7760 with SMTP id q8-20020a056a00084800b0063d23dc7760mr25690543pfk.2.1683030645527; Tue, 02 May 2023 05:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683030645; cv=none; d=google.com; s=arc-20160816; b=hF/8XAjvOw6BLBb2R+iPZfpo31N6K+yu9giuNEr2oINm3I9yErh57k9cBo1qYyPRYn cQ3OzikYhLemF7QwLpvhEkpkw5NozRHVeCVxYDk6CCBnrtOoe4pcsQPWJ3rcx7mZyifz z4e84f9/H6aTQbEHX/IXR0Q5vwfuWORUMJrsT/fxm/gcQ7B6l6wjoVhod7as6k43a6ch 3s/Y58MXUWlG1YVKOHQetAsyi8aiDvgZ/ZNXWCLiIRWrv8qfT4FWiysm9rZ/mB4PI46o NJ+cQD5tXApht0S2/7Ko07BPaUiEikV7bTZzQSr4MEpi8LAYC9HPfMtqHGn5thR7WbkH q7vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Vj8aAqIRscp/ObQfCQVCaAcQrZulfhLwkXMfOXlgmXo=; b=WBXd0vNLffwsI3CfGTA0Tl2gxjWVAAzLblABX0zodAUN45jdkjfnT4fZacDHQExJsu mFEf4dHCAeMjKQxW1rPGHEcpOZqElnbLicBvqCv2/nBKCIAbtCObsEKUnkQgzUlxPBBE fXIAJh+vbP/bd6TmbdCdUUYy4KWP2pc/lRYtPwxab/HT69fa3eiym0o7vmTnrE/gH8Oy uSshZc/qByYJN5ddgDG9WHTrQjsASK5uYRAxOSBx5/d9fzcmTMdkmKijH6+SvaB6ZOdR SfBLpj02ndEjxpg9OF+kmhZPW3799X0wEdPMXySa681hiRZUpUW7pq4FrtZmeqVC+b5R k1xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BGHceCY6; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k10-20020aa7972a000000b0063b0733cecbsi31337056pfg.241.2023.05.02.05.30.28; Tue, 02 May 2023 05:30:45 -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=@kernel.org header.s=k20201202 header.b=BGHceCY6; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233817AbjEBM03 (ORCPT + 99 others); Tue, 2 May 2023 08:26:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232830AbjEBM02 (ORCPT ); Tue, 2 May 2023 08:26:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79B3EE6A; Tue, 2 May 2023 05:26:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 13B98623D1; Tue, 2 May 2023 12:26:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B614C433EF; Tue, 2 May 2023 12:26:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683030386; bh=+tUawv5EiBg4sqiRbzAHZDe9om3TRYdvWox2tHvlSzE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BGHceCY6xP7mDbZltsp5coAmNywdFwO3NYphny/G+DLVhtX3SpVVcIBBvo9MIfDSO Tre5lOjjXPdwLrYugKH+/Ay6m4KlEJXKFPuLrFbVPkHzYAwTQnyja7/bwSqMSqDyTr J+U1GK9IekqBukX1SDRrZy996kb8DOFc6Cxa9nhWHXWxZWUBLUUX02Pb1I3bwU/lOe pXK00VzQJK4mA4IE/TAHIhVnWc4PwKoYWUj8/Azhzae1tldMT9FI8h+VFOY890iGFo plUE8p6r2qoP82JsYPRcfHPoz4mGC3Jz95/P4WxUySlPJrZzkFYVF7SVL2u4kmVeyc hCceoQgLWTjmw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1ptp5R-0003n8-Gn; Tue, 02 May 2023 14:26:29 +0200 Date: Tue, 2 May 2023 14:26:29 +0200 From: Johan Hovold To: Bjorn Andersson Cc: Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/7] phy: qcom-qmp-combo: Support orientation switching Message-ID: References: <20230425034010.3789376-1-quic_bjorande@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230425034010.3789376-1-quic_bjorande@quicinc.com> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Mon, Apr 24, 2023 at 08:40:03PM -0700, 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. Nice and clean series! I've tested it a bit on the X13s and verified that DP works on both ports and in both orientations. Coldplug also appears to work reliably. Tested-by: Johan Hovold # X13s > 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(-) Johan