All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/6] reset: add reset driver for SoCFPGA
@ 2018-04-04 22:18 Dinh Nguyen
  2018-04-04 22:18 ` [U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform Dinh Nguyen
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Dinh Nguyen @ 2018-04-04 22:18 UTC (permalink / raw)
  To: u-boot

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

-- 
2.7.4

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-04-05 18:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-04 22:18 [U-Boot] [PATCH 0/6] reset: add reset driver for SoCFPGA Dinh Nguyen
2018-04-04 22:18 ` [U-Boot] [PATCHv2 1/6] reset: socfpga: add reset driver for SoCFPGA platform Dinh Nguyen
2018-04-04 22:56   ` Marek Vasut
2018-04-05 14:12     ` Dinh Nguyen
2018-04-05 14:46       ` Dinh Nguyen
2018-04-05 16:28         ` Marek Vasut
2018-04-05 18:44           ` Dinh Nguyen
2018-04-04 22:18 ` [U-Boot] [PATCH 2/6] configs: socfpga: convert i2c to dm Dinh Nguyen
2018-04-04 22:18 ` [U-Boot] [PATCH 3/6] arm: dts: socfpga: enables i2c0 in socfpga_de0_nano Dinh Nguyen
2018-04-04 22:18 ` [U-Boot] [PATCH 4/6] arm: dts: socfpga: add reset property Dinh Nguyen
2018-04-04 22:18 ` [U-Boot] [PATCH 5/6] i2c: designware: add reset ctrl to driver Dinh Nguyen
2018-04-05  6:07   ` Heiko Schocher
2018-04-04 22:18 ` [U-Boot] [PATCH 6/6] configs: socfpga: add DM_RESET Dinh Nguyen
2018-04-04 22:58 ` [U-Boot] [PATCH 0/6] reset: add reset driver for SoCFPGA Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.