public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/5] arm: socfpga: implement proper peripheral reset handling
@ 2019-01-25 20:30 Simon Goldschmidt
  2019-01-25 20:30 ` [U-Boot] [PATCH 1/5] arm: socfpga: gen5: add reset handles to devicetrees Simon Goldschmidt
                   ` (4 more replies)
  0 siblings, 5 replies; 35+ messages in thread
From: Simon Goldschmidt @ 2019-01-25 20:30 UTC (permalink / raw)
  To: u-boot

This series implements peripheral reset handling for socfpga gen5.

It moves from enabling all peripherals during SPL startup to using the
socfpga reset driver from all peripherals and enabling peripherals when
they are used.

As Linux cannot even handle this in 4.20, a Kconfig option is added to
keep the old behaviour of just enabling all peripherals from SPL. This
option is default 'y' for now but should be moved to default 'n' in the
near future once a Linux kernel supports reset handling for all drivers.


Simon Goldschmidt (5):
  arm: socfpga: gen5: add reset handles to devicetrees
  arm: socfpga: move SDR reset handling to driver
  mtd: rawnand: denali: add reset handling
  spi: cadence_qspi: add reset handling
  arm: socfpga: implement proper peripheral reset

 arch/arm/dts/socfpga_arria5_socdk-u-boot.dtsi |  6 ++
 arch/arm/dts/socfpga_cyclone5_dbm_soc1.dts    |  5 ++
 .../socfpga_cyclone5_de0_nano_soc-u-boot.dtsi |  6 ++
 arch/arm/dts/socfpga_cyclone5_de10_nano.dts   |  5 ++
 arch/arm/dts/socfpga_cyclone5_de1_soc.dts     |  5 ++
 arch/arm/dts/socfpga_cyclone5_is1.dts         |  5 ++
 .../dts/socfpga_cyclone5_socdk-u-boot.dtsi    |  6 ++
 .../dts/socfpga_cyclone5_sockit-u-boot.dtsi   |  6 ++
 .../dts/socfpga_cyclone5_socrates-u-boot.dtsi | 10 +++
 arch/arm/dts/socfpga_cyclone5_sr1500.dts      |  5 ++
 .../socfpga_cyclone5_vining_fpga-u-boot.dtsi  |  6 ++
 arch/arm/dts/socfpga_u-boot.dtsi              | 61 +++++++++++++++++++
 arch/arm/mach-socfpga/Kconfig                 | 10 +++
 arch/arm/mach-socfpga/misc_gen5.c             |  2 +
 arch/arm/mach-socfpga/spl_gen5.c              | 11 +++-
 drivers/ddr/altera/sdram_gen5.c               |  4 ++
 drivers/mtd/nand/raw/denali_dt.c              |  8 +++
 drivers/spi/cadence_qspi.c                    |  9 +++
 18 files changed, 169 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/socfpga_u-boot.dtsi

-- 
2.17.1

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

end of thread, other threads:[~2019-01-29  9:52 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-25 20:30 [U-Boot] [PATCH 0/5] arm: socfpga: implement proper peripheral reset handling Simon Goldschmidt
2019-01-25 20:30 ` [U-Boot] [PATCH 1/5] arm: socfpga: gen5: add reset handles to devicetrees Simon Goldschmidt
2019-01-26  8:57   ` Marek Vasut
2019-01-27  8:45     ` Simon Goldschmidt
2019-01-28 10:54       ` Marek Vasut
2019-01-28 11:46         ` Simon Goldschmidt
2019-01-28 11:48           ` Marek Vasut
2019-01-25 20:30 ` [U-Boot] [PATCH 2/5] arm: socfpga: move SDR reset handling to driver Simon Goldschmidt
2019-01-26  8:58   ` Marek Vasut
2019-01-27  8:47     ` Simon Goldschmidt
2019-01-28 10:55       ` Marek Vasut
2019-01-28 11:49         ` Simon Goldschmidt
2019-01-28 11:58           ` Marek Vasut
2019-01-28 12:38             ` Simon Goldschmidt
2019-01-28 19:02               ` Marek Vasut
2019-01-28 19:17                 ` Simon Goldschmidt
2019-01-28 19:24                   ` Marek Vasut
2019-01-29  8:23                     ` Simon Goldschmidt
2019-01-29  9:52                       ` Marek Vasut
2019-01-25 20:30 ` [U-Boot] [PATCH 3/5] mtd: rawnand: denali: add reset handling Simon Goldschmidt
2019-01-26  8:58   ` Marek Vasut
2019-01-28  9:08   ` Miquel Raynal
2019-01-28  9:16     ` Simon Goldschmidt
2019-01-28  9:22       ` Miquel Raynal
2019-01-28  9:30         ` Simon Goldschmidt
2019-01-28  9:33           ` Miquel Raynal
2019-01-25 20:30 ` [U-Boot] [PATCH 4/5] spi: cadence_qspi: " Simon Goldschmidt
2019-01-26  8:59   ` Marek Vasut
2019-01-27  8:49     ` Simon Goldschmidt
2019-01-28 10:56       ` Marek Vasut
2019-01-25 20:30 ` [U-Boot] [PATCH 5/5] arm: socfpga: implement proper peripheral reset Simon Goldschmidt
2019-01-26  9:00   ` Marek Vasut
2019-01-27  8:56     ` Simon Goldschmidt
2019-01-28 10:58       ` Marek Vasut
2019-01-28 11:50         ` Simon Goldschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox