Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753610Ab3JHA1A (ORCPT ); Mon, 7 Oct 2013 20:27:00 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:46511 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696Ab3JHA07 (ORCPT ); Mon, 7 Oct 2013 20:26:59 -0400 Message-ID: <52535151.2000508@codeaurora.org> Date: Mon, 07 Oct 2013 17:26:57 -0700 From: Rohit Vaswani User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Greg Kroah-Hartman , Olof Johansson CC: linux-arm-msm@vger.kernel.org, Russell King - ARM Linux , Linux Kernel list , "linux-arm-kernel@lists.infradead.org" , Kumar Gala Subject: Re: Use of drivers/platform and matching include? References: <20131004114128.GL12758@n2100.arm.linux.org.uk> <20131004132209.GB23923@kroah.com> <20131005171323.GB5780@kroah.com> In-Reply-To: <20131005171323.GB5780@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1699 Lines: 38 On 10/5/2013 10:13 AM, Greg Kroah-Hartman wrote: > On Fri, Oct 04, 2013 at 09:48:41AM -0700, Olof Johansson wrote: >> On Fri, Oct 4, 2013 at 6:22 AM, Greg Kroah-Hartman >> wrote: >>> On Fri, Oct 04, 2013 at 12:41:28PM +0100, Russell King - ARM Linux wrote: >>>> So, no, there will be no new drivers under arch/arm. They must be in the >>>> drivers subtree somewhere. >>> I have no objection with this, and encourage it. >> Ok, so these are some of the requirements as far as I see it: >> >> * No per-vendor driver dumping ground under drivers/* (i.e. no >> drivers/platform//) > Yes. We agree that there is no need for a dump *all* drivers under arm/mach-foo in drivers/platform/foo/. The msm bus driver would be added under drivers/bus/. But, we still have some drivers which are quite SoC specific and not in the general category of the sub-directories present under drivers. As Kumar mentioned earlier - An example driver would be the means we utilize to communicate memory regions between various HW blocks on the SoC. So a video/media core driver might need access to a header/functions from the memory region driver. Would drivers/misc/qcom-* or drivers/misc/qcom/* be a reasonable place to add them ? and the headers could go into include/linux/qcom-*.h Thanks, Rohit Vaswani -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/