Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6220468ybi; Sun, 21 Jul 2019 12:11:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtLLUHPAdT2QvqCVqwdBglptBBT6bvr74JIDyCYc2XvNTCXYlxDNJuIaPNDpsqwbsBjZ0W X-Received: by 2002:a17:902:76c7:: with SMTP id j7mr69011875plt.247.1563736300482; Sun, 21 Jul 2019 12:11:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563736300; cv=none; d=google.com; s=arc-20160816; b=1EeUyUB/ABSKUe0Z0STWF/WLiC6zifNO9hyHV8s6iwgvC1W2RqEqcqC8TINyoER1l1 kRstrbeHlty1xi9KzQnXmIX3BV1I7yruRTUpaEssqQl1uWEBFkpkgaz7NIxYivBUqLQI MGJwP5GNS6faTXKvd+cBkj743oAkQphIMlYGsBOA6olm91hML/2JxGiBE9ogFnjgbMSX lANL/mmrzlOZEx7D6MnOCl/WtiaqZDrB2/VEs2XHDTfubFgAHJ2EmLVDrUQgcnl5B2f5 yYjBnmTfXz7+PAOLKr93LuKqtEqXAjbVsNHJhrj6A7X9IWDsowrsOlyz9e2LDcQCoBB0 HIbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=c6FFbTsMcJ727UG1uquKItTRBrlCMweHP83swdNYtFk=; b=WGomj2l1uNCc1+UnE/lZDo37uuRIpQHBCRLWt/2rtHoCvm8R99dPNRiK6nELH9MHE0 W6gqcAd7OpdUWYrFPNFppmxyn9jW+RpBr5/guSCdD1LQ+ag0FUMtSQL5EtqGmmODTMsd lQGSFM/0Y/mfyMKQd3ii4bb9gcmDiySEZppF6pZhhMD0MBq36W7e4nUYLoi9lXPeo1+9 J4o3WmiztsuIgcldyKI3l6wgbp1ecsZx5UV6m599ZwLYkSk72o5KjnYjFOzXkMnVrOMz /d4EAr6WeY2h1NoTKRGPMK+evRnau8Qt1mVD7XZhkmJKyUH+dIOAG2bfu+bVIO79I3No o0kA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m68si12011338pfb.75.2019.07.21.12.11.24; Sun, 21 Jul 2019 12:11:40 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727321AbfGUTEs (ORCPT + 99 others); Sun, 21 Jul 2019 15:04:48 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:49479 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726462AbfGUTEs (ORCPT ); Sun, 21 Jul 2019 15:04:48 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 3B47880385; Sun, 21 Jul 2019 21:04:35 +0200 (CEST) Date: Sun, 21 Jul 2019 21:03:35 +0200 From: Pavel Machek To: Pawel Laszczak Cc: felipe.balbi@linux.intel.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, rogerq@ti.com, linux-kernel@vger.kernel.org, jbergsagel@ti.com, nsekhar@ti.com, nm@ti.com, sureshp@cadence.com, jpawar@cadence.com, kurahul@cadence.com, aniljoy@cadence.com Subject: Re: [PATCH v10 0/6] Introduced new Cadence USBSS DRD Driver. Message-ID: <20190721190335.GA19831@xo-6d-61-c0.localdomain> References: <1563733939-21214-1-git-send-email-pawell@cadence.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1563733939-21214-1-git-send-email-pawell@cadence.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > This patch introduce new Cadence USBSS DRD driver to linux kernel. > > The Cadence USBSS DRD Controller is a highly configurable IP Core which > can be instantiated as Dual-Role Device (DRD), Peripheral Only and > Host Only (XHCI)configurations. I see you are using debugfs to select between DRD, peripheral-onlyh and XHCI... Is that good idea? This is at least 3rd driver needing that capability, and debugfs does not sound like a good match. Pavel