From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752220Ab1JJU7u (ORCPT ); Mon, 10 Oct 2011 16:59:50 -0400 Received: from utopia.booyaka.com ([72.9.107.138]:54404 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751570Ab1JJU7t (ORCPT ); Mon, 10 Oct 2011 16:59:49 -0400 Date: Mon, 10 Oct 2011 14:59:48 -0600 (MDT) From: Paul Walmsley To: "Munegowda, Keshava" cc: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@ti.com, khilman@ti.com, b-cousson@ti.com, gadiyar@ti.com, sameo@linux.intel.com, parthab@india.ti.com, tony@atomide.com, johnstul@us.ibm.com, vishwanath.bs@ti.com Subject: Re: [PATCH 1/5 v13] arm: omap: usb: ehci and ohci hwmod structures for omap4 In-Reply-To: Message-ID: References: <1317901099-2519-1-git-send-email-keshava_mgowda@ti.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On Mon, 10 Oct 2011, Munegowda, Keshava wrote: > Here is the highlights of the change in the design of USB Host which > we can do after kernel 3.2 release; > > 1. separate the TLL changes from UHH > 2. The TLL is be a new platform driver in ./drivers/mfd > 3. the TLL platform driver will export apis for enable/disable clocks > and settings. > 3. the UHH drivers uses these APIS of TLL based on the port > configurations from board files > you don't need the TLL clocks to > be on while all the ports are in phy mode. > > please let me know your thoughts about it. The TLL driver shouldn't be in drivers/mfd, since it's not an MFD device. The TLL driver should go somewhere under drivers/usb. Basically, the existing OMAP USB subsystem MFD driver should create a TLL device. Then the existing Linux driver probing system can associate the TLL driver with the TLL device. - Paul