Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp225062pxu; Fri, 11 Dec 2020 00:19:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyKtY66F7fP5SuOTqBJ5QYEXULzacDUX5SDrAtK2D0G/A7WJe3+M0v6fnnJLOxIPm9pN6km X-Received: by 2002:a17:906:a011:: with SMTP id p17mr9780129ejy.30.1607674754066; Fri, 11 Dec 2020 00:19:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607674754; cv=none; d=google.com; s=arc-20160816; b=suhgEj6sCQ4zpZ2J3ZtrEtm5n2WR1UGMyAipxyKuAYydUOUgyLBLreDNKitw458kAF dLTkM12frfb2Rh1o4U31GChO2I6aUSPgxEomFHNG0B9MYj685GhSrRtDqW49NF600jCn iSad5FXWCiwQ8RQpkeWyaJTLhVimIbpF8FZ5N1dlswYULIRYKB4Zkp02mXbiQWx0Md+b jZWqhavB9rDEwjv9G5BG+ckp01gRvcs8hKDutNm3yXY/8xQyjfqJ6xBbBGJfQSd7zr3Q DzObCz1qoKvC9QbVat4HTRWggJpU3Z8xkg+qCnA7EjyNs+4qqezJgYnCBGWy8pJnzTG+ fRtQ== 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; bh=JIp4x99NqjLI9nlq00Iq1+p0pi9nwS/emO9DUAxheV0=; b=g7WwT7KoBPqCVn72scq4iiS62/0B2zK93SR9Z5wuZJMNel/pX61wJouHWul+kw2KcG XXcFhZhLD12vlO07JxzRhYgs7rndvPkRxMHXPdxRIcPVT4FQDkzBUPxWmRsDGig4WbxN Xtuxo3CwhFhn3NDP+xdx8kGIHvKzW+aELT04Dntb05AtVaH4PaX1PFdmN7o4xJVDGuN4 baUJnFvBEX4T3aSZ1IX3S7PyDajg4CGSbd0zp/S+YWatIZxiNs5nyo5bs1d0dpdFBQDS kbpxxi0i7lyMiGJ8mMBjC4DveDYgEowYPreiCvbgbHS9a1HBRM16EdTs+9zoJ8PBPFLT NYVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg13si3787788ejc.310.2020.12.11.00.18.51; Fri, 11 Dec 2020 00:19:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392243AbgLJQFw (ORCPT + 99 others); Thu, 10 Dec 2020 11:05:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:34794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389954AbgLJQFq (ORCPT ); Thu, 10 Dec 2020 11:05:46 -0500 From: Greg Kroah-Hartman Authentication-Results: mail.kernel.org; dkim=permerror (bad message/signature format) To: heikki.krogerus@linux.intel.com, linux@roeck-us.net Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Badhri Jagan Sridharan , Kyle Tso , Will McVicker , Greg Kroah-Hartman Subject: [PATCH 5/5] USB: typec: tcpci: Add Bleed discharge to POWER_CONTROL definition Date: Thu, 10 Dec 2020 17:05:21 +0100 Message-Id: <20201210160521.3417426-6-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201210160521.3417426-1-gregkh@linuxfoundation.org> References: <20201210160521.3417426-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Badhri Jagan Sridharan "Table 4-19. POWER_CONTROL Register Definition" from tcpci spec defines BIT(3) as the control bit for bleed discharge. Cc: Guenter Roeck Cc: Heikki Krogerus Cc: Kyle Tso Signed-off-by: Badhri Jagan Sridharan Signed-off-by: Will McVicker Signed-off-by: Greg Kroah-Hartman --- drivers/usb/typec/tcpm/tcpci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/typec/tcpm/tcpci.h b/drivers/usb/typec/tcpm/tcpci.h index 116a69c85e38..c3c7d07d9b4e 100644 --- a/drivers/usb/typec/tcpm/tcpci.h +++ b/drivers/usb/typec/tcpm/tcpci.h @@ -72,6 +72,7 @@ #define TCPC_POWER_CTRL 0x1c #define TCPC_POWER_CTRL_VCONN_ENABLE BIT(0) +#define TCPC_POWER_CTRL_BLEED_DISCHARGE BIT(3) #define TCPC_POWER_CTRL_AUTO_DISCHARGE BIT(4) #define TCPC_FAST_ROLE_SWAP_EN BIT(7) -- 2.29.2