Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2656365lqb; Tue, 28 May 2024 06:48:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWqLfsNZdEQZBp9Kq+n+0/ed4kHG14JA6vYCcWYqlumOvaQC0XjyrvKZe+j2uoz9BWBq49J26CaZEUFpX7+Lc7yqMwizJ563J0QNLfllA== X-Google-Smtp-Source: AGHT+IFHa4xGV4MF1SixWZmzabBwa6LFd6mYljx4y9oO7qRVZ+fRJ2YJN0DQ2ceX+VluaUb5XStt X-Received: by 2002:a05:6a20:9696:b0:1ad:1168:a417 with SMTP id adf61e73a8af0-1b212d360d4mr14907464637.28.1716904122066; Tue, 28 May 2024 06:48:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716904122; cv=pass; d=google.com; s=arc-20160816; b=ci0gBnZNEBWPSoHkm6i49wnKeKglNvy3IJ8LOWxcviWOg/5rQyWdXo/+PqwqkzlYF7 0buX43DB1VeW5nzoys3s8hgwYD2fb0CYtN6fVBLskQjx0nDwgdXHPefkRc5CxCSoiR0v dI4g6gJDjDAOIFEut4G6wExIt+YV5BIyVJOFcANbv45F7unGxBgqzEWI/V1FI0LHe8le IZTrWs4UwhbSLoO3+E6YtsltkaTA6fvoOcv3Q9c0Rl3Jt1+DAEsEU/SOwuP3HQv1TXdB Aw/VKTP5HVvOxNP5IUJu3YIsD1RrIJg1uNtmkS+XI0CR7St2OnEhwlxqff1mtVStwftH umiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vBoRl9YuANV2aKGWWMXttPJ8xJ+fO9LkwDq2w9yEOfk=; fh=n3emRPgMFcuGMlNIR6WM8pVkqwYrXmGcdqk4pvhdhyE=; b=cHADH2/JU1zi6UlXZ5wRdIuzSrjqstmNwlF53NMUS1iTaaHv0SiJId1FUO8EEYGIaG Q6cp9/sIkEbHB53Eificrzr0e/ncvOUYLJToX3ihSxD2fTXrQosWxV+kJPkGXPwXifrt 9iaXrvcgn7hYQAJP9gjkl00Q0BC/FxJZ9GvUq/Iax/2r8AK0c+BK5uz3+fkP/oJEzy7B vzknxMsK5NAnU/LyQ1/n5S8uS6XRSE4o0CAXlGCHKExCyXc8YIQTxsO5lzOnDCCOV+jC A4mUZwwz/EvJMaXnCgMwj9eesKIWEMhgCjlG7IYRUTRlZbDHRKX7R4B1eSF5AeRnffYE 6jDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qV2JvCao; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192449-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fd4cce9csi7938780b3a.232.2024.05.28.06.48.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 06:48:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192449-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qV2JvCao; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192449-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192449-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 7C8B0283021 for ; Tue, 28 May 2024 13:48:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 48FB816F292; Tue, 28 May 2024 13:48:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qV2JvCao" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6523C1DFEB; Tue, 28 May 2024 13:48:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716904116; cv=none; b=gFW5Ow7o9BV3BUnS/tIeBZ+k/HNKfxKs9jXjOoCyvPPvLJGRiSDmM0WrwgfSzHbBW0h7fdz9Ydeuj8uXjkEqaW/OKEsc6pwb8kAOUatyLOdF4sBRDFu8jyoXYLtMDsZilxMveSOXbqe4Vs05k57asoPOJZATHn97oiZvDqyf7oQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716904116; c=relaxed/simple; bh=DoTWcxfPd6ZXM5trbPl344BcOXMoZdGGkPQSwjH/RWw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=St7NU+NECVdKw4MSRH5L2ZVFXkbTA8UQvv7J/L9GMSESvuDRW66xh3v38Dlgwn5WhAcuW9smUvxHBZZGChI7hz0vyvdoG5rr56LHMtl6qbLtOLEEVEGMfiB/kGHgyEQ2W2oe2FnBxOCFLYm6MOU8/kUJKXgXoG6N96SR2x5wyi0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qV2JvCao; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E332FC3277B; Tue, 28 May 2024 13:48:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716904115; bh=DoTWcxfPd6ZXM5trbPl344BcOXMoZdGGkPQSwjH/RWw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qV2JvCaoWDpXgFGwXQMX/wBqV7LbRdk8dAwfrWp8Alhoo43rJMx/Q3Hp0rS1P9Kao ZTgbPEMUu4ivrI9JU3zpLxcZo/NnyfuEPXRM2BK+IqRQtrVXpP/20Mi+QU2CHNhnVJ Wh4moUeV6b3EDAh05vasMik0jRZraX6s5NwqrSoO8hUjr6sBpJyeAXIbDqnWe7bp+2 heQR990QJszNbZngqv5b+OeakkEjNGBQW+62ztLRkVmfqmLp/oS7EGDlanDc0O5P0a J46zpE7fh1fpLxMcVSMob1z1xpT/F/ptPkiZ5ml0IhAzvinmUpiLtGDNHYReiT+dmc PB1wqi/C/iYqg== Date: Tue, 28 May 2024 08:48:33 -0500 From: Bjorn Andersson To: Neil Armstrong Cc: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Konrad Dybcio , 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 v2 0/7] arm64: qcom: allow up to 4 lanes for the Type-C DisplayPort Altmode Message-ID: References: <20240527-topic-sm8x50-upstream-phy-combo-typec-mux-v2-0-a03e68d7b8fc@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240527-topic-sm8x50-upstream-phy-combo-typec-mux-v2-0-a03e68d7b8fc@linaro.org> On Mon, May 27, 2024 at 10:42:32AM GMT, Neil Armstrong wrote: > Register a typec mux in order to change the PHY mode on the Type-C > mux events depending on the mode and the svid when in Altmode setup. > > The DisplayPort phy should be left enabled if is still powered on > by the DRM DisplayPort controller, so bail out until the DisplayPort > PHY is not powered off. > > The Type-C Mode/SVID only changes on plug/unplug, and USB SAFE states > will be set in between of USB-Only, Combo and DisplayPort Only so > this will leave enough time to the DRM DisplayPort controller to > turn of the DisplayPort PHY. > > The patchset also includes bindings changes and DT changes. > > This has been successfully tested on an SM8550 board, but the > Thinkpad X13s deserved testing between non-PD USB, non-PD DisplayPort, > PD USB Hubs and PD Altmode Dongles to make sure the switch works > as expected. > > The DisplayPort 4 lanes setup can be check with: > $ cat /sys/kernel/debug/dri/ae01000.display-controller/DP-1/dp_debug > name = msm_dp > drm_dp_link > rate = 540000 > num_lanes = 4 Has the issue with the USB controller dying on us been resolved? Regards, Bjorn