Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp753964rdh; Wed, 14 Feb 2024 10:15:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVDVLZR1+fHllT2tkM+PluRxRigltEIFlun2Rw3wpQczSbc7ubnmVVxOKFWIRpaJ2aaaeDr2H9zALrIWXjNiepl5pc3pMp2VQyi1XkloA== X-Google-Smtp-Source: AGHT+IELQypFHxTF/is5BeSgkKOD9q+tm0ljxQ0Y9vmULzm617vYm9SaWQl8HwI+JQQvoNovzB5j X-Received: by 2002:a17:906:68c5:b0:a3d:2762:71f7 with SMTP id y5-20020a17090668c500b00a3d276271f7mr2345496ejr.66.1707934513546; Wed, 14 Feb 2024 10:15:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707934513; cv=pass; d=google.com; s=arc-20160816; b=lCGIVZVqmlLcwsYaZmkYm/LHElyVBfqw2sYN54ZGPFEABGRxkattFoQNOakkRGoNGi QFuQe68ksNlzqm29H2yuB62uC2ZLpxy/ShpKtDf+Ew8JezbMkUsCasjZzJ1i8n3228LL ImHjjm+WXKyc4euRclU3U544ygxxWQ+C9hVd9ndSA73gg0Bvy73V1rCRvspxfSZcEqy7 wn1LS4mbQpHVjXDqSSHZ9SrNHEm2ZUCqa/2pf8yAEsOvk04OuWjUzM8p3UKpAb9klDh0 QLTzkPpXW4/DhpttMpy8DKnlUlYiGhyM1iA6Kw8XQEpUHDqqHcDEYs8c78qLEVRdMOws CGBw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=OE9ONYhRtt1RT9UxYhOGWQZAzy9csxc4vRQdMTFcZmE=; fh=aeMps0/aZVUfK1i49MMxInbkIYeKV0D48iT7zAhYecU=; b=iRbQuqXXPft8CXb3Wprp4mHAl2AGPETHxIe/2SfA3ag+ySLGSwC9B3ESr34zk21Vz2 Id45zDH74rwCaejZUH1ufHl8cN14viaJmr8gLTA1hldTdYPyFLRIJAUKJrWS7PMU/xyJ CTTJwdWNGSijdW/jnIY6OH3C0zs+cQ9fiALpVmtlAlM+oksudYtdeMc8a75b8EUdwCwi iBKtd5sgoKh6/1yQSC95lBvSd4WPu0lZPNy+/7+gV0uayJZdjE8SXkiXcO8tEOZ7s8bm oc4FW8zglyW6s36MHRmuM4y0at9X4Ng4dBcwoYcX9548dJ2K5f5Js46cdDjfVUIosFdF N1VA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PSU0UOPZ; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-65789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org X-Forwarded-Encrypted: i=2; AJvYcCV+ycEI8iiqgXN7Tt7OyzSeHhTBDFSK99UYC/IhSZpKPPgt24vMyYmmvvt31BqE5ZArBbMrGd2MVbXjfoMlUtHLsyqIhnIAcd+ybQpkvQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r20-20020a170906c29400b00a3ceeef4c84si2144391ejz.1044.2024.02.14.10.15.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:15:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PSU0UOPZ; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-65789-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65789-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 42CD51F28D9F for ; Wed, 14 Feb 2024 18:15:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FEA612C54B; Wed, 14 Feb 2024 18:12:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="PSU0UOPZ" Received: from mail-qv1-f42.google.com (mail-qv1-f42.google.com [209.85.219.42]) (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 438F28527F for ; Wed, 14 Feb 2024 18:12:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707934329; cv=none; b=bNE+sTfJ9sqgmiltbU9nnNBoMwoJrLHT3ELbBEiHErByn5y5+zzKBy+KhiGu2KNfSRtwgVBKOt1EYCCakUWXJMGuH5rRrUWbmvmI/00pPUja90dFPPMxfUKfW4hdJK20qPsL1O3pnMAnYxG639fuasBAax6HjvYka74MnZYPrhk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707934329; c=relaxed/simple; bh=OE9ONYhRtt1RT9UxYhOGWQZAzy9csxc4vRQdMTFcZmE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=sV/3uyMoIuNU6pDVgPcVOJgduuQMXAUYaxlzvDTKVdF+MgiQbms5/owF59OSS5uuQDiJp0wiTyn5PB1hWWUgjpuhTRECvJESRRQDC+vYJ6n6HX0XMxP2D4ZOPegrvuB2oxL4SXKenOr9GarhE0x/kI+4hN7EXHy2rBvqfMZq/PM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=PSU0UOPZ; arc=none smtp.client-ip=209.85.219.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-qv1-f42.google.com with SMTP id 6a1803df08f44-68c431c6c91so506176d6.0 for ; Wed, 14 Feb 2024 10:12:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1707934325; x=1708539125; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=OE9ONYhRtt1RT9UxYhOGWQZAzy9csxc4vRQdMTFcZmE=; b=PSU0UOPZ9NlWZVaWaV04SwNGPWr91c8VwQpPIbQYsFzhvQSd0XngDiCSSn54Ab1LU2 36U06+osPCMF799tHgtOPeHi9Jus2qgofT2kNlGvWu5i0iFGT8o0Yk8p/pmBhRD0dahw vEmPwKcgBj5fHXRxX9KCnCMdnukJKllrnemoU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707934325; x=1708539125; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OE9ONYhRtt1RT9UxYhOGWQZAzy9csxc4vRQdMTFcZmE=; b=TQrk1rLeE0RzaMikVFlopS6CjvV3blz+HxVbcgtzJ6Oa4jwiSHciNzCQdxI9/vhWCb dbKhSxwKOygy9pPpjEHBayeAfL/ABFKiu4awgs54Ve4ihJ7dtEphjaWmFxC1CSIBdM8f uyAsIY43qRToQuLoza63mVGnjIrz5+wY5kO1v5cU2aIAkiGVQyLFE3BWw/w3tp/0pZc3 37WnO3lxQ6whhcIukeyhk2ca+c1FfVbgu0Nc1pY0t0BYguU4ERULsucN8C9wjFbRmu0n 38cikOpLnejFdOnhCgurehLBt1vCbCkrfrJONbV5fX29TTOStHKAAONcpXcn8464hDEr Yabw== X-Forwarded-Encrypted: i=1; AJvYcCV3gIV2J4XUa4WZQVlYJcpX751IjRGgWVvQqFtwJP8g1eIJeYu2iT51btd/OLTRK4Vv2XwYXjtros2OGSj7UwBrOtz7L/5NrevuozIQ X-Gm-Message-State: AOJu0Yz+vOWaLIFFFDOBRD3JIStUiUISXtuoW7DVoMmIGEzUcHFIW6vx ewVrMkJUwRDJMO9SKkTCh0E8oDePIzrm5NWE7Y/uqWwf6fdGXhfYhr9+u96nPUagB+W+3ru2abT bqknrXwlyoHg1Rtn19A8rXfHY6yZGqWFGTHpK X-Received: by 2002:a05:6214:e82:b0:68c:da0a:10ef with SMTP id hf2-20020a0562140e8200b0068cda0a10efmr4022290qvb.57.1707934325206; Wed, 14 Feb 2024 10:12:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240213130018.3029991-1-heikki.krogerus@linux.intel.com> <20240213130018.3029991-3-heikki.krogerus@linux.intel.com> In-Reply-To: From: Prashant Malani Date: Wed, 14 Feb 2024 10:11:53 -0800 Message-ID: Subject: Re: [PATCH v2 2/2] platform/chrome: cros_ec_typec: Make sure the USB role switch has PLD To: Heikki Krogerus Cc: Emilie Roberts , Greg Kroah-Hartman , Benson Leung , Tzung-Bi Shih , Guenter Roeck , "Nyman, Mathias" , "Regupathy, Rajaram" , "Radjacoumar, Shyam Sundar" , Samuel Jacob , Uday Bhat , linux-usb@vger.kernel.org, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Heikki, On Wed, Feb 14, 2024 at 3:59=E2=80=AFAM Heikki Krogerus wrote: > > Hi Emilie, > > On Wed, Feb 14, 2024 at 12:04:22PM +0100, Emilie Roberts wrote: > > My understanding is that this is related to the wiring spec and not > > ChromeOS specific. It seems possible that OEMs making non-ChromeOS devi= ces > > may have this same issue. Or are we certain that only Chromebooks will = ever > > see this? > > Non-ChromeOS platforms do not have this issue. > > The issue is with the ACPI tables - the USB role switch ACPI device > nodes don't have the _PLD object on these systems. Ideally this could > be fixed there by simply adding the _PLD to those ACPI device objects, > but I understood that that is not an option. > > But maybe I misunderstood... Can the ACPI tables on these platforms > still be updated? Since it's just a _PLD update to, it should be possible to do a "light" fir= mware update on the relevant boards. Shyam/Emilie/Won, how practical is this? I'd much prefer this to be fixed properly in the ACPI table than relying on this quirk. IAC, if we absolutely *have* to use this quirk: Acked-by: Prashant Malani Thanks,