Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3935208rwl; Tue, 27 Dec 2022 18:29:32 -0800 (PST) X-Google-Smtp-Source: AMrXdXtyNw5vddRQ/svBfRlhc/6c8Of8vBZd7LijQEQoVmUvxteKtOM+MpoaM5GY9xF41KCAmUKb X-Received: by 2002:a17:907:d50e:b0:7b1:316c:38f5 with SMTP id wb14-20020a170907d50e00b007b1316c38f5mr21038739ejc.30.1672194572536; Tue, 27 Dec 2022 18:29:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672194572; cv=none; d=google.com; s=arc-20160816; b=RrtotKkcwhAwgXmNRjlz7Cin7mMs3n0Qn9zr84SAPCqh3seTjXb+QR2Tw6GlIWB6fl J2UskOaiL1xIm1uhdDfOaXqki9yOc5LsEQHsiEdxbSNYDpjSmxDaf2bvNt23jeWvk8xS +I2c9JdZjkewugRs6PsyUGiggCS+WGXSoQLcLjdOSqyHIcTS0dSnrzrs0PS9OuJTbHgc WjA9Czz7NAPVqqCg0xDYjhoy7jzW5JdAKj0RmJzs0WgPgdOOvmDeQ3/7Y8W9Un2NIRRH xwe2tqlCQIgn78TAQDDyKElevYajJlG24YI9kCZ8Hqu4Y9IBfNsT3kGZcpurtOVpllDe B3WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=r5mZF+HqNi7oJNQi66SgCofHZHC1n4UI9rtyVYM/8No=; b=w/Myr+B3CJ++lZB20WeWQx8QWrhmMMi1H8fyMO9p9vKqQCBsBU2PoPGh2nKmRvCkiC LFsfiAvRJMn4dOYWIRd/3G2IhbDd4VnnOIa9c/05R95RxMxTHTFImQOUUnzDdb2qbMPl u6SmUxijynTBWtzqLiVZTwCZQNlpvt5mmk53PsI2J7IAGPGOZ9eDiwjY64iIiqgLiN3t /iugEjtnMwpT13KZSAtlLtogzFnoI7npDiaotq8/gr5jmvbAfBnZ1ymgsJ2qVHrL9oCN 2HxV9FXwdVNR0Vywcm74xDzR65/L+h+PSVhsb4rGqhbpYfH/Bf9b1sbxd/kSwKG7yx/H x1Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KiXQtSzK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv15-20020a17090760cf00b007ae1e635ea3si12829029ejc.754.2022.12.27.18.29.17; Tue, 27 Dec 2022 18:29:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=KiXQtSzK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230409AbiL1BEo (ORCPT + 65 others); 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-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: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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/chrome/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" #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) /* Supported alt modes. */ enum { -- 2.39.0.314.g84b9a713c41-goog