[U-Boot] [PATCH 0/6] reset: add reset driver for SoCFPGA

Marek Vasut marex at denx.de
Wed Apr 4 22:58:23 UTC 2018


On 04/05/2018 12:18 AM, Dinh Nguyen wrote:
> Hi,
> 
> This patchset does the following for the SoCFPGA platform:
> 
> - Adds a DM reset manager driver
> - Make the SoCFPGA platform use the DM I2C driver
> - Adds i2c aliases and enable i2c for de0_nano_soc platform
> - Adds a reset manager call to the i2c designware driver to look up
>   any reset properties in the i2c dts node, and deassert the reset the
>   IP if found.
> - Adds CONFIG_DM_RESET to all the SoCFPGA defconfigs
> 
> For this patchset, I'm only enabling the i2c in the DTS for the Terasic
> DE-0 Atlas board. I'll look to enable the other boards in the near future.
> 
> Dinh
> 
> Dinh Nguyen (6):
>   reset: socfpga: add reset driver for SoCFPGA platform
>   configs: socfpga: convert i2c to dm
>   arm: dts: socfpga: enables i2c0 in socfpga_de0_nano
>   arm: dts: socfpga: add reset property
>   i2c: designware: add reset ctrl to driver
>   configs: socfpga: add DM_RESET
> 
>  arch/arm/dts/socfpga.dtsi                      |  12 +++
>  arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts |  12 +++
>  configs/socfpga_arria5_defconfig               |   2 +
>  configs/socfpga_cyclone5_defconfig             |   2 +
>  configs/socfpga_dbm_soc1_defconfig             |   2 +
>  configs/socfpga_de0_nano_soc_defconfig         |   2 +
>  configs/socfpga_de10_nano_defconfig            |   2 +
>  configs/socfpga_de1_soc_defconfig              |   2 +
>  configs/socfpga_is1_defconfig                  |   2 +
>  configs/socfpga_mcvevk_defconfig               |   2 +
>  configs/socfpga_sockit_defconfig               |   2 +
>  configs/socfpga_socrates_defconfig             |   2 +
>  configs/socfpga_sr1500_defconfig               |   2 +
>  configs/socfpga_vining_fpga_defconfig          |   1 +
>  drivers/i2c/designware_i2c.c                   |  10 +++
>  drivers/reset/Kconfig                          |   7 ++
>  drivers/reset/Makefile                         |   1 +
>  drivers/reset/reset-socfpga.c                  | 105 +++++++++++++++++++++++++
>  include/configs/socfpga_common.h               |   2 +
>  19 files changed, 172 insertions(+)
>  create mode 100644 drivers/reset/reset-socfpga.c
> 
Series looks OK to me , except for that one minor nit in 1/6.
I'd like AB/RB from Heiko, otherwise I'll just pull it in.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list