mbox series

[U-Boot,v2,0/3] drivers: Add reset ctrl to drivers

Message ID 1525430961-45527-1-git-send-email-ley.foon.tan@intel.com
Headers show
Series drivers: Add reset ctrl to drivers | expand

Message

Ley Foon Tan May 4, 2018, 10:49 a.m. UTC
Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial drivers.

A reset property is an optional feature, so only print out a warning and
do not fail if a reset property is not present.
    
If a reset property is discovered, then use it to deassert, thus bringing the
IP out of reset.

This is preparation to upstream Intel Stratix 10 SoC support in [1].

v2 change:
- remove 'return' in designware emac driver
- keep reset control in socfpga_dw_mmc.c because it didn't call to common dwmmc probe
  function when in SPL.
- add reviewed-by in ns16550 patch

History:
v1: https://patchwork.ozlabs.org/cover/905519/

[1]: https://patchwork.ozlabs.org/cover/900499/

Ley Foon Tan (3):
  mmc: dwmmc: socfpga: Add reset ctrl to driver
  serial: ns16550: Add reset ctrl to driver
  net: designware: Add reset ctrl to driver

 drivers/mmc/socfpga_dw_mmc.c |   19 +++++++++++++++++++
 drivers/net/designware.c     |   11 +++++++++++
 drivers/serial/ns16550.c     |   12 ++++++++++++
 3 files changed, 42 insertions(+), 0 deletions(-)

Comments

Dinh Nguyen May 7, 2018, 9:18 p.m. UTC | #1
On Fri, May 4, 2018 at 5:49 AM, Ley Foon Tan <ley.foon.tan@intel.com> wrote:
> Add reset ctrl to dwmmc socfpga, designware Ethernet and ns16550 serial drivers.
>
> A reset property is an optional feature, so only print out a warning and
> do not fail if a reset property is not present.
>
> If a reset property is discovered, then use it to deassert, thus bringing the
> IP out of reset.
>
> This is preparation to upstream Intel Stratix 10 SoC support in [1].
>
> v2 change:
> - remove 'return' in designware emac driver
> - keep reset control in socfpga_dw_mmc.c because it didn't call to common dwmmc probe
>   function when in SPL.
> - add reviewed-by in ns16550 patch
>
> History:
> v1: https://patchwork.ozlabs.org/cover/905519/
>
> [1]: https://patchwork.ozlabs.org/cover/900499/
>
> Ley Foon Tan (3):
>   mmc: dwmmc: socfpga: Add reset ctrl to driver
>   serial: ns16550: Add reset ctrl to driver
>   net: designware: Add reset ctrl to driver
>
>  drivers/mmc/socfpga_dw_mmc.c |   19 +++++++++++++++++++
>  drivers/net/designware.c     |   11 +++++++++++
>  drivers/serial/ns16550.c     |   12 ++++++++++++
>  3 files changed, 42 insertions(+), 0 deletions(-)

Please run get_maintainer.pl on V3. You're forgetting to include the
maintainers on these subsystems.

Dinh