Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp860765lqp; Thu, 23 May 2024 02:06:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXfxGZBVY9OrVpwaHKjEs6ncN6aMbBv+Y5y87fynAPLfnhUYwCrJ1GMoTz5T5k1/G6gZalcZSAZg2uOeWIXbrStqlnxvqAGZGGAEc5LlQ== X-Google-Smtp-Source: AGHT+IEK2NmwxVWy3zQLP6mKiFJFTPFu0fLKZW61KPGAjdMZX1q7o+MkycZAGexZzVPJomoilNvr X-Received: by 2002:a05:622a:2a18:b0:43b:758:6d0 with SMTP id d75a77b69052e-43fa7375581mr32964651cf.0.1716455213346; Thu, 23 May 2024 02:06:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716455213; cv=pass; d=google.com; s=arc-20160816; b=Nx9URNC860uQ+QVujuvTJKdTqMbOLRaIhcogjzJQE8J26GQZXUmmNuH8jBKIs/LfUl HvMI/lN3E/9/vVK/pxfh61Hyo07KmA/GbGbAoYeGRgiBT+qAXsWPsUdkQWaaRdbS1U6k haqoWW40Gitue133kEbs+w7m5A+hKwG+zgSQoc5ouvhunkTrKkDzvMzRWGj0pUxWrmH3 Uhoa9Xamk1wTHx1eUgjd618+miZilotSWKVlck6ViP3ivvATK4WIxKx063dToHHPLOe3 WSJPUmyteKer2fofAc1asiCWSvpVsMYs+FFb0FDQVjzh/Chq0ZgnOso+9tARQifwR5ks blYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=KeTryMhYF8Bv+Eu9Cw5VgyH5Tkq4hHi6Ok4bLDS0p0g=; fh=2aS/zCo8MQQbrxtjaC0ywDDtSzCJiSilxYNoe1CHtec=; b=mcQfHsJxIcJC2xsSXrfjAk2iUbnby7kf8XjnTqRpFIxKUB2PmeoIJ5ygTHrrdKkmnz tBmqm07kMeTJ24qn6i9qIFynyf7wG1+EoFBPLKOtdm6kgoaIsWmBzACRvI4XwZpnesZA MuWhXg/lJ00dBPu7ZGwMzhO4rpa0WuBmy7FDMeYMJp2jQ3xEFHbRUx4NSTmaM96bzP9L EDOekyQXcuxsATi0W2i3Ws+azb3eHYxXh5WqcOCQaEkWKY47JN6ahzk8MbphqAwRzvZ4 LZq9XGNtDdPV6RFSYzmHxpF34aJ3qX9zs1SpHQYNhWVb8YZNzK+ygMuvGZiiKyFR9Y7e 8FDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yX0NSgue; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-187223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187223-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43df8d2e5a5si176849931cf.54.2024.05.23.02.06.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:06:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yX0NSgue; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-187223-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187223-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D4BF11C21E69 for ; Thu, 23 May 2024 09:06:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98BA313D27A; Thu, 23 May 2024 09:06:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yX0NSgue" Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E549513D24C for ; Thu, 23 May 2024 09:06:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716455203; cv=none; b=U6Lgx0f/vgRZwXuz17N3i1UnZiLZH0Z5J3EUGhUebqmyTJ/7hkY5mAngiArhwTX/M7rLihBkxoj7tL0bUza8McF1pyG/sTJC2qPVcAtEWyvqJCBfzagtsFfvmiVDu1FgxlHV9thMIsDtN55PvK4KqoCRI5xxkwiFTT9+m3I3Frs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716455203; c=relaxed/simple; bh=q+vWQ0wSq5VGqQvuf6ip+bl2B+qPr7a4L/s2DMEIKhc=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=cr+8+UeHwEQpZ3ibI14DnOAcJX9661tnvuzVEyUf2nZ1uw2aq04uCOufUC0C+UW3YUwI8xUgD+DJUfx7uZ+2/rK6eP1xrwRwlvQsftAi/i4jQXPDok4sOlZkHj0uii4aWMondND8DIAjWr3dIbeD3GeroLb/sC1xEjEaQ1pje1w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yX0NSgue; arc=none smtp.client-ip=209.85.218.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f44.google.com with SMTP id a640c23a62f3a-a5d67064885so663079566b.1 for ; Thu, 23 May 2024 02:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716455200; x=1717060000; darn=vger.kernel.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=KeTryMhYF8Bv+Eu9Cw5VgyH5Tkq4hHi6Ok4bLDS0p0g=; b=yX0NSgue9VfB+w6TtG9dYlRpBMwq1cKYr24Wp/U5oMTiBvTTYhiJ8sbiu2xghwGuU1 7N/64ZIYKWjjCZUTuGX08iY4pa+11pgkLuj2vMewle6wQ0a2HuzhFCU5Tz8Jl/JBjsKU 5hnLoDDO4S7UinCziHZSiChCI0EB8baaQcSni4loGHeV1uLePI2y4L/jbRhuUe5qB2qE BbZRQmGn05o429jG3McSIYOvGqUD0Q0pFMOD2UaKe5zpsVwoqdoNqbMWm/66Z7AkYm3c 4n1S4QzHXBYjnkQGnS7Nd4oFYclNFd6rqfZ0Xvx2kQtvl+GqrcMIjiQTqlL7Sg0O9EDq WIxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716455200; x=1717060000; 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=KeTryMhYF8Bv+Eu9Cw5VgyH5Tkq4hHi6Ok4bLDS0p0g=; b=XAlreaZfn+NW+DBJ4Z6J9aS+v0PXABlQx9W3r1o0/L4syruzmY+c0Gc0oYF54JeHJ/ XdfwwIdY6JQKuuxmRZGMrGbBLltu3mt5KyN+cDAzJyaCfzK0tAA/dOkP0iVe/F7ttXcM niQnQPzlvkze0b9ivnl1F4Kj/rLe/MORI4gkRyFq+G2hohkzTO8CBbpZdtyO91HDVK4G Ksuy5FnKzyctq+508kuiJ1pEOdG5F0YSM+bKScPinAA8cw2hhLAFBFkOJvZrtNNoKzFx u4nZDKue9/IuYzLzL3Uymnjj5bEfr74f20hFMVKu/8ah+Da4ps2kP2NSfu6eW0Lg+DB+ Aq8Q== X-Forwarded-Encrypted: i=1; AJvYcCWLZpPbZTRMmrTMXdpJciBNOtgJmWuBJ3z6pSRQbC6OlpuDY3iRxB/ZeLEl8acWgODS83CdrHLUDtv1V6OK9nBpiaVywbhMXAYFE2jj X-Gm-Message-State: AOJu0YwIA31buksCnhd2ORkSI3BCxZG02QO/fPVmldmzeyHbju/Z0KzC N0NqJY/kI/zaQDBfoDWv5Eu/qfgQUO+VnOyPjsxzIkeHC7NnX2wBC0D4mIwMGbI= X-Received: by 2002:a17:906:1593:b0:a59:c2c3:bb4c with SMTP id a640c23a62f3a-a622820a6abmr368800266b.70.1716455199946; Thu, 23 May 2024 02:06:39 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:825d:600a:c16:a973? ([2a01:e0a:982:cbb0:825d:600a:c16:a973]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a1781d2dcsm1904867366b.44.2024.05.23.02.06.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 23 May 2024 02:06:39 -0700 (PDT) Message-ID: Date: Thu, 23 May 2024 11:06:38 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: neil.armstrong@linaro.org Reply-To: 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 AAHNKk5laWw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txKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. 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 https://git.codelinaro.org/neil.armstrong/linux/-/commit/f6f976ff692bad430cd945f02b835e355f19632b Thanks, Neil > > Regards > Luca > >> >> Neil >> >>> >>> Konrad > >