Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1236949pxu; Thu, 17 Dec 2020 05:39:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVUyvCUCu6jtIguyrLU7W0ArNPeJC7bLRFe3VyMGCIZc7HaALK3SNLxZpkFabFZ+w9kZ2U X-Received: by 2002:a50:e68a:: with SMTP id z10mr11508011edm.66.1608212344617; Thu, 17 Dec 2020 05:39:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608212344; cv=none; d=google.com; s=arc-20160816; b=ALfFixZHRHpaDuFs3ukeagxq0xK8JRiZNbPMOgkwditFRcS160rqeahortxrtW4R6Y Ktny/HA1vkmDITuHFUccQMgO4/O3HtVR0eFu0B25AtHmHwn+IWbW6viE5NAne26f72cF 33PWK6AtJrd0fy9NYj4gJyqlWX/28XTvt7y+XT3/WgoxJpmPwx50gVKGRV1wVUHOn3q6 W3ibrxcztTpI9qU4Is1AGAM0OBKwgho5lA6KXIVZxuWAQJ6wql/9NnMCEp8qvpQc3mIT QFyBVl0x1sYkexBoahY1mwPzmqBkidcqGzB6jJqubP90NJ4u3rvNRqMu+S365sj1rrkK iPFA== 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=5CRO4FUtq0sCZEnT1huEajDQ5nORtucKY9OtwSA93+c=; b=uuOidKYNvMdMZsZseHVP2ElmtEikDofpKRMHt0ZZcaYCiU/Bd8Q5fjegkcujvqWKGN tFi7wIoHoH/tSoD8DHk7l9nsKyu3ESYZzalT7CNI4HYv+iIx97qKn1/ob+YqS7kpvO5K uUgPIUajUCsJgDEqd07i7cFXcwjC4+MR5tz35T2i+S1el5JIY0EIlG7dmrKM5aB5grxi 9B9lvdl8f57OaP2TIcE6+CcVAhLt3LovNU6h7QyOhIc8m5P4qc8a2ASMiYpuj3gwMvfj 4ZZDxGxZJRVjmmcpjXWY1nYqFrP62B7qunGPv+3E2tNaRpPcPmN910TcvtAuttgK6rJx jc6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OUwvfsJD; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si4343548edq.449.2020.12.17.05.38.42; Thu, 17 Dec 2020 05:39:04 -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=@gmail.com header.s=20161025 header.b=OUwvfsJD; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728131AbgLQNha (ORCPT + 99 others); Thu, 17 Dec 2020 08:37:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726613AbgLQNha (ORCPT ); Thu, 17 Dec 2020 08:37:30 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C46F8C061794; Thu, 17 Dec 2020 05:36:49 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id r4so1855335wmh.5; Thu, 17 Dec 2020 05:36:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5CRO4FUtq0sCZEnT1huEajDQ5nORtucKY9OtwSA93+c=; b=OUwvfsJDlTFH3NVScDvxwySVRCCdqXWQn2gnulj6dTGEy0K66Qd5pffEBsMkq23Sph CFeHvRm4DNyFpbsJQtxH/KBU0R+dvhXR2cnXX61bageQHV+RWzqP85paF8iElqeG6d6E u6HunBPlmgmo8F63qvf4yVoKcQI5WhsAzzba5rA/P/3Kcm3P5Ows25sNDpC2idlsqe80 jdWOkh5Pc4wgI+3W1FUBd5+/R2xX9G/xN9ag1u7u/eWkpWDAEPqVAbFEu0Ork10Yw1x0 X4SiJI34sLUhOCLzA5IOpNjGdloVPLbGGoX2cLztoV/todXbtXM/hkrzC+APjjWAtk+i 7aCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5CRO4FUtq0sCZEnT1huEajDQ5nORtucKY9OtwSA93+c=; b=mrDf5Zd9aHwTs+Qpuwuu+H9ka5+c76VO1sg+m7Ivx3erOMTs0cILiOvcPB0HOIuNq8 Iilu6mTLI28MvaJ4vHaccb0o0cI7jrvi8SkoICc1wnlM6UTCM4IErrY2TyoxwZR3rvsh u60tDio6neG6BT0Z1u6PF5GjtPqSyEBekt9KgZ79kqgZrlrx5lYvSzq7CVaocNUt9ytc +AFzivIaHzSFALg/xBju/1oPk+KJQ9ayRBkrL1Y0lB79+SXK6GCEJUtJrYaPuM1RGerK 01tgSdoAMbGSos/ZRLGNPIkc6LgF1ahVDydALMkY7xvKDy+kyFXKRCxcaj4dDpajnncD Nk2Q== X-Gm-Message-State: AOAM532DpvllaasawwRF5qbRNTcZ6/a0yjh8x2XBvimdp1QeLhB0wTEC 5a6JPLbFMqBVfft4LV/clMw= X-Received: by 2002:a05:600c:21d1:: with SMTP id x17mr8571783wmj.160.1608212208560; Thu, 17 Dec 2020 05:36:48 -0800 (PST) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id c190sm7699161wme.19.2020.12.17.05.36.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Dec 2020 05:36:46 -0800 (PST) Date: Thu, 17 Dec 2020 14:36:44 +0100 From: Thierry Reding To: Dmitry Osipenko Cc: Jonathan Hunter , Peter Chen , Greg Kroah-Hartman , Alan Stern , Felipe Balbi , Matt Merhar , Nicolas Chauvet , Peter Geis , Ion Agorria , linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 4/8] usb: chipidea: tegra: Rename UDC to USB Message-ID: References: <20201217094007.19336-1-digetx@gmail.com> <20201217094007.19336-5-digetx@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2QB7O1hFTgaD5tHU" Content-Disposition: inline In-Reply-To: <20201217094007.19336-5-digetx@gmail.com> User-Agent: Mutt/2.0.3 (a51f058f) (2020-12-04) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --2QB7O1hFTgaD5tHU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 17, 2020 at 12:40:03PM +0300, Dmitry Osipenko wrote: > Rename all occurrences in the code from "udc" to "usb" and change the > Kconfig entry in order to show that this driver supports USB modes other > than device-only mode. The follow up patch will add host-mode support and > it will be cleaner to perform the renaming separately, i.e. in this patch. >=20 > Tested-by: Matt Merhar > Tested-by: Nicolas Chauvet > Tested-by: Peter Geis > Tested-by: Ion Agorria > Signed-off-by: Dmitry Osipenko > --- > drivers/usb/chipidea/Kconfig | 2 +- > drivers/usb/chipidea/ci_hdrc_tegra.c | 78 ++++++++++++++-------------- > 2 files changed, 40 insertions(+), 40 deletions(-) >=20 > diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig > index 8bafcfc6080d..8685ead6ccc7 100644 > --- a/drivers/usb/chipidea/Kconfig > +++ b/drivers/usb/chipidea/Kconfig > @@ -53,7 +53,7 @@ config USB_CHIPIDEA_GENERIC > default USB_CHIPIDEA > =20 > config USB_CHIPIDEA_TEGRA > - tristate "Enable Tegra UDC glue driver" if EMBEDDED > + tristate "Enable Tegra USB glue driver" if EMBEDDED > depends on OF > depends on USB_CHIPIDEA_UDC > default USB_CHIPIDEA > diff --git a/drivers/usb/chipidea/ci_hdrc_tegra.c b/drivers/usb/chipidea/= ci_hdrc_tegra.c > index 10eaaba2a3f0..d8efa80aa1c2 100644 > --- a/drivers/usb/chipidea/ci_hdrc_tegra.c > +++ b/drivers/usb/chipidea/ci_hdrc_tegra.c > @@ -12,7 +12,7 @@ > =20 > #include "ci.h" > =20 > -struct tegra_udc { > +struct tegra_usb { > struct ci_hdrc_platform_data data; > struct platform_device *dev; > =20 > @@ -20,15 +20,15 @@ struct tegra_udc { > struct clk *clk; > }; > =20 > -struct tegra_udc_soc_info { > +struct tegra_usb_soc_info { > unsigned long flags; > }; > =20 > -static const struct tegra_udc_soc_info tegra_udc_soc_info =3D { > +static const struct tegra_usb_soc_info tegra_udc_soc_info =3D { > .flags =3D CI_HDRC_REQUIRES_ALIGNED_DMA, > }; > =20 > -static const struct of_device_id tegra_udc_of_match[] =3D { > +static const struct of_device_id tegra_usb_of_match[] =3D { > { > .compatible =3D "nvidia,tegra20-udc", Do we perhaps also want to add a new tegra20-usb compatible string here and deprecate the old one since this now no longer properly describes the device. In either case, this looks fine: Acked-by: Thierry Reding --2QB7O1hFTgaD5tHU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl/bXuwACgkQ3SOs138+ s6FKBQ//TBLMtbsou6bbuudeuQEKvYa0tffjko5YwU5sr/g3gDENC3MRSPt7XqFg 4VUhcMXqJV2GOhmvf12SzEIx4L/pFwU41nvJdI5WQGj1IbvWZI3xvwj/HIJZFvBE KE5l59EJ6rO8a06fxRBEIADDZ/htTXnC3dLTpT8aNL6Rhs7rGshRwzYnoLjgy8nH Me9zmlbmfjUUB3wxWMEvzZImI3qB1xrKr3D6v2i/v7wAvese3jGP0mezjOScHpUe udFeKz3ssmyoUoOkZml4yvGt88AMe+a33R1lXNmdawNoHFWhh5jqCRTCHOnLwc8M SFmAWMUV84sLcSaZoiBB8uJLdnVWjx3tI3/4+qkPVER2nYCVpjPcxuEKf+uDCQUs 7fWIt43/vxT9ULWLaFs7xVlRcE4gSkAn8wXc+5dOT+VF8DO/XluLCqNZd/TYXe1r F7ZXJS/neZ+2axQ9mTzBDfOMf1+sA5wRb68ckfhReoTosLrko9OAicWwbkFguVBs fj7Ivtmn5oiXzrIK0tNDZnFMYM8UiJhe3TUOdGJNp5w5p6q+C7vwLo8282AOtJtZ fuAdby9e0IDua3I6KUZrMIw341w0LhOs4nZYwNSBf26XSxfZVGUfHR53ZkgiBxSv 7pA62Lx5o/sMqZTxaEuPDUk4Nfs3wFIil5z6CMv+uc1QtOzo9Do= =7nxN -----END PGP SIGNATURE----- --2QB7O1hFTgaD5tHU--