add .32 patches
[oweals/openwrt.git] / target / linux / ifxmips / patches-2.6.32 / 110-drivers.patch
1 --- a/drivers/serial/Kconfig
2 +++ b/drivers/serial/Kconfig
3 @@ -1383,6 +1383,14 @@ config SERIAL_OF_PLATFORM_NWPSERIAL_CONS
4         help
5           Support for Console on the NWP serial ports.
6  
7 +config SERIAL_IFXMIPS
8 +       bool "IFXMips serial driver"
9 +       depends on IFXMIPS
10 +       select SERIAL_CORE
11 +       select SERIAL_CORE_CONSOLE
12 +       help
13 +         Driver for the ifxmipss built in ASC hardware
14 +
15  config SERIAL_QE
16         tristate "Freescale QUICC Engine serial port support"
17         depends on QUICC_ENGINE
18 --- a/drivers/serial/Makefile
19 +++ b/drivers/serial/Makefile
20 @@ -81,3 +81,4 @@ obj-$(CONFIG_SERIAL_KS8695) += serial_ks
21  obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
22  obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
23  obj-$(CONFIG_SERIAL_TIMBERDALE)        += timbuart.o
24 +obj-$(CONFIG_SERIAL_IFXMIPS) += ifxmips.o
25 --- a/drivers/net/Kconfig
26 +++ b/drivers/net/Kconfig
27 @@ -343,6 +343,12 @@ config MACB
28  
29  source "drivers/net/arm/Kconfig"
30  
31 +config IFXMIPS_MII0
32 +       tristate "Infineon IFXMips eth0 driver"
33 +       depends on IFXMIPS
34 +       help
35 +         Support for the MII0 inside the IFXMips SOC
36 +
37  config AX88796
38         tristate "ASIX AX88796 NE2000 clone support"
39         depends on ARM || MIPS || SUPERH
40 --- a/drivers/net/Makefile
41 +++ b/drivers/net/Makefile
42 @@ -247,6 +247,7 @@ pasemi_mac_driver-objs := pasemi_mac.o p
43  obj-$(CONFIG_MLX4_CORE) += mlx4/
44  obj-$(CONFIG_ENC28J60) += enc28j60.o
45  obj-$(CONFIG_ETHOC) += ethoc.o
46 +obj-$(CONFIG_IFXMIPS_MII0) += ifxmips.o
47  
48  obj-$(CONFIG_XTENSA_XT2000_SONIC) += xtsonic.o
49  
50 --- a/drivers/mtd/maps/Kconfig
51 +++ b/drivers/mtd/maps/Kconfig
52 @@ -259,6 +259,12 @@ config MTD_ALCHEMY
53         help
54           Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
55  
56 +config MTD_IFXMIPS
57 +       tristate "IFXMIPS MTD support"
58 +       depends on IFXMIPS
59 +       help
60 +         Flash memory access on AMD Alchemy Pb/Db/RDK Reference Boards
61 +
62  config MTD_DILNETPC
63         tristate "CFI Flash device mapped on DIL/Net PC"
64         depends on X86 && MTD_CONCAT && MTD_PARTITIONS && MTD_CFI_INTELEXT && BROKEN
65 --- a/drivers/mtd/maps/Makefile
66 +++ b/drivers/mtd/maps/Makefile
67 @@ -61,3 +61,4 @@ obj-$(CONFIG_MTD_BFIN_ASYNC)  += bfin-asy
68  obj-$(CONFIG_MTD_RBTX4939)     += rbtx4939-flash.o
69  obj-$(CONFIG_MTD_VMU)          += vmu-flash.o
70  obj-$(CONFIG_MTD_GPIO_ADDR)    += gpio-addr-flash.o
71 +obj-$(CONFIG_MTD_IFXMIPS)  += ifxmips.o
72 --- a/drivers/watchdog/Kconfig
73 +++ b/drivers/watchdog/Kconfig
74 @@ -850,6 +850,12 @@ config TXX9_WDT
75         help
76           Hardware driver for the built-in watchdog timer on TXx9 MIPS SoCs.
77  
78 +config IFXMIPS_WDT
79 +       bool "IFXMips watchdog"
80 +       depends on IFXMIPS
81 +       help
82 +         Hardware driver for the IFXMIPS Watchdog Timer.
83 +
84  # PARISC Architecture
85  
86  # POWERPC Architecture
87 --- a/drivers/watchdog/Makefile
88 +++ b/drivers/watchdog/Makefile
89 @@ -113,6 +113,7 @@ obj-$(CONFIG_WDT_RM9K_GPI) += rm9k_wdt.o
90  obj-$(CONFIG_SIBYTE_WDOG) += sb_wdog.o
91  obj-$(CONFIG_AR7_WDT) += ar7_wdt.o
92  obj-$(CONFIG_TXX9_WDT) += txx9wdt.o
93 +obj-$(CONFIG_IFXMIPS_WDT) += ifxmips.o
94  
95  # PARISC Architecture
96  
97 --- a/drivers/leds/Kconfig
98 +++ b/drivers/leds/Kconfig
99 @@ -236,6 +236,12 @@ config LEDS_BD2802
100           This option enables support for BD2802GU RGB LED driver chips
101           accessed via the I2C bus.
102  
103 +config LEDS_IFXMIPS
104 +       tristate "LED Support for IFXMIPS  LEDs"
105 +       depends on LEDS_CLASS && IFXMIPS
106 +       help
107 +         This option enables support for the CM-X270 LEDs.
108 +
109  comment "LED Triggers"
110  
111  config LEDS_TRIGGERS
112 --- a/drivers/leds/Makefile
113 +++ b/drivers/leds/Makefile
114 @@ -29,6 +29,7 @@ obj-$(CONFIG_LEDS_DA903X)             += leds-da903
115  obj-$(CONFIG_LEDS_WM831X_STATUS)       += leds-wm831x-status.o
116  obj-$(CONFIG_LEDS_WM8350)              += leds-wm8350.o
117  obj-$(CONFIG_LEDS_PWM)                 += leds-pwm.o
118 +obj-$(CONFIG_LEDS_IFXMIPS)             += leds-ifxmips.o
119  
120  # LED SPI Drivers
121  obj-$(CONFIG_LEDS_DAC124S085)          += leds-dac124s085.o