Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp795027lqb; Fri, 24 May 2024 13:32:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWWfXZ8vGUgKjCxnwXMVrzAXMW7BTWwHp45IfxEPZScCt5u31dyStOC0SSZsDraY04kO0xngF5FPaoByrqJCgOkXYbmOF1sdr0vmvepWQ== X-Google-Smtp-Source: AGHT+IGzKJ1geXh5cduFHxe/z9GfcudPNIFuYNKz/WDcnCOqxyeY5DPAGOYMWR6TqYXowaRbfqGa X-Received: by 2002:a17:902:e5d1:b0:1e2:81c1:b35e with SMTP id d9443c01a7336-1f4497dfedbmr39392665ad.54.1716582726501; Fri, 24 May 2024 13:32:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716582726; cv=pass; d=google.com; s=arc-20160816; b=nJidVydCZWlf1G9aNvhQS+GjcVC1wiwiCotpUVFd+Ke3xtHIJo8GneQ3KXa1ITdsMo nSYxf9njPMeqNytn5mDWMCpBO7hW5tMpnx3XvMegbwBgcHPpHNAcF5Q+LN6Ezs35NET4 zcW9JZ8ypMIYWBF/h0V66Nr1fUqBbVoXMo+zPLKgn8ofY9fNFVuA0r8sA0hIkiZpMFt0 T2nSxPlRpsqjDkzFw4gZVnNxx+f0Nyw5m3CNQ/8p9N9CdlTuWYPnQVxKmtdOtbimq5X2 zNUp8XUQLkc+G4tEPHch4dW5r/pOmC+4XRCZa62m21YgST2eSjYOcYavACH6preDr+UT bb3Q== 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=ent61cnCBQEKDoHe1EVzbi0f8AGZW1QPoDRi482kpkQ=; fh=J+X2/RDIYFvuXqPGcyW3g28m+XvdFNRf/ZUc7OjPeXk=; b=yG6os9ilwOaVnV8Z3JKJxoEKpMMsUkDHTBP28/jw2Gs6Gihx75cPM8/DVipXKOLccE 2L/IgR35TqPhD33HTXAvKC15EILbd0FE3nCXSiOcjFx2SjZB85RH10xi19A1nbYZVFIR +H4cBVSO+AYz4PWewQmH16yzFPBkis84/TIGYX7z4jbE3YgDis07AEPuSNA9Iarqb8nu /Cxi/viEjMjSnmu8dbetWVHcgcNzOo5fWIe648Hi6ySPCSnu7dAAYXfOADmZAvhfRYL9 v/2vsNxWSHHDKjvRTeWuApsAOGKBQk5ut+kXtAg4UQz4zasGWPuvfRCqPKmZorTXF1fY IVgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LJiCJmMb; 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-189090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189090-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 d9443c01a7336-1f44c970f09si18922385ad.269.2024.05.24.13.32.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 13:32:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189090-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=LJiCJmMb; 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-189090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189090-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 90508B21434 for ; Fri, 24 May 2024 20:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 33D8E76919; Fri, 24 May 2024 20:31:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LJiCJmMb" Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (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 DC2687E792 for ; Fri, 24 May 2024 20:31:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716582685; cv=none; b=jY/gZyp7NAaK8D+I3QfOwX8wap5fVmc0KKYhhmkw8H6ozdDdRnMJlKv6ac9fT7yMedxP+Tu1j0IlOzNb/7tbgoWVZ8WT2x9XOSBaKoyImj2kbZCIFDcPP1tUWeuLXa2gyWqy4vF8nffilp323pHHpJYFzr/xwdTr9d+0ZHlzTfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716582685; c=relaxed/simple; bh=u623NnOrxHXs1P61/2nyV6Lnky4xicwHtkxYnmWEW4s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lmRaWQclc1/9SSbPfMnqFEuqCBcosOkTvCyzq0zChqF7fz5ggzEstzmIcoIYLnMQcgSTgKky7cjeq8evPvW50Ofo+kaeQ3kj1NYxE5go70I3L/QQSQUPgryCCyHwLnmqjqCkzRSqsx8ZD+zkp7AyNgIh4RmTTaAlz7YnF6a/Pqc= 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=LJiCJmMb; arc=none smtp.client-ip=209.85.167.41 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-f41.google.com with SMTP id 2adb3069b0e04-5295e488248so1460245e87.2 for ; Fri, 24 May 2024 13:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716582682; x=1717187482; 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=ent61cnCBQEKDoHe1EVzbi0f8AGZW1QPoDRi482kpkQ=; b=LJiCJmMb1rKdehyc2lXOl1cGWa/8l6oIt5oVjUFFOC0sBWrUPVSKgGcsUu40W2hrnn T3fShmDoVZdnHz1JgSQLKp0/M5C8HWRwge24GEVh+DZfAWNV8CSvQjJ1H5GLwp1hfx6Z Az6g65QYAcFM2cReMz9QotQYfmv77Qg7Yqk8OsiRagjXd7Ozv0ckg9knqyl9YGBkZFWQ e1Q80UZv49RtY3J+YvU5zBxT7Tmkze8OmtQ0ZGfOsZ8srKjynb8tkyEGHcPoCnykaxbW UBx11dZLvjycJTchywkG5s9Yr6AjKQXgd+w1vXKWcWtc/p8euSldclynHLDADLLBXdJJ 0XJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716582682; x=1717187482; 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=ent61cnCBQEKDoHe1EVzbi0f8AGZW1QPoDRi482kpkQ=; b=Iarei9EFUofJAE9bDES/NPbuLn7KYw8YuhvCOD1pEzRDdvQ+5mQUwMR7gdulYej25j 8SSxvY6v3//fwk+zb+z11r7oQcrOzc1WxzCwv75/7dwasI2QzZ+vCCB6xP/9coJeKQzd 4zO91zvhNwrjXlNwSB+vt/qR7U5f0NIEtxdJyg6eM6PwoyOy24brgAAAGaihMiuyfXf8 mX0KgBtfHnbIpOvuRP7G8iAKKnpuUexx4xkYQJwCUd0cZivyxbGVBSiSYA0gnY1YYrCq zwrtc3uoQ8y0BfeHniLyFPZr2WZk1VuggZddGMS+x9TcXbzg6hv+TaTyKT6noqrI/OKG BA1A== X-Forwarded-Encrypted: i=1; AJvYcCVyQGGNymqFtgGIisHP+xR+A5QjYVwjVxyyF6o/MirTuKlyFa6g/VBsbpdGkNN+2LiUA/0dRvHX08IVDiZwUAhHTLF3IWa7dHYwHjtF X-Gm-Message-State: AOJu0YwgScNGrdw+QxJC9veTJg6PKdjljV7A4Si0TncnnWOmQZKzvleh VAoRR5t8kZSuwDuHpY5878OLf9oHI6rcVPyXvJfNxvTslxeBjiXf8VdN0rTivxQ= X-Received: by 2002:a05:6512:3682:b0:523:91af:12d9 with SMTP id 2adb3069b0e04-5296410a579mr1742608e87.9.1716582682274; Fri, 24 May 2024 13:31:22 -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 2adb3069b0e04-5297066b05csm235117e87.170.2024.05.24.13.31.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 13:31:21 -0700 (PDT) Date: Fri, 24 May 2024 23:31:20 +0300 From: Dmitry Baryshkov To: Diogo Ivo Cc: heikki.krogerus@linux.intel.com, gregkh@linuxfoundation.org, jthies@google.com, bleung@chromium.org, abhishekpandit@chromium.org, saranya.gopal@intel.com, lk@c--e.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, pmalani@chromium.org Subject: Re: [PATCH 2/2] usb: typec: ucsi: Enable UCSI v2.0 notifications Message-ID: References: <20240524105837.15342-1-diogo.ivo@tecnico.ulisboa.pt> <20240524105837.15342-3-diogo.ivo@tecnico.ulisboa.pt> 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: <20240524105837.15342-3-diogo.ivo@tecnico.ulisboa.pt> On Fri, May 24, 2024 at 11:58:21AM +0100, Diogo Ivo wrote: > UCSI version 2.0 and above define new PPM notifications. Update the > logic to determine which notifications to enable taking into account > these changes. > > Signed-off-by: Diogo Ivo > --- > drivers/usb/typec/ucsi/ucsi.c | 19 ++++++++++++++++++- > 1 file changed, 18 insertions(+), 1 deletion(-) > Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry