kernel: backport bcma patches queued for 3.20
[openwrt/svn-archive/archive.git] / target / linux / ipq806x / patches / 0083-soc-Introduce-drivers-soc-place-holder-for-SOC-speci.patch
1 From 2dac9498966c79a6abb09764419ffd42a44c78cf Mon Sep 17 00:00:00 2001
2 From: Santosh Shilimkar <santosh.shilimkar@ti.com>
3 Date: Wed, 23 Apr 2014 19:46:17 -0400
4 Subject: [PATCH 083/182] soc: Introduce drivers/soc place-holder for SOC
5 specific drivers
6
7 Based on earlier thread "https://lkml.org/lkml/2013/10/7/662" and
8 discussion at Kernel Summit'2013, it was agreed to create
9 'driver/soc' for drivers which are quite SOC specific.
10
11 Further discussion on the subject is in response to
12 the earlier version of the patch is here:
13 http://lwn.net/Articles/588942/
14
15 Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 Cc: Kumar Gala <galak@codeaurora.org>
17 Cc: Paul Walmsley <paul@pwsan.com>
18 Cc: Olof Johansson <olof@lixom.net>
19 Cc: Arnd Bergmann <arnd@arndb.de>
20 Signed-off-by: Sandeep Nair <sandeep_n@ti.com>
21 Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
22 Signed-off-by: Kumar Gala <galak@codeaurora.org>
23 ---
24 drivers/Kconfig | 2 ++
25 drivers/Makefile | 3 +++
26 drivers/soc/Kconfig | 3 +++
27 3 files changed, 8 insertions(+)
28 create mode 100644 drivers/soc/Kconfig
29
30 --- a/drivers/Kconfig
31 +++ b/drivers/Kconfig
32 @@ -132,6 +132,8 @@ source "drivers/staging/Kconfig"
33
34 source "drivers/platform/Kconfig"
35
36 +source "drivers/soc/Kconfig"
37 +
38 source "drivers/clk/Kconfig"
39
40 source "drivers/hwspinlock/Kconfig"
41 --- a/drivers/Makefile
42 +++ b/drivers/Makefile
43 @@ -33,6 +33,9 @@ obj-y += amba/
44 # really early.
45 obj-$(CONFIG_DMADEVICES) += dma/
46
47 +# SOC specific infrastructure drivers.
48 +obj-y += soc/
49 +
50 obj-$(CONFIG_VIRTIO) += virtio/
51 obj-$(CONFIG_XEN) += xen/
52
53 --- /dev/null
54 +++ b/drivers/soc/Kconfig
55 @@ -0,0 +1,3 @@
56 +menu "SOC (System On Chip) specific Drivers"
57 +
58 +endmenu