Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp834120lqt; Thu, 6 Jun 2024 22:55:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVB+v9/0QIuK79sOpGZnDsGbuOvaNyrAVdPPcKAWBZ5UN1Xw89VxPrRLCUD16Fw0DtypDWFe07DNd4N0uDXcJWo10hpYbu37pDMyfVrYA== X-Google-Smtp-Source: AGHT+IG97Fc5xU27kXKTOvFxNMZ767YZUs+7APj2BY/Tbe7JHYuUPgcjdReJwhI9NM+Tsdernlnz X-Received: by 2002:a05:6102:370:b0:47a:2cab:75ad with SMTP id ada2fe7eead31-48c275ddc0cmr1276522137.14.1717739733049; Thu, 06 Jun 2024 22:55:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717739733; cv=pass; d=google.com; s=arc-20160816; b=LUQ4kSg5wEVAyysD0fSlhx6hJY5wtmLtMm2Y946Sr6nTd+0XBuX0UyN0wrQvVgafYQ ZPT6DfD4FGs/dbI/NgmgRVMpEMNr7iime4oz4AR//rEYZ1p+Nm+D5XH3RSFcw7Kz+e23 fagw4wQsKerw1JzlbnoJI86UB8PNmx9z7vF/J1A7UlmZuUp7MkzSsCMCT381Y6ECm8cn 7wjy9beCvcrkxL+KGIiPrYsJYYzaAbPMp6LOm7tqO2vyfZkKzBlmTKf4kEiUUSP7zY4m c8g2RSFVJ9ZMsP2XW7IIpIcI4rPeTlQXego2fohHDim+Ybwb9OpBwieY0nuscpUrFgE3 4PFg== 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=9BPHj5tjsy40u5xnIOS+sJiXd9TZKhkHWvmbm5XCXCM=; fh=wIPprGgyyeexfBD1Cs+akwYctwJdGWYPJZxi2v2kGFQ=; b=rutlscw30viKrCrjWTiaCHOf6PjmJ0ldtObXKSQr5CZN4+STUdWUQ4FmtgFyzzjtPf mI+KhyMiJBiKZkPZWR6MW0At5mCRerlxoOm18So4aT8Q+8A8dHgMXIbIX9nICCdI2UNh 1q0VgUDdVa2SdCbjie7U1iUSox2vEIiFlc5w5Q2E2zOcuuRtZHNRR0bdrXDA8oOzHhjt DDSrkQ9Qt1fvCyOcw7A5DcTNkMqjPbE/1ka2yU1rbxUFjmZ4k0D2DQBLBuF+rspjm0CO FG5NCb1Vm/Fh4kBSlTjtgdWIlbfohlipIAujftQllLHly4HzCvhI7W8HXbnYLLDVMN3Z ZRsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RVDDYZbC; 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-205430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205430-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. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-795331cad00si346296885a.350.2024.06.06.22.55.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 22:55:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RVDDYZbC; 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-205430-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205430-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 8AC0D1C25094 for ; Fri, 7 Jun 2024 05:55:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3AFA14F127; Fri, 7 Jun 2024 05:55:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RVDDYZbC" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (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 5EBF114E2F7 for ; Fri, 7 Jun 2024 05:55:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717739723; cv=none; b=d2DHOthUFBUmLu1k4eXQej99St39xyQ0u97TvPUt7AcdOVlURWYenaKf8Ip8SkWF72e0RML45KUiofwr2m3V9Ijh6xjDfvW+nV25hy8s1CRvwSJieGuv5SE8aHzJkNyEvO8QihPasewZ36e2gu8co+6iVNkolBDFgyT8znPhrlE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717739723; c=relaxed/simple; bh=ZhXwI1cGzdbG3/xPhux84aeXE5uygV37OsetZ+A49tA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sHk6YiGjMGmjXltctApk7+JYryWv5iSgzByRCg69B2I2v93mujBVzQYeccRC0E0a+oatGbfFJKfcqUa8uPlkv0wJL0n2qUwRLvfd8rg/63ZGWyKJDkrJWGgqMre1E3jUGcmjdrErfSVCOGfFrPeqctuTyNep2SL2NEODJtMac/o= 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=RVDDYZbC; arc=none smtp.client-ip=209.85.208.181 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-lj1-f181.google.com with SMTP id 38308e7fff4ca-2eabd22d404so18211001fa.2 for ; Thu, 06 Jun 2024 22:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717739720; x=1718344520; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9BPHj5tjsy40u5xnIOS+sJiXd9TZKhkHWvmbm5XCXCM=; b=RVDDYZbCHjjSb1ysoxB8BQxmkpI/NReyrjiApQ1a5ucarQr4KM2V/kiXNnIkcBcD58 oMKVojybysSXvLaQ3Nq4f7iyV9DoJ6dUnMWQyYWtYFe9dPW0qpwx29IvLJL6nhulVR9p I+BB2JU6pejVBI+iE4u2X+H+CEP4V/RUHSEQJ/om125O6T+R6NOdLu8hdQYeQKH9C7ZS xuESyungs6DPZmOfLSOToop1EveK7BuWTubGewGjQEjpzzxKDWZ+j5cBMBMas4IlGCul JXh9wcYGP+I0pKHdAOAcUmkxApEW2YudQ9chdntdv2sUcFSVoLCIn7XHTd9WgtbN8T84 bxgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717739720; x=1718344520; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9BPHj5tjsy40u5xnIOS+sJiXd9TZKhkHWvmbm5XCXCM=; b=DyTBUjnTIkJ3vr3g98VKCs10ZVJKynWm0N0wYxK+mns1Wihr9ia+87fP6ukmuzlo9e sYvWPMW6Pkpykz9bz1rXWZ7/lHYXsYSFZlIGEz+puoRUiDoADdc4qMz4D9gxvVpBHsDl kiCv+CXgKkOejJ1cMOdUhpG5NjcZUBCLJLPPVjBKX2W64TMD+xQKG3F65njOHYH9mjsa YUwop4WVFIiVgjTdffZX2AB6oKoJn+nAGGVFuBPlkv5nVk+EAIyaNNXg38rut5OAjHNo NVmohoXuu2WDsV0ElkMGNM7HTOrJlrLpvyhAbL1jCCqALDynam+9heU6Q7jvmaG7+K5q XM7Q== X-Forwarded-Encrypted: i=1; AJvYcCXBOKt2BP1gn+fsCj39GMQqBnHnlTLY7jkKHL0gn4L7cP1LzlZEBCNQMEW4nnSMhqyghLAaIsn6PLvH37kEHc2WsE9NOYHZMNuB3kj8 X-Gm-Message-State: AOJu0Ywp4e57hpXemCLegYmaE6c+n+WRvz9z6IPaS55ewiF82DCUuYt7 QOtfbhDoFMe0Bke0xjUqi6eFp2N6olrZKlRoNy2k1VPMACGd9XXoCGtduYWYVtttF8gBJhrdLtJ C X-Received: by 2002:a2e:99c2:0:b0:2e9:881f:66ac with SMTP id 38308e7fff4ca-2eadce34e53mr9065441fa.21.1717739720539; Thu, 06 Jun 2024 22:55:20 -0700 (PDT) Received: from eriador.lumag.spb.ru (dzdbxzyyyyyyyyyyyykxt-3.rev.dnainternet.fi. [2001:14ba:a0c3:3a00::227]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2ead40f11b9sm4233071fa.11.2024.06.06.22.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 22:55:19 -0700 (PDT) Date: Fri, 7 Jun 2024 08:55:18 +0300 From: Dmitry Baryshkov To: Neil Armstrong Cc: Heikki Krogerus , Greg Kroah-Hartman , Bjorn Andersson , Luca Weiss , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/4] usb: typec-mux: nb7vpq904m: broadcast typec state to next mux Message-ID: References: <20240606-topic-sm8x50-upstream-retimer-broadcast-mode-v2-0-c6f6eae479c3@linaro.org> <20240606-topic-sm8x50-upstream-retimer-broadcast-mode-v2-4-c6f6eae479c3@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: <20240606-topic-sm8x50-upstream-retimer-broadcast-mode-v2-4-c6f6eae479c3@linaro.org> On Thu, Jun 06, 2024 at 03:11:16PM +0200, Neil Armstrong wrote: > In the Type-C graph, the nb7vpq904m retimer is in between the USB-C > connector and the USB3/DP combo PHY, and this PHY also requires the > USB-C mode events to properly set-up the SuperSpeed Lanes functions > to setup USB3-only, USB3 + DP Altmode or DP Altmode only on the 4 lanes. > > Update the nb7vpq904m retimer to get an optional type-c mux on the next > endpoint, and broadcast the received mode to it. > > Signed-off-by: Neil Armstrong > --- > drivers/usb/typec/mux/nb7vpq904m.c | 24 ++++++++++++++++++++++-- > 1 file changed, 22 insertions(+), 2 deletions(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry