From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (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 ED7D527E1A7 for ; Mon, 28 Apr 2025 17:49:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745862590; cv=none; b=fkh14AGwk7VvmbbCvot+JkjyDazUqbVHICy748V303IKmuoP0KkpykbuArs3kmQ4djk6obiaJKGha7NEl0/zwmtXSkpCb2FxmN69P1vbM3tJSzq8FotrFbIUxhUkZDJM+B6FxFYoMi7NA0vGpu/6UoEEuRp5Rp3nJs/mkwrZn6c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745862590; c=relaxed/simple; bh=wZPqYWODFsYuiIl8N6gdjeJeN+6mXmrSPnEmhtzTRCQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=DFFLfUDEl1lbxDYBWn4kOaX+dvtmKxO9zFV9DxgYgVXoq06nMyzu+UNEc5bZ4qQqM1Fhy7yuLoVZ1ijIlCyCdPruZKgEvCxgTHX2QS0Hdwc267BBKl4MF0TzrdLR4IbDkDaWxFdyTy366a4lgacibepVdD8UVNX6O+bit/2+fK4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=wBwXz74w; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="wBwXz74w" Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2255003f4c6so56393785ad.0 for ; Mon, 28 Apr 2025 10:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1745862588; x=1746467388; 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=kSyHc84AnpHkvPh5lf7rVEarManM/+eKBGwMXNUKGRw=; b=wBwXz74w/pu07o31MNwrZArJjY8wyDLF/5ITf0OFtOtfnuXCgFLCpd2x33vpMinipE qDUM3J/CDyZCsGvDx39umi3pI86bJcyE7UbknlfpS/V1wn4kdvA+dWEevVhwO9/QLiw1 qNk+q3l2r8exvZUiepa6k10pyU3MfeoX20BpqG7jELq5UhR0OPv/JwMtd+YtIyAXI0PY LqIssypJDwfwJrYS53k/uimYlknMvOmZcWlPoR97n5edamSKxnCTOq53uBWuPreY5olY hUIjIBSNXn61gQYP/jPg7VkKLXkaGYwqr4rVNcMw9L1D+tyKu1C3hfEQnFL8bmi3lGN2 tn5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745862588; x=1746467388; 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=kSyHc84AnpHkvPh5lf7rVEarManM/+eKBGwMXNUKGRw=; b=B6tuxNCGgT5h13TL5LEleiL6l9OBjcYuZ1x54MZ/7Qvd/i3flGBtsdklXet2V3AZwi OAwoQ9uOKPdHdAhG3eJNfvfXEUlwX5EeySC1FStjeYjnCouRn5FWZUXycL/cM8UxRuEK ui187yysw6MkS4/vZo2olc3XE5whF2NAMnJDafIQ0W7zFmvXYpEwNeZaH6BCvXg0pxyX dgcIB23bm/IxP6h0lfzYsEXOPzk6muRDCGJlT5x7KagbIpppRWgiw+Mgn0bNDTjZS516 00tV5+lCpIXNttI6n79JY+4fHuFXt6YfMmgEZqLJmObxKZOE1UcfUQMvXQcQxRuQ9AZI V7lg== X-Forwarded-Encrypted: i=1; AJvYcCVl+aKQoaS0YpLzBnQUaVnVQIW09Xvd9suADK9yeF0wkc8y+271YZtE0xkfKJRETT95V9XA+nMyuYt11xQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwlPZK3V68i+rIF/uqHsjIJaZpO88yzrjWWa0SfZ3zRKdlmOzIC bbk8BCO/Z4N07vbaMhNEp7/bvhgTrMjkj325a5dd6STwDqL1bd2UUTcSfocnCw== X-Gm-Gg: ASbGncujkAht7Q56MO8R4BV0mCCF0qxGNdKl3nfpe9LDFJDiFYKjRLgHtXPubsUDFGw d7xFKuqVbSHl7mQ9QFIteAJl++8IGGIqw+j5dL1zFEYAkC6kqw+gMgLKXzxXKa8y18unlw7+Tio g9wzi0Hm8etdF+qbo86quHVh8O3FekJpuyquVGYPSe5alZp6DyP8ww6d1MtoBr+T1htRig0gwsh +09yzR5wJP89XqhGFymJZPAu3BZWa2HS8iBP+33Lupag93sEQyja2/aHMAnHEimjix4Q9rNKZoT NqSuadojWADW42CIqTRf0w7BSeG/rTsXPxhRVK3woT+FhP8/PwyDhyap5yt2yoI3bPQXLqLplA= = X-Google-Smtp-Source: AGHT+IFB4ZJyQ88dUHU7N9YKwJhwPRMBp+llMDskZSUApRruyoBdw1o31YpMz40Wv7kngIiJmA7gXg== X-Received: by 2002:a17:903:98d:b0:223:653e:eb09 with SMTP id d9443c01a7336-22de6e93a1cmr415405ad.7.1745862588006; Mon, 28 Apr 2025 10:49:48 -0700 (PDT) Received: from google.com (28.67.125.34.bc.googleusercontent.com. [34.125.67.28]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22db4d76ce1sm86414745ad.40.2025.04.28.10.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Apr 2025 10:49:46 -0700 (PDT) Date: Mon, 28 Apr 2025 17:49:42 +0000 From: Benson Leung To: Abhishek Pandit-Subedi Cc: Benson Leung , jthies@google.com, akuchynski@chromium.org, tzungbi@kernel.org, chrome-platform@lists.linux.dev, linux-kernel@vger.kernel.org, sukoo@google.com Subject: Re: [PATCH] platform/chrome: cros_ec_typec: Set Pin Assignment E in DP PORT VDO Message-ID: References: <20250426024810.3876884-1-bleung@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qJ3DhvBIT9BsNZ/n" Content-Disposition: inline In-Reply-To: --qJ3DhvBIT9BsNZ/n Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Abhishek, On Mon, Apr 28, 2025 at 09:24:08AM -0700, Abhishek Pandit-Subedi wrote: > On Fri, Apr 25, 2025 at 7:48=E2=80=AFPM Benson Leung wrote: > > > > Pin C and D are used on C-to-C cable applications including docks, > > and for USB-C adapters that convert from DP over USB-C to other > > video standards. > > > > Pin Assignment E is intended to be used with adapter from USB-C to DP > > plugs or receptacles. > > > > All Chromebook USB-C DFPs support DisplayPort Alternate Mode as the DP > > Source with support for all 3 pin assignments. Pin Assignment E is requ= ired > > in order to support if the user attaches a Pin E C-to-DP cable. > > > > Without this, the displayport.c alt mode driver will error out of > > dp_altmode_probe with an -ENODEV, as it cannot find a compatible matchi= ng > > pin assignment between the DFP_D and UFP_D. > > > > Signed-off-by: Benson Leung > > --- > > drivers/platform/chrome/cros_ec_typec.c | 6 ++++-- > > 1 file changed, 4 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform= /chrome/cros_ec_typec.c > > index d2228720991f..7678e3d05fd3 100644 > > --- a/drivers/platform/chrome/cros_ec_typec.c > > +++ b/drivers/platform/chrome/cros_ec_typec.c > > @@ -22,8 +22,10 @@ > > > > #define DRV_NAME "cros-ec-typec" > > > > -#define DP_PORT_VDO (DP_CONF_SET_PIN_ASSIGN(BIT(DP_PIN_ASSIGN_C) | = BIT(DP_PIN_ASSIGN_D)) | \ > > - DP_CAP_DFP_D | DP_CAP_RECEPTACLE) > > +#define DP_PORT_VDO (DP_CAP_DFP_D | DP_CAP_RECEPTACLE | \ > > + DP_CONF_SET_PIN_ASSIGN(BIT(DP_PIN_ASSIGN_C) | \ > > + BIT(DP_PIN_ASSIGN_D) | \ > > + BIT(DP_PIN_ASSIGN_E))) > > > > static void cros_typec_role_switch_quirk(struct fwnode_handle *fwnode) > > { > > -- > > 2.49.0.850.g28803427d3-goog > > >=20 > Please add a Fixes: dbb3fc0ffa95788e00e50ffc6501eb0085d48231 Done, Thanks! --qJ3DhvBIT9BsNZ/n Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQQCtZK6p/AktxXfkOlzbaomhzOwwgUCaA+/tgAKCRBzbaomhzOw wqsfAP93but+Y7oDTucGSmBf08Sb+w3b4c7TcFB3NmXnSRqW3gEAsZwyhTexrI7j W6kNrTSVbuh4F9QabifIzEf2krSK9Aw= =R5cf -----END PGP SIGNATURE----- --qJ3DhvBIT9BsNZ/n--