Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5029193pxu; Thu, 10 Dec 2020 11:05:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyJ52l3qJX2ix+dcX5HjuV2CeYSGiRqWs8yPV4GamcHVlY8C5GEyoqOt6NpWElHl7Dxc2ch X-Received: by 2002:a17:906:1102:: with SMTP id h2mr7700689eja.296.1607627148238; Thu, 10 Dec 2020 11:05:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607627148; cv=none; d=google.com; s=arc-20160816; b=f/Ujj4LYUfso5SunBbwV4WXKWdLfPA5nz95yT4A+ScLSc8wKFiL+g/bqnu1pyUkcHy NNrKIzepmxqZR2nTAJoWJDsvS+vIUUeTIFJeKih4l5O+EwGaihnDO8/5Mv65M2fO1Nn3 mIkwjz+R65PPsU1uXUWhbYdXV1D5M+L/LmS6tKKZDuJluMxGx7HObMwvgFbVhnSmfMt8 oVjctn1hkZa+zPlJX1246ty11bqawboBXAZC3EsYO2qTtVahD+E/1ikcuBw+24XFvjLI i1NgAU55FH01T9aysbNuxYgpQk3idz2cIeZjnMGrV3Gm6G6L8Yt2c22cna8wAEmut/kK 0p7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=89ETQBahwfQbokMIPaPBbY34+Gcb1bOyU5ZoPKDVcLY=; b=Dv/BJ+NfU9AZ1uycGlUmVfYxxHcybb9YuvXg7og30ZyrowMOk152tDjmcob9bjzTFd fDBc0PQOqngUbJdtqXICef22WQZIuv6CrsC6Foi5HvGTUaxJosK985/Jp10kj2cGvpYx bpwHZatOUsYMH4X8CI/4RY2l+pnyFDjuOqMeYZTX2eAYxc5g5j8rc9AdswMWRnx75IDI a1Hhcc5pS4o6cRbivB/fixtW9PnzoQFqONm9J86toH4BWVEorqQPR3MOlC/HQXvXxzjz AffywTF/zxv3/EVzn/0d6Lld+HO3CfaZ6E2AALwRdAIVQddQVrkcHWB2pdp4TYWFTrQ7 s1GQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=MttlDK1+; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k3si3435620edk.307.2020.12.10.11.05.24; Thu, 10 Dec 2020 11:05:48 -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=pass header.i=@google.com header.s=20161025 header.b=MttlDK1+; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393273AbgLJS6Y (ORCPT + 99 others); Thu, 10 Dec 2020 13:58:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2393267AbgLJS6I (ORCPT ); Thu, 10 Dec 2020 13:58:08 -0500 Received: from mail-vk1-xa43.google.com (mail-vk1-xa43.google.com [IPv6:2607:f8b0:4864:20::a43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1659EC0613D6 for ; Thu, 10 Dec 2020 10:57:25 -0800 (PST) Received: by mail-vk1-xa43.google.com with SMTP id v185so1473723vkf.8 for ; Thu, 10 Dec 2020 10:57:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=89ETQBahwfQbokMIPaPBbY34+Gcb1bOyU5ZoPKDVcLY=; b=MttlDK1+8tbWkGyYEQUVRuwpKxeMMntNkgsLXLbOcY+cdy+6ftnGwV9DuuDfP92w1m W2xThlhrF9jI0resoHnnvlQvfEOewwuXYcEYKD3Ig7aUENL+j4x5l/WkOo+tDi1Ym1xL f3l37CxypmgAyMMALCHmSz5YZMXYUA/hjwrNGXys3FJdAVidAJaB7NXAQJW20Q0lI+x6 E4AcUytF1V7IImwstqZrX19JL8KESW37HGFylqMn7K44e4T7iaguzWxjqJwe+XNaBt2S WU7gDRexrqIts8sTb841cdCF4YGIoItGFacqB5W2WO1A4xUIeCvlbAZetBMnM+QGYcr4 QMHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=89ETQBahwfQbokMIPaPBbY34+Gcb1bOyU5ZoPKDVcLY=; b=nuwrXP/Y+OC4n716AhqjbVJHV83F5Dczb+5R3JYzSYrFfFkCl0TMaF8pfKtAQieVqV eEewM5v43aMWtcg4YUGd/mZrG9lPRr26KwI43xBmRmzF9loYS+HOJ0hOpcTpWJH/i9j2 wuX4h7LygQV7mdo39m1tuqWzsvGTA9rHtc6eUTRVcatkDnb2995IaY9/DlTMJPZsHq5B Vl2Hnj+ZY3SSBi9/0sUTcy1OEag48SRwgk2v2edKIzGpbcZ07prh1s6CGePzTDEKCaHw gHu9fFlGNEEoeZ9A4l1zTvdSlvR29LtS1CzwhxJzQ6rOR6HXqqT3xLqH54rtkJuBnQhB Qm2Q== X-Gm-Message-State: AOAM530/2Mk0poHrPIiCz35qm3SeLOePU5R9XvVk3LQVfhLQngeUGaI8 vdLIISqmbLLmXTKIb30ZrFHJvvcYWHCscldyccQNtA== X-Received: by 2002:a1f:aed2:: with SMTP id x201mr10850305vke.22.1607626644059; Thu, 10 Dec 2020 10:57:24 -0800 (PST) MIME-Version: 1.0 References: <20201210160521.3417426-1-gregkh@linuxfoundation.org> <20201210160521.3417426-6-gregkh@linuxfoundation.org> <20201210174548.GF107395@roeck-us.net> In-Reply-To: <20201210174548.GF107395@roeck-us.net> From: Badhri Jagan Sridharan Date: Thu, 10 Dec 2020 10:56:48 -0800 Message-ID: Subject: Re: [PATCH 5/5] USB: typec: tcpci: Add Bleed discharge to POWER_CONTROL definition To: Guenter Roeck Cc: Greg Kroah-Hartman , Heikki Krogerus , USB , LKML , Kyle Tso , Will McVicker Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guenter, Yes I will send a follow up patch to update tcpci_maxim.c. Thanks, Badhri On Thu, Dec 10, 2020 at 9:45 AM Guenter Roeck wrote: > > 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 > >