Re: [PATCH v4 3/4] usb: ehci: Add new EHCI driver for Broadcom STB SoC's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 29, 2020 at 8:34 PM Al Cooper <alcooperx@xxxxxxxxx> wrote:
>
> Add a new EHCI driver for Broadcom STB SoC's. A new EHCI driver
> was created instead of adding support to the existing ehci platform
> driver because of the code required to workaround bugs in the EHCI
> controller.

...

> +/* Copyright (c) 2018, Broadcom */

2020?

...

> +       res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> +       hcd->regs = devm_ioremap_resource(dev, res_mem);

devm_platform_get_and_ioremap_resource() ?

> +       if (IS_ERR(hcd->regs)) {
> +               err = PTR_ERR(hcd->regs);
> +               goto err_clk;
> +       }
> +       hcd->rsrc_start = res_mem->start;
> +       hcd->rsrc_len = resource_size(res_mem);

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux