2 * Freescale QUICC Engine USB Host Controller Driver
4 * Copyright (c) Freescale Semicondutor, Inc. 2006.
5 * Shlomi Gridish <gridish@freescale.com>
6 * Jerry Huang <Chang-Ming.Huang@freescale.com>
7 * Copyright (c) Logic Product Development, Inc. 2007
8 * Peter Barada <peterb@logicpd.com>
9 * Copyright (c) MontaVista Software, Inc. 2008.
10 * Anton Vorontsov <avorontsov@ru.mvista.com>
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version.
18 #include <linux/module.h>
19 #include <linux/types.h>
20 #include <linux/spinlock.h>
21 #include <linux/kernel.h>
22 #include <linux/delay.h>
23 #include <linux/errno.h>
24 #include <linux/list.h>
25 #include <linux/interrupt.h>
27 #include <linux/usb.h>
28 #include <linux/usb/hcd.h>
29 #include <linux/of_address.h>
30 #include <linux/of_irq.h>
31 #include <linux/of_platform.h>
32 #include <linux/of_gpio.h>
33 #include <linux/slab.h>
35 #include <asm/fsl_gtm.h>
38 void fhci_start_sof_timer(struct fhci_hcd
*fhci
)
40 fhci_dbg(fhci
, "-> %s\n", __func__
);
43 out_be16(&fhci
->pram
->frame_num
, 0);
45 out_be16(&fhci
->regs
->usb_ussft
, 0);
46 setbits8(&fhci
->regs
->usb_usmod
, USB_MODE_SFTE
);
48 fhci_dbg(fhci
, "<- %s\n", __func__
);
51 void fhci_stop_sof_timer(struct fhci_hcd
*fhci
)
53 fhci_dbg(fhci
, "-> %s\n", __func__
);
55 clrbits8(&fhci
->regs
->usb_usmod
, USB_MODE_SFTE
);
56 gtm_stop_timer16(fhci
->timer
);
58 fhci_dbg(fhci
, "<- %s\n", __func__
);
61 u16
fhci_get_sof_timer_count(struct fhci_usb
*usb
)
63 return be16_to_cpu(in_be16(&usb
->fhci
->regs
->usb_ussft
) / 12);
66 /* initialize the endpoint zero */
67 static u32
endpoint_zero_init(struct fhci_usb
*usb
,
68 enum fhci_mem_alloc data_mem
,
73 rc
= fhci_create_ep(usb
, data_mem
, ring_len
);
77 /* inilialize endpoint registers */
78 fhci_init_ep_registers(usb
, usb
->ep0
, data_mem
);
83 /* enable the USB interrupts */
84 void fhci_usb_enable_interrupt(struct fhci_usb
*usb
)
86 struct fhci_hcd
*fhci
= usb
->fhci
;
88 if (usb
->intr_nesting_cnt
== 1) {
89 /* initialize the USB interrupt */
90 enable_irq(fhci_to_hcd(fhci
)->irq
);
92 /* initialize the event register and mask register */
93 out_be16(&usb
->fhci
->regs
->usb_usber
, 0xffff);
94 out_be16(&usb
->fhci
->regs
->usb_usbmr
, usb
->saved_msk
);
96 /* enable the timer interrupts */
97 enable_irq(fhci
->timer
->irq
);
98 } else if (usb
->intr_nesting_cnt
> 1)
99 fhci_info(fhci
, "unbalanced USB interrupts nesting\n");
100 usb
->intr_nesting_cnt
--;
103 /* disable the usb interrupt */
104 void fhci_usb_disable_interrupt(struct fhci_usb
*usb
)
106 struct fhci_hcd
*fhci
= usb
->fhci
;
108 if (usb
->intr_nesting_cnt
== 0) {
109 /* disable the timer interrupt */
110 disable_irq_nosync(fhci
->timer
->irq
);
112 /* disable the usb interrupt */
113 disable_irq_nosync(fhci_to_hcd(fhci
)->irq
);
114 out_be16(&usb
->fhci
->regs
->usb_usbmr
, 0);
116 usb
->intr_nesting_cnt
++;
119 /* enable the USB controller */
120 static u32
fhci_usb_enable(struct fhci_hcd
*fhci
)
122 struct fhci_usb
*usb
= fhci
->usb_lld
;
124 out_be16(&usb
->fhci
->regs
->usb_usber
, 0xffff);
125 out_be16(&usb
->fhci
->regs
->usb_usbmr
, usb
->saved_msk
);
126 setbits8(&usb
->fhci
->regs
->usb_usmod
, USB_MODE_EN
);
133 /* disable the USB controller */
134 static u32
fhci_usb_disable(struct fhci_hcd
*fhci
)
136 struct fhci_usb
*usb
= fhci
->usb_lld
;
138 fhci_usb_disable_interrupt(usb
);
139 fhci_port_disable(fhci
);
141 /* disable the usb controller */
142 if (usb
->port_status
== FHCI_PORT_FULL
||
143 usb
->port_status
== FHCI_PORT_LOW
)
144 fhci_device_disconnected_interrupt(fhci
);
146 clrbits8(&usb
->fhci
->regs
->usb_usmod
, USB_MODE_EN
);
151 /* check the bus state by polling the QE bit on the IO ports */
152 int fhci_ioports_check_bus_state(struct fhci_hcd
*fhci
)
156 /* check USBOE,if transmitting,exit */
157 if (!gpio_get_value(fhci
->gpios
[GPIO_USBOE
]))
161 if (gpio_get_value(fhci
->gpios
[GPIO_USBRP
]))
165 if (gpio_get_value(fhci
->gpios
[GPIO_USBRN
]))
171 static void fhci_mem_free(struct fhci_hcd
*fhci
)
178 list_for_each_entry_safe(ed
, next_ed
, &fhci
->empty_eds
, node
) {
183 list_for_each_entry_safe(td
, next_td
, &fhci
->empty_tds
, node
) {
188 kfree(fhci
->vroot_hub
);
189 fhci
->vroot_hub
= NULL
;
191 kfree(fhci
->hc_list
);
192 fhci
->hc_list
= NULL
;
195 static int fhci_mem_init(struct fhci_hcd
*fhci
)
199 fhci
->hc_list
= kzalloc(sizeof(*fhci
->hc_list
), GFP_KERNEL
);
203 INIT_LIST_HEAD(&fhci
->hc_list
->ctrl_list
);
204 INIT_LIST_HEAD(&fhci
->hc_list
->bulk_list
);
205 INIT_LIST_HEAD(&fhci
->hc_list
->iso_list
);
206 INIT_LIST_HEAD(&fhci
->hc_list
->intr_list
);
207 INIT_LIST_HEAD(&fhci
->hc_list
->done_list
);
209 fhci
->vroot_hub
= kzalloc(sizeof(*fhci
->vroot_hub
), GFP_KERNEL
);
210 if (!fhci
->vroot_hub
)
213 INIT_LIST_HEAD(&fhci
->empty_eds
);
214 INIT_LIST_HEAD(&fhci
->empty_tds
);
216 /* initialize work queue to handle done list */
217 fhci_tasklet
.data
= (unsigned long)fhci
;
218 fhci
->process_done_task
= &fhci_tasklet
;
220 for (i
= 0; i
< MAX_TDS
; i
++) {
223 td
= kmalloc(sizeof(*td
), GFP_KERNEL
);
226 fhci_recycle_empty_td(fhci
, td
);
228 for (i
= 0; i
< MAX_EDS
; i
++) {
231 ed
= kmalloc(sizeof(*ed
), GFP_KERNEL
);
234 fhci_recycle_empty_ed(fhci
, ed
);
237 fhci
->active_urbs
= 0;
244 /* destroy the fhci_usb structure */
245 static void fhci_usb_free(void *lld
)
247 struct fhci_usb
*usb
= lld
;
248 struct fhci_hcd
*fhci
;
252 fhci_config_transceiver(fhci
, FHCI_PORT_POWER_OFF
);
254 kfree(usb
->actual_frame
);
259 /* initialize the USB */
260 static int fhci_usb_init(struct fhci_hcd
*fhci
)
262 struct fhci_usb
*usb
= fhci
->usb_lld
;
264 memset_io(usb
->fhci
->pram
, 0, FHCI_PRAM_SIZE
);
266 usb
->port_status
= FHCI_PORT_DISABLED
;
267 usb
->max_frame_usage
= FRAME_TIME_USAGE
;
268 usb
->sw_transaction_time
= SW_FIX_TIME_BETWEEN_TRANSACTION
;
270 usb
->actual_frame
= kzalloc(sizeof(*usb
->actual_frame
), GFP_KERNEL
);
271 if (!usb
->actual_frame
) {
276 INIT_LIST_HEAD(&usb
->actual_frame
->tds_list
);
278 /* initializing registers on chip, clear frame number */
279 out_be16(&fhci
->pram
->frame_num
, 0);
282 out_be32(&fhci
->pram
->rx_state
, 0);
284 /* set mask register */
285 usb
->saved_msk
= (USB_E_TXB_MASK
|
288 USB_E_RESET_MASK
| USB_E_SFT_MASK
| USB_E_MSF_MASK
);
290 out_8(&usb
->fhci
->regs
->usb_usmod
, USB_MODE_HOST
| USB_MODE_EN
);
292 /* clearing the mask register */
293 out_be16(&usb
->fhci
->regs
->usb_usbmr
, 0);
295 /* initialing the event register */
296 out_be16(&usb
->fhci
->regs
->usb_usber
, 0xffff);
298 if (endpoint_zero_init(usb
, DEFAULT_DATA_MEM
, DEFAULT_RING_LEN
) != 0) {
306 /* initialize the fhci_usb struct and the corresponding data staruct */
307 static struct fhci_usb
*fhci_create_lld(struct fhci_hcd
*fhci
)
309 struct fhci_usb
*usb
;
311 /* allocate memory for SCC data structure */
312 usb
= kzalloc(sizeof(*usb
), GFP_KERNEL
);
314 fhci_err(fhci
, "no memory for SCC data struct\n");
319 usb
->hc_list
= fhci
->hc_list
;
320 usb
->vroot_hub
= fhci
->vroot_hub
;
322 usb
->transfer_confirm
= fhci_transfer_confirm_callback
;
327 static int fhci_start(struct usb_hcd
*hcd
)
330 struct fhci_hcd
*fhci
= hcd_to_fhci(hcd
);
332 ret
= fhci_mem_init(fhci
);
334 fhci_err(fhci
, "failed to allocate memory\n");
338 fhci
->usb_lld
= fhci_create_lld(fhci
);
339 if (!fhci
->usb_lld
) {
340 fhci_err(fhci
, "low level driver config failed\n");
345 ret
= fhci_usb_init(fhci
);
347 fhci_err(fhci
, "low level driver initialize failed\n");
351 spin_lock_init(&fhci
->lock
);
353 /* connect the virtual root hub */
354 fhci
->vroot_hub
->dev_num
= 1; /* this field may be needed to fix */
355 fhci
->vroot_hub
->hub
.wHubStatus
= 0;
356 fhci
->vroot_hub
->hub
.wHubChange
= 0;
357 fhci
->vroot_hub
->port
.wPortStatus
= 0;
358 fhci
->vroot_hub
->port
.wPortChange
= 0;
360 hcd
->state
= HC_STATE_RUNNING
;
363 * From here on, hub_wq concurrently accesses the root
364 * hub; drivers will be talking to enumerated devices.
365 * (On restart paths, hub_wq already knows about the root
366 * hub and could find work as soon as we wrote FLAG_CF.)
368 * Before this point the HC was idle/ready. After, hub_wq
369 * and device drivers may start it running.
371 fhci_usb_enable(fhci
);
378 static void fhci_stop(struct usb_hcd
*hcd
)
380 struct fhci_hcd
*fhci
= hcd_to_fhci(hcd
);
382 fhci_usb_disable_interrupt(fhci
->usb_lld
);
383 fhci_usb_disable(fhci
);
385 fhci_usb_free(fhci
->usb_lld
);
386 fhci
->usb_lld
= NULL
;
390 static int fhci_urb_enqueue(struct usb_hcd
*hcd
, struct urb
*urb
,
393 struct fhci_hcd
*fhci
= hcd_to_fhci(hcd
);
394 u32 pipe
= urb
->pipe
;
398 struct urb_priv
*urb_priv
;
401 switch (usb_pipetype(pipe
)) {
403 /* 1 td fro setup,1 for ack */
406 /* one td for every 4096 bytes(can be up to 8k) */
407 size
+= urb
->transfer_buffer_length
/ 4096;
408 /* ...add for any remaining bytes... */
409 if ((urb
->transfer_buffer_length
% 4096) != 0)
411 /* ..and maybe a zero length packet to wrap it up */
414 else if ((urb
->transfer_flags
& URB_ZERO_PACKET
) != 0
415 && (urb
->transfer_buffer_length
416 % usb_maxpacket(urb
->dev
, pipe
,
417 usb_pipeout(pipe
))) != 0)
420 case PIPE_ISOCHRONOUS
:
421 size
= urb
->number_of_packets
;
424 for (i
= 0; i
< urb
->number_of_packets
; i
++) {
425 urb
->iso_frame_desc
[i
].actual_length
= 0;
426 urb
->iso_frame_desc
[i
].status
= (u32
) (-EXDEV
);
433 /* allocate the private part of the URB */
434 urb_priv
= kzalloc(sizeof(*urb_priv
), mem_flags
);
438 /* allocate the private part of the URB */
439 urb_priv
->tds
= kcalloc(size
, sizeof(*urb_priv
->tds
), mem_flags
);
440 if (!urb_priv
->tds
) {
445 spin_lock_irqsave(&fhci
->lock
, flags
);
447 ret
= usb_hcd_link_urb_to_ep(hcd
, urb
);
451 /* fill the private part of the URB */
452 urb_priv
->num_of_tds
= size
;
454 urb
->status
= -EINPROGRESS
;
455 urb
->actual_length
= 0;
456 urb
->error_count
= 0;
457 urb
->hcpriv
= urb_priv
;
459 fhci_queue_urb(fhci
, urb
);
462 kfree(urb_priv
->tds
);
465 spin_unlock_irqrestore(&fhci
->lock
, flags
);
469 /* dequeue FHCI URB */
470 static int fhci_urb_dequeue(struct usb_hcd
*hcd
, struct urb
*urb
, int status
)
472 struct fhci_hcd
*fhci
= hcd_to_fhci(hcd
);
473 struct fhci_usb
*usb
= fhci
->usb_lld
;
477 if (!urb
|| !urb
->dev
|| !urb
->dev
->bus
)
480 spin_lock_irqsave(&fhci
->lock
, flags
);
482 ret
= usb_hcd_check_unlink_urb(hcd
, urb
, status
);
486 if (usb
->port_status
!= FHCI_PORT_DISABLED
) {
487 struct urb_priv
*urb_priv
;
490 * flag the urb's data for deletion in some upcoming
491 * SF interrupt's delete list processing
493 urb_priv
= urb
->hcpriv
;
495 if (!urb_priv
|| (urb_priv
->state
== URB_DEL
))
498 urb_priv
->state
= URB_DEL
;
500 /* already pending? */
501 urb_priv
->ed
->state
= FHCI_ED_URB_DEL
;
503 fhci_urb_complete_free(fhci
, urb
);
507 spin_unlock_irqrestore(&fhci
->lock
, flags
);
512 static void fhci_endpoint_disable(struct usb_hcd
*hcd
,
513 struct usb_host_endpoint
*ep
)
515 struct fhci_hcd
*fhci
;
519 fhci
= hcd_to_fhci(hcd
);
520 spin_lock_irqsave(&fhci
->lock
, flags
);
523 while (ed
->td_head
!= NULL
) {
524 struct td
*td
= fhci_remove_td_from_ed(ed
);
525 fhci_urb_complete_free(fhci
, td
->urb
);
527 fhci_recycle_empty_ed(fhci
, ed
);
530 spin_unlock_irqrestore(&fhci
->lock
, flags
);
533 static int fhci_get_frame_number(struct usb_hcd
*hcd
)
535 struct fhci_hcd
*fhci
= hcd_to_fhci(hcd
);
537 return get_frame_num(fhci
);
540 static const struct hc_driver fhci_driver
= {
541 .description
= "fsl,usb-fhci",
542 .product_desc
= "FHCI HOST Controller",
543 .hcd_priv_size
= sizeof(struct fhci_hcd
),
545 /* generic hardware linkage */
547 .flags
= HCD_USB11
| HCD_MEMORY
,
549 /* basic lifecycle operation */
553 /* managing i/o requests and associated device resources */
554 .urb_enqueue
= fhci_urb_enqueue
,
555 .urb_dequeue
= fhci_urb_dequeue
,
556 .endpoint_disable
= fhci_endpoint_disable
,
558 /* scheduling support */
559 .get_frame_number
= fhci_get_frame_number
,
561 /* root hub support */
562 .hub_status_data
= fhci_hub_status_data
,
563 .hub_control
= fhci_hub_control
,
566 static int of_fhci_probe(struct platform_device
*ofdev
)
568 struct device
*dev
= &ofdev
->dev
;
569 struct device_node
*node
= dev
->of_node
;
571 struct fhci_hcd
*fhci
;
572 struct resource usb_regs
;
573 unsigned long pram_addr
;
574 unsigned int usb_irq
;
585 sprop
= of_get_property(node
, "mode", NULL
);
586 if (sprop
&& strcmp(sprop
, "host"))
589 hcd
= usb_create_hcd(&fhci_driver
, dev
, dev_name(dev
));
591 dev_err(dev
, "could not create hcd\n");
595 fhci
= hcd_to_fhci(hcd
);
596 hcd
->self
.controller
= dev
;
597 dev_set_drvdata(dev
, hcd
);
599 iprop
= of_get_property(node
, "hub-power-budget", &size
);
600 if (iprop
&& size
== sizeof(*iprop
))
601 hcd
->power_budget
= *iprop
;
603 /* FHCI registers. */
604 ret
= of_address_to_resource(node
, 0, &usb_regs
);
606 dev_err(dev
, "could not get regs\n");
610 hcd
->regs
= ioremap(usb_regs
.start
, resource_size(&usb_regs
));
612 dev_err(dev
, "could not ioremap regs\n");
616 fhci
->regs
= hcd
->regs
;
619 iprop
= of_get_property(node
, "reg", &size
);
620 if (!iprop
|| size
< sizeof(*iprop
) * 4) {
621 dev_err(dev
, "can't get pram offset\n");
626 pram_addr
= cpm_muram_alloc(FHCI_PRAM_SIZE
, 64);
627 if (IS_ERR_VALUE(pram_addr
)) {
628 dev_err(dev
, "failed to allocate usb pram\n");
633 qe_issue_cmd(QE_ASSIGN_PAGE_TO_DEVICE
, QE_CR_SUBBLOCK_USB
,
634 QE_CR_PROTOCOL_UNSPECIFIED
, pram_addr
);
635 fhci
->pram
= cpm_muram_addr(pram_addr
);
638 for (i
= 0; i
< NUM_GPIOS
; i
++) {
640 enum of_gpio_flags flags
;
642 gpio
= of_get_gpio_flags(node
, i
, &flags
);
643 fhci
->gpios
[i
] = gpio
;
644 fhci
->alow_gpios
[i
] = flags
& OF_GPIO_ACTIVE_LOW
;
646 if (!gpio_is_valid(gpio
)) {
647 if (i
< GPIO_SPEED
) {
648 dev_err(dev
, "incorrect GPIO%d: %d\n",
652 dev_info(dev
, "assuming board doesn't have "
653 "%s gpio\n", i
== GPIO_SPEED
?
659 ret
= gpio_request(gpio
, dev_name(dev
));
661 dev_err(dev
, "failed to request gpio %d", i
);
665 if (i
>= GPIO_SPEED
) {
666 ret
= gpio_direction_output(gpio
, 0);
668 dev_err(dev
, "failed to set gpio %d as "
676 for (j
= 0; j
< NUM_PINS
; j
++) {
677 fhci
->pins
[j
] = qe_pin_request(node
, j
);
678 if (IS_ERR(fhci
->pins
[j
])) {
679 ret
= PTR_ERR(fhci
->pins
[j
]);
680 dev_err(dev
, "can't get pin %d: %d\n", j
, ret
);
685 /* Frame limit timer and its interrupt. */
686 fhci
->timer
= gtm_get_timer16();
687 if (IS_ERR(fhci
->timer
)) {
688 ret
= PTR_ERR(fhci
->timer
);
689 dev_err(dev
, "failed to request qe timer: %i", ret
);
693 ret
= request_irq(fhci
->timer
->irq
, fhci_frame_limit_timer_irq
,
694 0, "qe timer (usb)", hcd
);
696 dev_err(dev
, "failed to request timer irq");
700 /* USB Host interrupt. */
701 usb_irq
= irq_of_parse_and_map(node
, 0);
702 if (usb_irq
== NO_IRQ
) {
703 dev_err(dev
, "could not get usb irq\n");
709 sprop
= of_get_property(node
, "fsl,fullspeed-clock", NULL
);
711 fhci
->fullspeed_clk
= qe_clock_source(sprop
);
712 if (fhci
->fullspeed_clk
== QE_CLK_DUMMY
) {
713 dev_err(dev
, "wrong fullspeed-clock\n");
719 sprop
= of_get_property(node
, "fsl,lowspeed-clock", NULL
);
721 fhci
->lowspeed_clk
= qe_clock_source(sprop
);
722 if (fhci
->lowspeed_clk
== QE_CLK_DUMMY
) {
723 dev_err(dev
, "wrong lowspeed-clock\n");
729 if (fhci
->fullspeed_clk
== QE_CLK_NONE
&&
730 fhci
->lowspeed_clk
== QE_CLK_NONE
) {
731 dev_err(dev
, "no clocks specified\n");
736 dev_info(dev
, "at 0x%p, irq %d\n", hcd
->regs
, usb_irq
);
738 fhci_config_transceiver(fhci
, FHCI_PORT_POWER_OFF
);
740 /* Start with full-speed, if possible. */
741 if (fhci
->fullspeed_clk
!= QE_CLK_NONE
) {
742 fhci_config_transceiver(fhci
, FHCI_PORT_FULL
);
743 qe_usb_clock_set(fhci
->fullspeed_clk
, USB_CLOCK
);
745 fhci_config_transceiver(fhci
, FHCI_PORT_LOW
);
746 qe_usb_clock_set(fhci
->lowspeed_clk
, USB_CLOCK
>> 3);
749 /* Clear and disable any pending interrupts. */
750 out_be16(&fhci
->regs
->usb_usber
, 0xffff);
751 out_be16(&fhci
->regs
->usb_usbmr
, 0);
753 ret
= usb_add_hcd(hcd
, usb_irq
, 0);
757 device_wakeup_enable(hcd
->self
.controller
);
759 fhci_dfs_create(fhci
);
765 irq_dispose_mapping(usb_irq
);
767 free_irq(fhci
->timer
->irq
, hcd
);
769 gtm_put_timer16(fhci
->timer
);
773 qe_pin_free(fhci
->pins
[j
]);
776 if (gpio_is_valid(fhci
->gpios
[i
]))
777 gpio_free(fhci
->gpios
[i
]);
779 cpm_muram_free(pram_addr
);
787 static int fhci_remove(struct device
*dev
)
789 struct usb_hcd
*hcd
= dev_get_drvdata(dev
);
790 struct fhci_hcd
*fhci
= hcd_to_fhci(hcd
);
795 free_irq(fhci
->timer
->irq
, hcd
);
796 gtm_put_timer16(fhci
->timer
);
797 cpm_muram_free(cpm_muram_offset(fhci
->pram
));
798 for (i
= 0; i
< NUM_GPIOS
; i
++) {
799 if (!gpio_is_valid(fhci
->gpios
[i
]))
801 gpio_free(fhci
->gpios
[i
]);
803 for (j
= 0; j
< NUM_PINS
; j
++)
804 qe_pin_free(fhci
->pins
[j
]);
805 fhci_dfs_destroy(fhci
);
810 static int of_fhci_remove(struct platform_device
*ofdev
)
812 return fhci_remove(&ofdev
->dev
);
815 static const struct of_device_id of_fhci_match
[] = {
816 { .compatible
= "fsl,mpc8323-qe-usb", },
819 MODULE_DEVICE_TABLE(of
, of_fhci_match
);
821 static struct platform_driver of_fhci_driver
= {
823 .name
= "fsl,usb-fhci",
824 .of_match_table
= of_fhci_match
,
826 .probe
= of_fhci_probe
,
827 .remove
= of_fhci_remove
,
830 module_platform_driver(of_fhci_driver
);
832 MODULE_DESCRIPTION("USB Freescale Host Controller Interface Driver");
833 MODULE_AUTHOR("Shlomi Gridish <gridish@freescale.com>, "
834 "Jerry Huang <Chang-Ming.Huang@freescale.com>, "
835 "Anton Vorontsov <avorontsov@ru.mvista.com>");
836 MODULE_LICENSE("GPL");