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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4929C25B74 for ; Fri, 24 May 2024 07:08:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xQLyAGKuhK+3BovoMQVnXJx3OrKcKdPL7pPOSVheb/8=; b=a1xk1fQd3Y7bl3qJxbLKcivU1i OfLg59GnZUCO8pH5HgrhH2NLYFP/ahIJDVbnWbKs08qbIvuzm1s9JCOUXzmntNM/wIrAZS5VlwvOQ JYeYfG4UzgcLdiLl7CEi9fZTJ0QHh4mwDzThGggReK+auEv+7DQl8DvyzLhJe/95240787JnYDLmn gEC1GwXV/w8aoCdbSUpiu0V1yoSnfhWz5H2xsbxwwZhT9Zt9RGHyu1yTAiXjgkD3aWtn9PkvsVnxU iTOKlpJ0DXGPl7JZ0adhnBLEX/vVqwLu6BiyDUjKtGQWl56u7jM9AX8+T/H77pYAeZ/DiKJgeBICO molGhkSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAP2m-00000008EMy-46Sf; Fri, 24 May 2024 07:08:49 +0000 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sAP2i-00000008EMN-48id for linux-phy@lists.infradead.org; Fri, 24 May 2024 07:08:46 +0000 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-52962423ed8so550428e87.2 for ; Fri, 24 May 2024 00:08:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716534523; x=1717139323; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=E8MAm3h3NI5iKT+iweY3kApju3idNJyvBAdIptvUy6g=; b=H/4pmFVNpkCg99o9HXyWWfckY3Hn3ydc8oKNsWGqsp3oza+Z5daJkbiEcpzlZI7cHJ mALCeMoe9iMBJN1C06SGbsxBcfeVG9dfa5CXed+t7SHQpxKejRFEroLvpz2lPHFbfMwl sN77CVI74SK2EXerlQzzpCwbqSTL2oTYkCWoAi7fjmX3cViL/c5YSlmPAZ0iyu7zgZDj BETZFYptIw1CoaoefGUrcZENgtdZtaKS9zcdINXFy2PvST129efkdje/5AOvxhqwTcby vxMshPZ7+6jo0OTwGTxGPWPx4xWZYCzVx6zNksBCBv+2Ef4g3oRN0rHIl41O1vpGyFxy ikMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716534523; x=1717139323; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=E8MAm3h3NI5iKT+iweY3kApju3idNJyvBAdIptvUy6g=; b=fl9WDnfPIEdcwnLcNEosLxXfV30CCSUmBrUPIanEVR+qPG+fcOVkxE1+U+kieHmGZN dup5PI9Qz+m3o2vBaL8mC4lFhkX8UA25QxnLSBoSOchRv03b/9+TozCrn8yI3mY3PxV3 RmK2WXJbwKSdlIB3G/nlq2Rpm8tg5H43jAqzzW6a1nepJeaNOjGZXFSJZOClN098M3tx /vVI+YzE+vvKIcg4aR+07YdVce+L5yV9l8AxkI4igJrka2zV+IocW7I1CV7Z4yNw1IVc fVDvYVjXmT78lCmEhVlAz3yb0j6q/oZtz3TxY/I9BxWON0Hnwy+cEBTk1FM5RVbjcOUe XWeA== X-Forwarded-Encrypted: i=1; AJvYcCU3jz1eVr7R4pYBXh4M/3oUmsHU0VKUjJzvdoVndWB2Jzv55waPjOHBSd+KCYfnvVYwRwd3xYILayXmsmoPIrtsihMiCs7tRTbclHdw5g== X-Gm-Message-State: AOJu0YzaQrgmnXE2yhPmQHg/m776HYGtWZ1SCRcexo2o9ZYRvOq02+BA i+/u+tA8ddXlbsCrXK25fRKJ1XrrS9C5EjxAh9Ckp7B7BoNTYidxpuWyVk9UeDk= X-Google-Smtp-Source: AGHT+IEEwe7apvr6NvFS8zzXW6dwrwy77zqWwTpWL0vW66DGjKQDCMmPQg9s5wT1CDWXq/2wlTSXiw== X-Received: by 2002:a05:6512:4cb:b0:521:54b5:86a3 with SMTP id 2adb3069b0e04-5296717fec4mr687397e87.64.1716534522716; Fri, 24 May 2024 00:08:42 -0700 (PDT) Received: from [192.168.7.32] (212-114-21-58.box.freepro.com. [212.114.21.58]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-421089cda51sm12113335e9.47.2024.05.24.00.08.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 May 2024 00:08:42 -0700 (PDT) Message-ID: Date: Fri, 24 May 2024 09:08:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Subject: Re: [PATCH RFT 0/7] arm64: qcom: allow up to 4 lanes for the Type-C DisplayPort Altmode To: Luca Weiss , Konrad Dybcio , Bjorn Andersson Cc: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Abhinav Kumar , linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240229-topic-sm8x50-upstream-phy-combo-typec-mux-v1-0-07e24a231840@linaro.org> <7a7aa05f-9ae6-4ca0-a423-224fc78fbd0c@linaro.org> <236a104c-fc16-4b3d-9a00-e16517c00e3a@linaro.org> <963b60e5-6ab7-4d9f-885a-ba744c2b7991@linaro.org> <864063fb-eeae-4eb7-9089-0d98011a0343@linaro.org> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240524_000845_253046_CA6D1D94 X-CRM114-Status: GOOD ( 21.07 ) X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: neil.armstrong@linaro.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On 24/05/2024 08:51, Luca Weiss wrote: > On Thu May 23, 2024 at 11:06 AM CEST, wrote: >> Hi Lucas, >> >> On 10/05/2024 08:51, Luca Weiss wrote: >>> On Tue Apr 23, 2024 at 4:08 PM CEST, wrote: >>>> On 23/04/2024 15:03, Konrad Dybcio wrote: >>>>> >>>>> >>>>> On 4/5/24 12:19, Luca Weiss wrote: >> >> >> >>> >>> Next, with DP 4 lane (not working on mainline but still plugged into a >>> screen) the diff is quite a bit bigger. >>> >>> See attachments for the full files: >>> * usb_1_qmpphy_20240503_151052_android_4lane.txt >>> * usb_1_qmpphy_20240503_122443_mainline_4lane.txt >>> >>> Not attaching the diff because it's quite a lot >>> $ diff --ignore-case -U0 usb_1_qmpphy_20240503_151052_android_4lane.txt usb_1_qmpphy_20240503_122443_mainline_4lane.txt >>> >>> Not sure this is helpful to anyone, but at least wanted to share what >>> I've done so far here. >> >> Thanks a lot for the traces, it founds out the QPHY_V3_DP_COM_PHY_MODE_CTRL stays at 0x3, >> which means the mode doesn't get broadcasted to the phy because.... the retimer only broadcasts >> the orientation and not the mode... and it works on the HDKs and the X13s because they don't have retimers. > > Hi Neil, > > This was it! > >> >> So I made the changes in nb7vpq904m and ptn36502 drivers to get the next mux and broadcast the typec mode, >> if you find time could you test it ? >> >> Bjorn could you also test on the rb3gen2 ? >> >> The changes: >> https://git.codelinaro.org/neil.armstrong/linux/-/commit/a61fb3b816ecbe28a12480367d9e09b700ec09e1 > > With this ptn36502 patch on top, I can confirm that DP 4-lane seems to > work on qcm6490-fairphone-fp5 smartphone with DP over USB-C! > > Tested with a USB-C dongle that only has a HDMI port on the other side > (so no USB), and cat'ing dp_debug while connected showed num_lanes = 4 > > So feel free to add my: > > Tested-by: Luca Weiss Thanks a lot for testing, spinning a v2 with those patches! Neil > > Regards > Luca > >> https://git.codelinaro.org/neil.armstrong/linux/-/commit/f6f976ff692bad430cd945f02b835e355f19632b >> >> Thanks, >> Neil >> >>> >>> Regards >>> Luca >>> >>>> >>>> Neil >>>> >>>>> >>>>> Konrad >>> >>> > -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy