From nobody Wed Sep 17 01:29:24 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CC82C10F1B for ; Wed, 28 Dec 2022 01:04:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230438AbiL1BEo (ORCPT ); Tue, 27 Dec 2022 20:04:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbiL1BEm (ORCPT ); Tue, 27 Dec 2022 20:04:42 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1492FE013 for ; Tue, 27 Dec 2022 17:04:40 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id c9so4920333pfj.5 for ; Tue, 27 Dec 2022 17:04:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=r5mZF+HqNi7oJNQi66SgCofHZHC1n4UI9rtyVYM/8No=; b=KiXQtSzK6SfREKzd9svD1tT0Hd3tIGm6pdGm+RbC+q7dG/Y5Uk/MXDB4H+UwxH8CSF MF2snD+BFILP1wBx1EcIXbKnt+5YWVABswwFJ4OTWq1fYcIG1rqA1yK/0vCLyrc5do1I lFveHNrmGfJ1u01ZL+qgFDsqDoeqGy22tbUpY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=r5mZF+HqNi7oJNQi66SgCofHZHC1n4UI9rtyVYM/8No=; b=hY9YjvgLN/5qIzZpnodK7GegD1idEmcOtPBZ9aD3ZnWI+j0ZyzgxbiLVNXnhSrznLP FlBvJJo6VeUCDYCiOt9V0iOkjpthfNjf8rMlMuuOVpk398RP80aMjuv6N/oeN5rcor1c PRqv1lVJI34GfA0FRySdor9AiXjZVhK+9uCrJT/zu/1OU/KNih094IE++4z+95ni4hC5 sQO5gMy+wDbsYxEsE+UVVItT82K+SoGPKsmjmRGS4hLVXpYu98Ccx/b3b9z8iEo6xTga m+TazhbnKWYxh3WcZmrrv93BJFc+yj2RNNCVp00ECtUkgaw7hsK/RofWdigljGVmwuRR Ux0g== X-Gm-Message-State: AFqh2ko27IRXI1/7/VxmOSq5NxsbdfD12RMp43oLFZ5KuEpYH6qO5nfc nNyko04KNmjj+1Cz/h7it2R2A/RpOXdAMvBT X-Google-Smtp-Source: AMrXdXveagOKrg0TX75B+ykXkGP1Pv+3qW3ri++W2sqEuWcUZoMLj6WCEAJPZTVuQO0zRoCzG7eoBw== X-Received: by 2002:a62:ae13:0:b0:577:9182:19a7 with SMTP id q19-20020a62ae13000000b00577918219a7mr27292800pff.29.1672189479431; Tue, 27 Dec 2022 17:04:39 -0800 (PST) Received: from pmalani.c.googlers.com.com (33.5.83.34.bc.googleusercontent.com. [34.83.5.33]) by smtp.gmail.com with ESMTPSA id 68-20020a621947000000b00580e679dcf2sm6045566pfz.157.2022.12.27.17.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 17:04:39 -0800 (PST) From: Prashant Malani To: linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev Cc: heikki.krogerus@linux.intel.com, Prashant Malani , Benson Leung , Daisuke Nojiri , "Dustin L. Howett" , Evan Green , Greg Kroah-Hartman , Guenter Roeck , "Gustavo A. R. Silva" , Lee Jones , Lee Jones , Sebastian Reichel , Stephen Boyd , Tinghan Shen , Tzung-Bi Shih , Xiang wangx Subject: [PATCH 05/10] platform/chrome: cros_ec_typec: Update port DP VDO Date: Wed, 28 Dec 2022 00:45:08 +0000 Message-Id: <20221228004648.793339-6-pmalani@chromium.org> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog In-Reply-To: <20221228004648.793339-1-pmalani@chromium.org> References: <20221228004648.793339-1-pmalani@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The port advertising DP support is a Type-C receptacle. Fix the port's DisplayPort VDO to reflect this. Fixes: 1903adae0464 ("platform/chrome: cros_ec_typec: Add bit offset for DP= VDO") Signed-off-by: Prashant Malani Reviewed-by: Benson Leung --- drivers/platform/chrome/cros_ec_typec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_typec.c b/drivers/platform/chr= ome/cros_ec_typec.c index 05dc5a63af53..665fa76e2416 100644 --- a/drivers/platform/chrome/cros_ec_typec.c +++ b/drivers/platform/chrome/cros_ec_typec.c @@ -27,7 +27,7 @@ #define DRV_NAME "cros-ec-typec" =20 #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_DFP_D | DP_CAP_RECEPTACLE) =20 /* Supported alt modes. */ enum { --=20 2.39.0.314.g84b9a713c41-goog