Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp239094pxu; Fri, 11 Dec 2020 00:49:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJy3ORTtz/5Yc2PUNW+eU810itBgfkBluqCyIpmQzU7Em+s3kDkdeCXTGNIrRVuGba+fGtnx X-Received: by 2002:a17:906:38d6:: with SMTP id r22mr9692638ejd.149.1607676539808; Fri, 11 Dec 2020 00:48:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607676539; cv=none; d=google.com; s=arc-20160816; b=UixqKL19LfWKZHCpLSjO1ItEod8sj3zGfxV+TxZ1bXJcHO0Y4Ik7IozR96rtCCLyzI W5eR+JmoOQTyzb47k/MxW1AEkT2DuqKMXqDwB+Htw/CgNmuaDL1kj0qzLo7XXpl8gHU5 4mvK+QATs/dciXXQ3ozai++GZg7kLw9yNeoCJmlymkDFKtjCWpkmDFh4akM1TCQKH22a JfI7hdex4XB6/9+zxb2wxnSn/sCl2GhAM+gGAU2ISRj+AmBuaBjvkiZ3CyqbHKwlzq8N BMrUq356/POnGFf3Vy5ktIpQlQG1qByYBcB3//ghpF38e6zFwiAx7LHoCKD4CJ3HMzij 4Iew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=mSi37/KpQzHqxnLEaea2i61ySgFWJyTbS2I2jXpx2RM=; b=RFTrW3prxl03dpM9yb4QTFiULEkccubYsSTZY0Y7s94FTvDfnyGC50C44UNHi+AaCt 1/sKZiblzKVyHPB6a/D+BrujYlxXWlE/4wfqBhmdcfqH15Qfwp5WsANsAupV0YAtGgdT FvYX0aS+cPWB5Y/5F6cJzFQI2LV3njKaZHvkM4UQQLRIjNP/1lCSDzuXLLBfvl5Olt+H sGGMp6ZrlL+kNs9oyVesuDo+xqxH9odO/RNjijZDpY540rlErS4f65nbS7rBVcsLLvO0 tCEPYyOo8y1n1NZDDvU2WhD+7Zi3qqu4ptShbPK6rMQhD1yigFTB9J0ksC6neRyNSl54 TYNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@roeck-us.net header.s=default header.b=dyB7ImVu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b22si3891915eja.62.2020.12.11.00.48.36; Fri, 11 Dec 2020 00:48:59 -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; dkim=fail header.i=@roeck-us.net header.s=default header.b=dyB7ImVu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392911AbgLJRqu (ORCPT + 99 others); Thu, 10 Dec 2020 12:46:50 -0500 Received: from gproxy7-pub.mail.unifiedlayer.com ([70.40.196.235]:33133 "EHLO gproxy7-pub.mail.unifiedlayer.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392031AbgLJRqa (ORCPT ); Thu, 10 Dec 2020 12:46:30 -0500 Received: from cmgw15.unifiedlayer.com (unknown [10.9.0.15]) by gproxy7.mail.unifiedlayer.com (Postfix) with ESMTP id 09640215C27 for ; Thu, 10 Dec 2020 10:45:50 -0700 (MST) Received: from bh-25.webhostbox.net ([208.91.199.152]) by cmsmtp with ESMTP id nQ0jkV80Nh41lnQ0jkWk7F; Thu, 10 Dec 2020 10:45:49 -0700 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.3 cv=JNUVTfCb c=1 sm=1 tr=0 a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=kj9zAlcOel0A:10:nop_charset_1 a=zTNgK-yGK50A:10:nop_rcvd_month_year a=evQFzbml-YQA:10:endurance_base64_authed_username_1 a=1XWaLZrsAAAA:8 a=_jlGtV7tAAAA:8 a=QyXUC8HyAAAA:8 a=ag1SF4gXAAAA:8 a=h6dpbDeaCvH9cfnFbJwA:9 a=CjuIK1q_8ugA:10:nop_charset_2 a=nlm17XC03S6CtCLSeiRr:22 a=Yupwre4RP9_Eg_Bd0iYG:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=mSi37/KpQzHqxnLEaea2i61ySgFWJyTbS2I2jXpx2RM=; b=dyB7ImVu+uo/rGuqR0DETKUOZ9 sJ5HGIBXYbcJfkiGfWBDDnKtrlzKyLaawoVcKUKDEl6pPdwwez6COUrz+8QOCAawseoihM7GSyocD kNYcSAq7RxZnn4ZI0B1S5fOGn6xacsJNzvXuGMbYG3sRUoD7U323sttv0TjgbXY3WHyqWN37Ct+qm AVTEYQkYsasYMmwr6fW1CKz/Ets6aDz0VIDSSy9gp4UAMco27EL66V3Hb0LRfyGKgeqZNQORhd68G CNjQWcceOSJxUNBrQDJxk4jZ/8mYSG7SUsM7hgoEJzgyLxQ5mxeYbv8mRxoKcpeE+VtDY5M5i+O/i Wyrk8f0w==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:60464 helo=localhost) by bh-25.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1knQ0j-001TFC-5D; Thu, 10 Dec 2020 17:45:49 +0000 Date: Thu, 10 Dec 2020 09:45:48 -0800 From: Guenter Roeck To: Greg Kroah-Hartman Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Badhri Jagan Sridharan , Kyle Tso , Will McVicker Subject: Re: [PATCH 5/5] USB: typec: tcpci: Add Bleed discharge to POWER_CONTROL definition Message-ID: <20201210174548.GF107395@roeck-us.net> References: <20201210160521.3417426-1-gregkh@linuxfoundation.org> <20201210160521.3417426-6-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201210160521.3417426-6-gregkh@linuxfoundation.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-BWhitelist: no X-Source-IP: 108.223.40.66 X-Source-L: No X-Exim-ID: 1knQ0j-001TFC-5D X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 108-223-40-66.lightspeed.sntcca.sbcglobal.net (localhost) [108.223.40.66]:60464 X-Source-Auth: guenter@roeck-us.net X-Email-Count: 33 X-Source-Cap: cm9lY2s7YWN0aXZzdG07YmgtMjUud2ViaG9zdGJveC5uZXQ= X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 10, 2020 at 05:05:21PM +0100, Greg Kroah-Hartman wrote: > 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 Just wondering - is that going to be used in a follow-up commit ? Reviewed-by: Guenter Roeck Guenter > --- > 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 >