Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp565197lqg; Fri, 1 Mar 2024 13:45:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQwnIDX2TLgNlnMQmSn0lfZix+ZXGZfG/wc9xWKh/7soReUEU2pzOwdu8ZfuFGPbZyvjXZQ/ixo59PWZXvvrv38MxNEw16FJQ/DzhBNg== X-Google-Smtp-Source: AGHT+IGRPJ01v8os5umQqwWyFOEfbGLl2b8i0zQDKWfQL0SxeXbiSJTZoGItFlg4o3+BkrWsTa8T X-Received: by 2002:a05:6a20:c21d:b0:1a1:2b0e:f23d with SMTP id bt29-20020a056a20c21d00b001a12b0ef23dmr1996299pzb.62.1709329553330; Fri, 01 Mar 2024 13:45:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709329553; cv=pass; d=google.com; s=arc-20160816; b=UQsHHV+Q4T9DesVxBpG7uDUE3CZ5IMoim4Up1USrZXAIMjWkLwN+Omox3wnvu1IEvp Kx9O5KdSnOU47SZdj4FZ/FjsBIxBYXWuSgE+tXnB5ADHZGFz9hLNlgqir8mFwSSowX3r bHRKq9alY1330cbkv1Gz2EKCrn762j0QGIlkw2cV7vu8yhUC34otnUdNLOnHp3iwcFKp 7X7heOQq29Xqh0r0Kuo+a+WdeMxyi+8WV/4ULCP9/ZeA701pMRUtc8U7toQXPCHkyd// 2ZTsOsfbaJ2oa5DvXVUmzSmObIaa87/xreqgOziuF1C8o/22hrhfby2j3pZ4/J+bvTUQ 56uw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=3pFI7qTJ9+ve3xs99F1vZCEk8EidueWhxadbXqRDtcQ=; fh=+X87fOzc8jKtUqeG998do54cTi06EqzIhlzyMpLRQ8Q=; b=kIgl6LrbYRI3StvH+lnK3QbFCSPcu44Hc7NgQPNJB2LEIgmwyQ5xLKeFyfh0B1I/rx iFF2b3PN0e3tOc1+PT+pAyQrE+vICW9EeYF07tU0Rcw1/7n2OXL4mbi+1hRyn9LdfN/E lUr2zu863B515yrZ7QpHl42lRv4/FOnpHDMWDT1urfuvO7I8bNK+1NdJdPbEkLwWqaqy hKBxtCyEzBck2XDvb9aeTjoomDPSOtLxGjXNsBDOWj8J6akmwxuWWWWIP4fHA6Mo/jj2 B2mIbIX7qCkuKYVK3F9g1t8K2Bcq3EeVAKC2K/Gs8TlAuab+Z1qdrM69ydbgAv6eT0/4 mysw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HjWqvnR6; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-89159-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89159-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id bt26-20020a056a00439a00b006e53b977922si4562315pfb.171.2024.03.01.13.45.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 13:45:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89159-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=HjWqvnR6; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-89159-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89159-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0CC42285024 for ; Fri, 1 Mar 2024 21:45:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DC2658AB4; Fri, 1 Mar 2024 21:45:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="HjWqvnR6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9D27E57322; Fri, 1 Mar 2024 21:45:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709329543; cv=none; b=Un8BwOpC78OJlhKUvHZpnE9SJBlALWfAc0e7kFN2KnQYUCwGUszORoW00TvObxFWwpFGlWJlausCq4iJbA7tKVxrRxL9FBp8bb6AsXGcdRfhboQ8moSLCUWolNNVL3/vHBIHWtsIvVZ/rieA2WAAnvUSWHTiB/t8y62UuMzc3s4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709329543; c=relaxed/simple; bh=4gfFqVOZg0+bckkDoMH9sSGKsuJGpOlBZ1xS62hIMQ4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L4X7VIdHKCcyvieBEuSF0f3HIY2qKNnD3xriCA1z4s/EF9/MZnYbsdnRGaopnowkTPD+eI2J23h5L+lPpEH4b3fUoH94LOFuL3Ock8Phibsd9NybeEPWEPwfxGWZh1GeUX1I1Kq8grHcV+5uEBJVKk19rNFHLFU8fn2kpT/DqdQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HjWqvnR6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCF97C433F1; Fri, 1 Mar 2024 21:45:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709329543; bh=4gfFqVOZg0+bckkDoMH9sSGKsuJGpOlBZ1xS62hIMQ4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HjWqvnR6FSGmcN7LluVqt6vDQ3SAdANGPivcR1XGpOCO52A8mjSau1QeTREHAoiTm 5k7E4T+lFcYAP3OStZ3JHdDUbHuQ7WM4Cz5zPrTGiFuVLE53uPfOTDi8144YIKf+E6 F/XcTknmpga6kr1W7MMgMHlJbgDU92eGSDoX8frE= Date: Fri, 1 Mar 2024 22:45:40 +0100 From: Greg KH To: Wesley Cheng Cc: Thinh.Nguyen@synopsys.com, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: dwc3: core: Add DWC31 version 2.00a controller Message-ID: <2024030121-unfold-murky-aae1@gregkh> References: <20240301213554.7850-1-quic_wcheng@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240301213554.7850-1-quic_wcheng@quicinc.com> On Fri, Mar 01, 2024 at 01:35:54PM -0800, Wesley Cheng wrote: > Add revision value for identifying DWC31 version 2.00a based controllers. > > Signed-off-by: Wesley Cheng > --- > drivers/usb/dwc3/core.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h > index df544ec730d2..f3bbbc1947bd 100644 > --- a/drivers/usb/dwc3/core.h > +++ b/drivers/usb/dwc3/core.h > @@ -1259,6 +1259,7 @@ struct dwc3 { > #define DWC31_REVISION_170A 0x3137302a > #define DWC31_REVISION_180A 0x3138302a > #define DWC31_REVISION_190A 0x3139302a > +#define DWC31_REVISION_200A 0x3230302a What code uses this define? Why add a define that is not used? confused, greg k-h