Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5468550imm; Tue, 19 Jun 2018 10:50:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLK9umTnIN63I96zZXltxFn18pPEll56t/nOpFTvP7uo9SF65n2VOOQ4varn7ipig6hUdje X-Received: by 2002:a17:902:4545:: with SMTP id m63-v6mr20183517pld.268.1529430615287; Tue, 19 Jun 2018 10:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529430615; cv=none; d=google.com; s=arc-20160816; b=eyizw6nXgxC5+ndHvvn1QwIZgduaj/adkBzi+evr8pyeSoB0zpxbBm8TIfbk5TbeXR 0NsYhHqF2FWRxke1PjGJv7tvk0eF19PsVmEDdsb8Df8DN462aoxbMuSS1YQFrYvlMi9Q CBfjxETuRKroRo2Q6+tep9/P8hADPJ0dgzXrEDIlZq8IO8v/5BsF89Ot/Wp/ISOlkBlV BTKkq6R0bau7+3xscxoAv/serwDH2TM2eXi95HTfMHWiTGx+8+bu51+1d7dy0GGgR85L cKjxLgx5nK3t9R9kqJ9R9HL6ye9rDyVg3OsRDnr6EgIhR1XI5D9fyAbrEkDYqWnmQeld wUJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=/P9s6tEMq5A1RGD5V7J/uSUpIswvKu6OhO5YchdPGKY=; b=oVTMHOGOMJuchxcF41GsDKozER5fp6AS9CL25PTSnkL6qAX3cNY+N3jCXb/ts9cIgm gafym04CH01ETtnbgpnIHoIE/moWIoG3dmyePYHFkUaVEWlS0mf1uoqI3lOqG3qsq0AC 0mafHkKhC8tBpXaHyUueNwyvi8+P8YkF0r7tMM2TSKcPYtpQOM3iUsQBHzmOi1apXqT6 JQfHn/S+iBSld8enYFnFmp7OGB0qj392Xvid3jzYz8dJAoaCD5XfQg3kbGb3U7wSKhfF 2IHaiccc/KUgiYDCka2asxD/S1tZTGjWV91ojYfLrpC8wVI+vK+ip+1zqZ/YjlbsVneA YOww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aZbSp0k9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d10-v6si173965pgo.630.2018.06.19.10.50.01; Tue, 19 Jun 2018 10:50:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aZbSp0k9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1030296AbeFSRsJ (ORCPT + 99 others); Tue, 19 Jun 2018 13:48:09 -0400 Received: from mail-it0-f65.google.com ([209.85.214.65]:37092 "EHLO mail-it0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967116AbeFSRsG (ORCPT ); Tue, 19 Jun 2018 13:48:06 -0400 Received: by mail-it0-f65.google.com with SMTP id l6-v6so1637774iti.2; Tue, 19 Jun 2018 10:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/P9s6tEMq5A1RGD5V7J/uSUpIswvKu6OhO5YchdPGKY=; b=aZbSp0k9hOLiuutJy2q6AfMCgYp4QxwBDqlxBWvWyX4hiycvKCZZFjLOi4N8r/B0X+ iEjZqnzxsZY0Ojsg42QIk3+cjMMg1qiQYPgPUDn2ZdG3XZBVe2GZvMG9TQ/J0UAbIXKb nnJTB6nni+3ZtTyVGRMdbLFtbNGZa3Q+Dcs4mmM6E5Z23mhKq1X+UkDw3yxAAHUZUbRS tpFqeUOyA9wqrX2ioEBG1RSvBZjw1nYpUmstc1t4hudltKptH6iya8Wy8bR4rhkC8rJM 44CEAyZt/1aoVF0w1ZH+q2HoQTLLxk+6lCmeHhMmIc4Kzlu6S7oTqjtP+BxFxgL5ag2Z Czaw== 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=/P9s6tEMq5A1RGD5V7J/uSUpIswvKu6OhO5YchdPGKY=; b=mm1IBazTu86HnxBKa0vAtVCDjYpQ3UX3Ikl3PsDQMM5/3KBQn49RCWPuzaFY9JI+CR 2n+It+yU1QVFoKu5UDpN/e+ID36ClkedWa86k+VCqyo6GtfDotdTq/OMq/BjiDifbYBx KX8ZiklYWW5JlPzi/bOdrSKpZRmKGvCsn9Z1pvwHUEc/gVvbRP+lmf/Yuxf25nRUpuFm g8s02tiF6O4Y9YTWJbij1yU44CeGxnAcFrHiCZV3geU0mCHYuFBb3FGtWYuCWP2qbDLd MvnbCSfQpaN/BdsFo3/aIH9jV1a/GBXsc7CQ2UvTp74v4cQGtZJi9iCTR2AM2a7y/TgU JqEw== X-Gm-Message-State: APt69E2K+QJKdlljyEwi1hEqwnRE2NzIlF6q1J6p5/0l5p0JWLSS+aB9 u7WNzwaYn9l2qHWX2jHYT44HwT3LYu6wWNDrww== X-Received: by 2002:a02:6065:: with SMTP id d37-v6mr14782764jaf.106.1529430486034; Tue, 19 Jun 2018 10:48:06 -0700 (PDT) MIME-Version: 1.0 References: <20180619142246.104469-2-avifishman70@gmail.com> In-Reply-To: From: Avi Fishman Date: Tue, 19 Jun 2018 20:47:54 +0300 Message-ID: Subject: Re: [PATCH v6 1/3] USB host: Add USB ehci support for nuvoton npcm7xx platform To: Alan Stern Cc: Greg Kroah-Hartman , Tomer Maimon , Patrick Venture , Nancy Yuen , Brendan Higgins , mathias.nyman@linux.intel.com, bjorn.andersson@linaro.org, jhogan@kernel.org, albeu@free.fr, chunfeng.yun@mediatek.com, Tony Lindgren , baolu.lu@linux.intel.com, Alex Elder , Dmitry Osipenko , Kate Stewart , hdegoede@redhat.com, Linux Kernel Mailing List , linux-usb@vger.kernel.org, OpenBMC Maillist , Rob Herring , Mark Rutland , devicetree Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 19, 2018 at 5:49 PM Alan Stern wrote: > > On Tue, 19 Jun 2018 avifishman70@gmail.com wrote: > > > From: Avi Fishman > > > > This patch adds support for ehci controller for the Nuvoton > > npcm7xx platform. > > Most of the code was taken from ehci-spear.c + specific initialization > > code > > > > Signed-off-by: Avi Fishman > > --- > > drivers/usb/host/Kconfig | 8 ++ > > drivers/usb/host/Makefile | 1 + > > drivers/usb/host/ehci-npcm7xx.c | 212 ++++++++++++++++++++++++++++++++++++++++ > > 3 files changed, 221 insertions(+) > > create mode 100644 drivers/usb/host/ehci-npcm7xx.c > > > > diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig > > index 9f0aeb068acb..e3100b249f0f 100644 > > --- a/drivers/usb/host/Kconfig > > +++ b/drivers/usb/host/Kconfig > > @@ -185,6 +185,14 @@ config USB_EHCI_MXC > > ---help--- > > Variation of ARC USB block used in some Freescale chips. > > > > +config USB_EHCI_HCD_NPCM7XX > > + tristate "Support for Nuvoton NPCM7XX on-chip EHCI USB controller" > > + depends on (USB_EHCI_HCD && ARCH_NPCM7XX) || COMPILE_TEST > > + default y > > Are you sure this is what you want? The value defaults to Y whenever > COMPILE_TEST is enabled? Will that annoy people doing compile tests? > Do you recomment to change to: default y if (USB_EHCI_HCD && ARCH_NPCM7XX) > Aside from that one issue, > > Acked-by: Alan Stern > > Alan Stern >