Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp524958pxf; Wed, 17 Mar 2021 09:46:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpMwn4bkeFg8i5JWJlkm+ck/BtVVFBLOo0diKdLFAWaI0c3R8V0UTIWf+eV80jP/39eDTF X-Received: by 2002:aa7:c74a:: with SMTP id c10mr42629845eds.332.1615999600049; Wed, 17 Mar 2021 09:46:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615999600; cv=none; d=google.com; s=arc-20160816; b=qs2QDpFoiRLGtbyNC3ZXOdnNxEC0i21Mh1q5V0JbA0I0iTDdlpUiGroziMo3TfGDS/ 31IzCL4ba/WSDDEwYK/CzeYnb2Q6mOb5UtPloOtpxVczbt8f/IZ7fsVj/L6BzmwzKiXM aX0na1M9crW22ri612BCtgZ7XrCQbCjXBR1ji4koYk1VRxJYZ1UY4vZ+gx+/yW3SV3Kq 29/pylALsvZ35RBSLef7uVywcfy6GqIiptoT5CqYbRI+EZmjrgHrk4hj+iAAPMh37q1Y xno3TNKlbK84UCU6yalyIHRzDxN2aorpl3G8t84fD5crJtbBDJAsAROqTfOrIENMjy2i qyCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=dnUumUyHur9xrjyFt8OhlWGAjruJXiYLXcGhegKLb4E=; b=0DR6cyIXlE78skV5eYfrULe0tpiFV/tbgdJTE38Nvbb37q5rtNWtdfil1FH3zVvGhg xdHBCu+o7yev5LQYwmRDWXOeFryUp7JX7TTFCMNR1horpIPCFNymPChpurgBHbFLlDq3 XAdRqw4ICtWu0gDYnHoj1F8CVQSbMHGUSw9qlmB5u2tTp1NmNER/xEzhi4mtftwfkBkV CDahgeeYMnaXfGTcJTfrkPAU8CHszYzePC/vj7NJuBEYoytTyKcHXm77Cqnxc3BIgoNb Rm0vZ84L01HFtKj/fAqvcM9YnH/FW7eUbm+KM9Zf9G2KVYWRRQyhAf52wT4cflIeIR/+ nD5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GqfkJb0H; 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=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 i21si16762498ejv.334.2021.03.17.09.46.16; Wed, 17 Mar 2021 09:46:40 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=GqfkJb0H; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232361AbhCQQnT (ORCPT + 99 others); Wed, 17 Mar 2021 12:43:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:56082 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232329AbhCQQnA (ORCPT ); Wed, 17 Mar 2021 12:43:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1C98E64F69; Wed, 17 Mar 2021 16:42:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615999380; bh=b/sKPjo0wFZrFiKOLaiPqCFikoPHrO+gmqfvGBCiGOo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GqfkJb0H1nV6mOU22soCC08o+VhUCcpVppNrK14ZA60FpOYXfEvARyq4LrcF+/Uv6 IBQN4PNY9Bf/9vSBbuypDwTx/tbB/XvBLeF8qFCbBX1c38OBWVgEyoUbwD+LScGZzx GRXlEBYMsIXuaosyOBOgRjwiWns5on3/glaj4BSU= Date: Wed, 17 Mar 2021 17:42:58 +0100 From: Greg Kroah-Hartman To: Guenter Roeck Cc: Badhri Jagan Sridharan , Heikki Krogerus , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1] usb: typec: tcpci: Added few missing TCPCI register definitions Message-ID: References: <20210316221304.391206-1-badhri@google.com> <4f077e6c-4e95-ab54-c549-e953bf3c00f3@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f077e6c-4e95-ab54-c549-e953bf3c00f3@roeck-us.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 16, 2021 at 03:52:58PM -0700, Guenter Roeck wrote: > On 3/16/21 3:13 PM, Badhri Jagan Sridharan wrote: > > This change adds some of the register bit definitions from the TCPCI spec: > > https://www.usb.org/sites/default/files/documents/ > > usb-port_controller_specification_rev2.0_v1.0_0.pdf > > > > Signed-off-by: Badhri Jagan Sridharan > > Are those going to be used ? For values and #defines that are in public specs, does it matter? It's good to have full definitions in the .h files for whenever possible for stuff like this to make it easy for people to write code to use them :) thanks, greg k-h