From patchwork Wed Aug 12 05:53:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongsheng Wang X-Patchwork-Id: 6995871 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BE7F89F373 for ; Wed, 12 Aug 2015 06:02:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D3C43206DC for ; Wed, 12 Aug 2015 06:02:23 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8875D20687 for ; Wed, 12 Aug 2015 06:02:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZPP4E-0008LR-Uq; Wed, 12 Aug 2015 05:59:14 +0000 Received: from mail-by2on0135.outbound.protection.outlook.com ([207.46.100.135] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZPP4C-0008HO-SN for linux-arm-kernel@lists.infradead.org; Wed, 12 Aug 2015 05:59:13 +0000 Received: from SN1PR0301MB1614.namprd03.prod.outlook.com (10.162.130.24) by SN1PR0301MB1648.namprd03.prod.outlook.com (10.162.130.142) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 12 Aug 2015 05:58:51 +0000 Received: from BY2PR03CA005.namprd03.prod.outlook.com (10.255.93.22) by SN1PR0301MB1614.namprd03.prod.outlook.com (10.162.130.24) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 12 Aug 2015 05:58:49 +0000 Received: from BN1BFFO11FD001.protection.gbl (10.255.93.4) by BY2PR03CA005.outlook.office365.com (10.255.93.22) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Wed, 12 Aug 2015 05:58:49 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD001.mail.protection.outlook.com (10.58.144.64) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Wed, 12 Aug 2015 05:58:49 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t7C5wgfU014724; Tue, 11 Aug 2015 22:58:43 -0700 From: Dongsheng Wang To: Subject: [PATCH v2 1/2] soc/fsl: add freescale dir for SOC specific drivers Date: Wed, 12 Aug 2015 13:53:26 +0800 Message-ID: <1439358807-9024-1-git-send-email-dongsheng.wang@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD001; 1:x7soS5MGClE9bolMjX1R6cunT1w5oPeoqDAIgG4lj9TcRgYy5Rp+hIimSJN5be93cinJv90yvDSEldmK42pZxQuDvmHIiiQzPQyh5Il0LWpTJwellE9Oc/Vi+FjRMme2MY1H5ByPZ4e+h5QDsMNaSKYzHZlIAP+LDptoUZcu+wOXsxWbm7MiW/bdR58P/qB3azDDTIYij/Mia29I4Wvg4K93uS5h333FuWDCwjTRfbtvYLiCjhKd0Hp3ZxAw6boon0Cc/DfvUDyXckG8Oi4Ym05RRYNAVFkLVgbnO7vkNX2oM4ENA6cwd1knqFD46Urx1YEtwnjUMM6L5Y8ZXoAeDSoDn3AWO8SoLbp9jIjAW3g3S2MFYNcEtKgJiWwPICThP2jzQTP3Hc2y6DGfH1RZew== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(3050300001)(339900001)(199003)(189002)(77156002)(4001540100001)(47776003)(46102003)(5001830100001)(33646002)(85426001)(575784001)(68736005)(110136002)(107886002)(104016003)(97736004)(87936001)(229853001)(5001860100001)(69596002)(81156007)(189998001)(5001960100002)(2351001)(92566002)(19580395003)(86362001)(5003940100001)(77096005)(106466001)(64706001)(19580405001)(62966003)(50986999)(105606002)(6806004)(50226001)(50466002)(36756003)(48376002)(4001430100001); DIR:OUT; SFP:1102; SCL:1; SRVR:SN1PR0301MB1614; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1614; 2:DqlPTdhJ195SlJsQjLod9PsGQHOtEXARcHIRHGO3Bivk3DloVGVV1IhL9fOkkuzFJjVX8Oy67S+VHdlCI+DqTQMLtoR/pKri99hpQaC95QaU/FzRkJYfX8xzORiillW1R/OKvDMsZeEZvH854rOmS1PIBHWFQft28+zuRbS23zg=; 3:PG3iRiukLB5UKuOLGA6gjaRnypg54fZnbtVdazDgSnLMbTjtZMGkkisNPwg7jGaJTmbBEPfKdqmE00wEC00mfPtd8pltzjUpGh75c7qP3X2s8SZLCzzdUQmwmyW6iwYzI+daecIDvuQkX4PMTDvvd8RAF9GGQkAc7SB3suTn7+TnMgbjqvHvfvI3pPcJIWB10aP7m1SUpEn00mVFDtubw4RXdiO/Tu3YeFK+LeS8Y08=; 25:7iEdQBluJ8Ao793GZJeeG48BbZHxHKqIBRPJbpaTxpq5oP8Vmrz28lTdSstshQVdAPrhvp35h9sCH2dIk2XLGi1gJn51HWKqCXmEZf97cMGGO5v0AHuuGsWGgOHvIkgyDxn3ikvDvBNL6j+mAlAi23/pkaGzvYXiy/n9FryZlHYMjQZQHsqIec1rBWlnZ/H1xexbZaGddVjilLd5j98Anrrwf5DqkixwsJK7/R6gjd+2yy6P8rh55edKoQQ71yyr X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1614; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1648; X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1614; 20:UK7pbEN4TMvKH2TiLb5IcQ9nrXudwyIX/4SpkNx6l3Ag+lshxbpuPx2wnF0AAVFuFSMHBDsSeRUnP1+pH++73B0vHnjCkq4JUT8q7s6CxzfpLpjL3SckcS8Ds6lYyTdU5VP4rO7YVeYYyfgduqPv7RCzNMjc9YgPUUZ/3ERu33t5ezNs9jTiTdvzilkhVYLo9Cg1mstAup67Wm1WIgfmQ6dCWH6TrYNUwkSuRHOOU3Jif0Gz+EkxcqUS5xBRMPhQvY1NyJax4RCc4hIlgu3Kc1GtioTl/95AYpMFfQhrx0DmDTXVyE82BQvhc73bRugazipttmbsOLO0y3JAIuQGXLDgaczvNVTmhzD3MmNnMno=; 4:MvvLOpmrDwSNG8s/VvnFijWgsKRKlRBnLz3niUGh84owJ0qRraISzWUgr3ZIbXNjnfidRHF3Po+ubUjp4kS8QMhibvNAXHf+aAWKkNVajpUdk6ZBFkp1lgoYuc2B8R0MYvdhfcSTZTKk0vwTvxr4GZNG1DJOuCXcQUu2XRaDathLmIpUJEt/glcexes2r3QV8Z9ow+n1YlueBBnNdekpg9BnapVDb2fOeEdyFnG12S7Uey9jWeHlozC5HEIFqPuKbckzsG6j+6Sx6q93Z0zbUe5/lyeQU8hKFC67BC3MWMk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:SN1PR0301MB1614; BCL:0; PCL:0; RULEID:; SRVR:SN1PR0301MB1614; X-Forefront-PRVS: 0666E15D35 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR0301MB1614; 23:huAwPwMvwW9bwSiS5WLVX07tXNTmskoRu3lZEaP?= =?us-ascii?Q?ZM7Bn27Fnc8PvUbqORhh2mYsS1+IuJWCzMOXloYWEbJYL9lF78TSIQfvKe01?= =?us-ascii?Q?VAkzLSCNDbCgmKTIoztPNrnflz9DcRNrwDzZ4T+inivunXWyQ51mtjVh/1M5?= =?us-ascii?Q?lEjzt6sdUiAbnz01DtIXiwsWQWVaP1LTQuXLNwgboy9yAhmEyOvqYLS8k4k9?= =?us-ascii?Q?yU4dnNDhucBfwG4HrJhTfrdqW7HRLYOxR7QTyRpvHtM8aFY/xsiYiRam5l2W?= =?us-ascii?Q?keaaoFArn6Ic6xttqADkUCuRrjw66Vqsp9paTBnrJzw4mgXPplp7PdEdpMQD?= =?us-ascii?Q?ABQTp5OqWyse8mO/4JwI34XR/P5ZU13smntdk+JxZAjRHBzHKSyQ3a8MuJoP?= =?us-ascii?Q?mtjEEd8GgI5GChvdz1a/noJuokvDd0T8LDRbMWo1oAfUJYlIlRfa/52J/i42?= =?us-ascii?Q?q3VaFUiqooXHp8Fj0bK1dqzINio20P/nOcjanXRZJCFajn4vYuxR+mr90sT2?= =?us-ascii?Q?rDm4jcUecNGP/eRUXGMelMdtu90tL5aqORj+h/tCmk3uP+xUHZqxE9HxF/fr?= =?us-ascii?Q?Nkse5oayR7OwTW5ikLuvEeG/Gml/JUgJnMVTq/xTMebCMrHTBqi5nMLxdvuf?= =?us-ascii?Q?5pXEFoPBp2WvCiJq/PKzUoB6XdB97RwQb4+kjjGPXl3mwHUzaswYyVlWEa6F?= =?us-ascii?Q?05ATqpOM2C24wg5Y6vYNK9jPkAmddibW83LOID6D5fKbj/UedXwG6VHgl/iz?= =?us-ascii?Q?CE8xeRbsC9iIv/gPDRC7hGdKSANb4QF31dmQVKUoWWUS47clhK4cVt2aLvOp?= =?us-ascii?Q?9sMWlJRzndZ3We9p1uJGWUbJIm+8oMiXPbO0SpXnv4TvZrfEpr1kQ4QinPWT?= =?us-ascii?Q?JR1T+TSEU5EzRWWUssAxRWJfTHEAagF8ocJt9C34PzS9khyY4C5VnVt5/Y8a?= =?us-ascii?Q?FZojVlMqCMMi83ew1qB/QpCWYKpq2rX+B3Rn8HjAv8Nhe2s5I/5qkriwYaL+?= =?us-ascii?Q?DdAGCryBCQYw1lwPzmfObYjgbXfvzTZzKcwIlQ2urCvHR+iMIIgDi1PsQAH9?= =?us-ascii?Q?prMRQJeIzEV2CaDEB2f9pxu1AQF0YNgP114jau6Rgd3AkR4VtVZU/zPuNcg6?= =?us-ascii?Q?0I0KpK2kdt59+fHgSg+56V8DSBH7ZHGPokeLdfx79ml1ry07oc9jYlA=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1614; 5:U5A5KS9SVbopOLVDxjGOu/CSgKqoDUhaOvh/JzejvxRf+QRtNkVB8D+kfdzTPRnpdebeFS4utmJsBPTkr82RO17Oga2VNC5Te7oFXJPoHOlYMReHsn2BFFmPivUsEgk6CI+Owk8siy7iWZG2Dn5KqA==; 24:5FYn8YQAZYXbz8IGbhYCj+6YSdx3LakQUB67o9XhunQkEzgshpoYXQexTv6TwC89Sx8BGgggrIuFGjh3dBlMy/MRcSZfoIYOfM8bmga3Jkg=; 20:g4G++WJ0I/0ERJXsVoEyvlYpgIxmlO6OFPjB+3x7I63DtnWbSWPChpQB909jyxzWXpKqDRUEVrMtDQl3h066cg== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2015 05:58:49.0970 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR0301MB1614 X-Microsoft-Exchange-Diagnostics: 1; SN1PR0301MB1648; 2:BNkWsOFgOV+FX8EHl2tUbb0a17NBM0iJIuvGnOT/Hg/bR03zgdYc4QvpLJjYgT2cVNdW4xJWf9tDca9N8dBt0Fg/R6tcz4XVA5QAF2p2ExYhxnnTIgZ7TPV5TJaKUUQeP5+8ggrJ7miLeehAOfUdF55PmafzQKvIqfhiRl9+kZU=; 3:po7rw9Q9Y0OKZGYJjij6YlOcEXAUmzJSybh/sUsD1RaS2ZCtGxE4LrUxio93Er41izMZ5z0mH+mD2a5lcrly5GOHaTH8XzgHxkmcFpVchqNBa0CCeEITwh26N8KKtsLoaP9TFYjR67DISvweuEeD3fLE3YCbbqd8XaMiMRPczcDNkKB09mriw8Z+Wrs7WtyyViGQ7clWPF6TCJgWflVwqi/AAkE+fG15SEiFltZOezY=; 25:k2WAyofHuq5JMU7FW5fCGh4deAW+6Dy9bVv4As9iBfsfi4C1SPRKwRejH6aK5j+8Q9A9DnzE1YXH6fqb2s5voWcScL4Jz9twci+xBKFHSK6EYCn4V4470Ldf9xZoleiho/EGd0heev3Yl7Mqn/1fj3eE/1ZaWbgECJ0/URufNNAY9cglRo+Nxy6MJo/KTUTPO2jqijCyyQ/aMOKGVcge7uEY7jgwQC69+hzl51JHsglJQMPfu8fhTJiSF/DYUxIx; 23:OkQWLNEHr16izV81WD7r2p5526We/Xebnkgggq8uTQ3VpSkMZQL5/f8nWwpPGQQDSLxCScWy8n/DGdY7q7XJZveXWNKrTp8FRGrFNI4KzKrwX/r3BAQVHIg9sTv0G/uHR/VQW6OiCdGExB7pDU/7FYZQxv8CVQhlTzN4i6IWFRtQ/fYPsr56Z2uytr5s0Fh/rMqhwI7e428nu/I6dPgqXQDZKS461s9dxuxhhbFlTiwIco/SRkVoMdmMHRyI5HVa X-OriginatorOrg: freescale.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150811_225912_978795_232765F3 X-CRM114-Status: GOOD ( 17.26 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Wang Dongsheng , alison.wang@freescale.com, linus.walleij@linaro.org, linux-kernel@vger.kernel.org, sandeep_n@ti.com, hdegoede@redhat.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Wang Dongsheng Some Freescale device drivers need to move to soc/, because these drivers are specific drivers. Before the soc/ to be created, the drivers had been there arch/ or drivers/misc/, but now soc/ dir is a better choice. Signed-off-by: Wang Dongsheng --- *V2* Rebase for last kernel. Resend this patch, this patch is one year ago. Sorry I haven't had the time to push this patch before. diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig index 96ddecb..b5c5179 100644 --- a/drivers/soc/Kconfig +++ b/drivers/soc/Kconfig @@ -5,5 +5,6 @@ source "drivers/soc/qcom/Kconfig" source "drivers/soc/sunxi/Kconfig" source "drivers/soc/ti/Kconfig" source "drivers/soc/versatile/Kconfig" +source "drivers/soc/fsl/Kconfig" endmenu diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 7dc7c0d..1caf1d6 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -8,3 +8,4 @@ obj-$(CONFIG_ARCH_SUNXI) += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-$(CONFIG_SOC_TI) += ti/ obj-$(CONFIG_PLAT_VERSATILE) += versatile/ +obj-$(CONFIG_FSL_SOC_DRIVERS) += fsl/ diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig new file mode 100644 index 0000000..863d1ef --- /dev/null +++ b/drivers/soc/fsl/Kconfig @@ -0,0 +1,18 @@ +# +# Freescale SOC drivers +# +menuconfig FSL_SOC_DRIVERS + bool "Freescale Soc Drivers" + default n + help + Say y here to enable Freescale Soc Device Drivers support. + The Soc Drivers provides the device driver that is a specific + block or feature on Freescale platform. + +if FSL_SOC_DRIVERS + +if ARM +source "drivers/soc/fsl/Kconfig.arm" +endif + +endif diff --git a/drivers/soc/fsl/Kconfig.arm b/drivers/soc/fsl/Kconfig.arm new file mode 100644 index 0000000..8c90b82 --- /dev/null +++ b/drivers/soc/fsl/Kconfig.arm @@ -0,0 +1,16 @@ +# +# Freescale ARM SOC Drivers +# + +config LS1_SOC_DRIVERS + bool "LS1021A Soc Drivers" + depends on SOC_LS1021A + default n + help + Say y here to enable Freescale LS1021A Soc Device Drivers support. + The Soc Drivers provides the device driver that is a specific block + or feature on LS1021A platform. + +if LS1_SOC_DRIVERS + source "drivers/soc/fsl/ls1/Kconfig" +endif diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile new file mode 100644 index 0000000..b4215dd --- /dev/null +++ b/drivers/soc/fsl/Makefile @@ -0,0 +1,6 @@ +# +# Makefile for Freescale Soc specific device drivers. +# + +obj-$(CONFIG_LS1_SOC_DRIVERS) += ls1/ + diff --git a/drivers/soc/fsl/ls1/Kconfig b/drivers/soc/fsl/ls1/Kconfig new file mode 100644 index 0000000..7556f44 --- /dev/null +++ b/drivers/soc/fsl/ls1/Kconfig @@ -0,0 +1,3 @@ +# +# LS-1 Soc drivers +#