Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp26430lqb; Tue, 16 Apr 2024 07:56:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWbYjIvfU+fF0jQbcHx1KETSryakj+TfcmQk4EwwOvO8uDpzpydKEkZIigroKQPysx+9SQFkwrsbarkELU257OL4U0HWqFeHl/i9y68/Q== X-Google-Smtp-Source: AGHT+IEHGM1Agg3dMk+dgIso4YwCS9bo9UEndL9EkMR1bE600M4GQt3Kq+9/LLPVAnomPHRrmc5M X-Received: by 2002:a05:6a21:3282:b0:1a9:9839:f142 with SMTP id yt2-20020a056a21328200b001a99839f142mr3346164pzb.10.1713279417387; Tue, 16 Apr 2024 07:56:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713279417; cv=pass; d=google.com; s=arc-20160816; b=EYv98jv73WU67yfzLbR7qeU6buoiLp02Q3NUL8pXKBLtSsCF3lLSgy2SCju7kuIf+A uV3NqBjCm6aThukKIjlVIwkY2wla2SyoC2Yc3pzJ8rtiyrDudC0pqMuWuaixBTinCF53 guwCI77ccdPaxUi9ZZQ6gXZkjobZTVfL5w5Zkg/4QqCrH2GgTJrlR17FAjieLRR88hyH vyWsjGG2sa+DseCfgAF3PJmv1CH2tw5ADCNqRwKbZybJAnVjon6kghrmOdQFfCJKgQbf b41q9GXKkQfsQUlaLIlyZE6SGzJFQXDfhhwb202t9b6jqzc4I8QSLUjaAwew4q6/CgSx WYNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=qtlZKHIIRTPrmMPlNl8Y4g3IVRv6I4I2Gd41GRQ6SNE=; fh=yd+0IPdxwGzqv8Wey2vb8bSUi4Ba6lJh75ZpuwZ6bd0=; b=k/Ql4OST1pYYiHGJ1fB6R+l6ofsDzz9YeVURuLNov/tycbh/DVfSf8Xl78At7ALCb4 BSSmoJdPWdLIHgcA7BNIXgjBSdgi3+j1o73PU8pL99jogiXMQ/7Haf3kPuBl1Wt4GI4k hH+J+39bfxRf4hR9t3SHys2DLtptfiCxoa9Az5/Ae4sX9B3OjQEcfIKzbeejqdeEBflW KHM8+SXGWI++T7hET/NYy8Jo3ekw3tIEF5QdvmvoTkjHyUPpTtkeAKPb73EMUXyaMHiA rKHPyox83+BiPcDOX+GTPTf2lsA0HvZNe7eBsjiglu+F6b1TYZCB6KWAdt/QyHxVaN2/ VmUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ca2BeV89; 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-147019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id gs16-20020a056a004d9000b006e73d547393si9859942pfb.264.2024.04.16.07.56.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 07:56:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-147019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ca2BeV89; 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-147019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-147019-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6EB84B28925 for ; Tue, 16 Apr 2024 14:31:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4003282D9D; Tue, 16 Apr 2024 14:30:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Ca2BeV89" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 CF46112AAE6 for ; Tue, 16 Apr 2024 14:30:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713277841; cv=none; b=eCTnQtcc17aI7UAxtJlMF9UP7vBKlJGy1EDD47bYRfHT1OYF9WDpDgUXoeZn9BF9hUV4D9dq80MJ2tJvQtavDVKkcZ30eDVTGu4xUUsk3KFGNbY6jIdEBvynBP7q6chIJiN9WKR8eEBYX1U4tT76VAoAV8ezPl9bqNkGRuRo7rQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713277841; c=relaxed/simple; bh=CAARwFVs3yKtCFYh6SSnNVSgkeqkGD+D2UB4mgMiryI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=G2zZWScykXymYeGyH8p7k/7wYhpSZruR4p8JDmEV1c0jmjuzAot8E+BZ005QIhPXF0PR+VAM75AJUayzYrnF6+jdDMyOXkyW4C+KGrr2ek92Sl8Ej+ccdaCLPBjGepOkB7SLGY5Y2twaBB0s0KmACfuMSz0EQLD9Boy8o29Wd4c= 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=Ca2BeV89; arc=none smtp.client-ip=209.85.167.43 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-lf1-f43.google.com with SMTP id 2adb3069b0e04-516d4d80d00so5492663e87.0 for ; Tue, 16 Apr 2024 07:30:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713277838; x=1713882638; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qtlZKHIIRTPrmMPlNl8Y4g3IVRv6I4I2Gd41GRQ6SNE=; b=Ca2BeV89Guy6F32bAlZwvBBu+IIfV9BGYU2y4i2dQl3lcI+5qbmD84jaxX5KpcSc5k tw6ZHUXgC8zpmojotXgwUYTQT8LZ3gMoQDTEASVUrYA4nKmxepySJvtt/4dbjomCkt9t tfgtGdjDaNpiUI/U4XaihQ7rYx8C5pZL0hQGQIweCzekCP8nTRNG0RIqr6wfVepq0D5L kzjxS97DpHp3RpV+bQer2ymb5G5EJygtAbBaLheE0W6qnAVUg7cv6bdEP+DmInLWUiSg QUqCBjwcJqw5B+YpiiVG8Xpr68C+HhhVmem4O6tA0T3yBnxgZG5qbAocng2SjDDGdlv8 O03g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713277838; x=1713882638; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qtlZKHIIRTPrmMPlNl8Y4g3IVRv6I4I2Gd41GRQ6SNE=; b=NipxzNDmQspcwr2asJe5pemmwWQu9yKxy7lzmbdCRwCHsycL6af737LZhSlunJVXJ8 G7EhGue2K2/UbwfRhcWwEWp4VLvN7EzQogceJzwhSdxWlk6sy9U4shNGVPeokgR81+fa GKEZLbEVRGZmuo/iUO+pI+1l23jm0Z3quA2QB8yvIScdgLK6/rpQttk6ly69+YPa8Bdv 15ZTZllznslQToCnlakfBwivXGF3tEvSNzuakFDC0FZdeBiquUd4W+7S4HtHREW7GZ3y YcYqi/6efk5+wmgRuGnNKaAGlahhZwHjPtrSQ6B6+kj8xZ8kK+Z9K8eIM+AMf7clRvae 2Kkg== X-Forwarded-Encrypted: i=1; AJvYcCWQyQLk0hdPVN9o2WdW4ry0dBUZV22OcejPedIE2VkC5TXAYvWwFkbVDmmQds6px4oZbZy1oB7fkgmwdaVEKcnSPUhvjMbnCSD59W24 X-Gm-Message-State: AOJu0YwKU22gCNC6j42eHgMRsfmv/NP9B7A+PXuXoN7VzD9cm1nC3XuB MhDriWogMBNOsniQnKGF0ZqiRVQ0Z/lEWEcHC9ooPZ713sDgrBWcw9sGmbCf5zo= X-Received: by 2002:a05:6512:280a:b0:518:e249:c10d with SMTP id cf10-20020a056512280a00b00518e249c10dmr5163603lfb.37.1713277838030; Tue, 16 Apr 2024 07:30:38 -0700 (PDT) Received: from [172.30.205.49] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id g8-20020a19e048000000b00516d2c05b3dsm1633547lfj.299.2024.04.16.07.30.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Apr 2024 07:30:37 -0700 (PDT) Message-ID: <548f4b0e-b765-4184-8b90-eec7fe0e7f69@linaro.org> Date: Tue, 16 Apr 2024 16:30:36 +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 Subject: Re: [PATCH 1/8] usb: typec: Handle retimers in typec_set_mode() To: Dmitry Baryshkov , Heikki Krogerus , Greg Kroah-Hartman , Neil Armstrong , Bjorn Andersson Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org References: <20240416-ucsi-glink-altmode-v1-0-890db00877ac@linaro.org> <20240416-ucsi-glink-altmode-v1-1-890db00877ac@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20240416-ucsi-glink-altmode-v1-1-890db00877ac@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/16/24 04:20, Dmitry Baryshkov wrote: > Make typec_set_mode() also handle retimers in addition to muxes. Setting > the USB mode requires retimers to be configured in addition to just > switching the mux configuration. > > Signed-off-by: Dmitry Baryshkov > --- Reviewed-by: Konrad Dybcio Konrad