All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/11] SiFive FU540 Support
@ 2019-01-18 11:18 Anup Patel
  2019-01-18 11:18 ` [U-Boot] [PATCH v2 01/11] riscv: Rename cpu/qemu to cpu/generic Anup Patel
                   ` (11 more replies)
  0 siblings, 12 replies; 85+ messages in thread
From: Anup Patel @ 2019-01-18 11:18 UTC (permalink / raw)
  To: u-boot

This patchset adds SiFive Freedom Unleashed (FU540) support
to RISC-V U-Boot.

The patches are based upon latest RISC-V U-Boot tree
(git://git.denx.de/u-boot-riscv.git) at commit id
91882c472d8c0aef4db699d3f2de55bf43d4ae4b

All drivers namely: SiFive PRCI, SiFive Serial, and Cadance
MACB Ethernet work fine on actual SiFive Unleashed board and
QEMU sifive_u machine.

Changes since v1:
 - Re-ordered SoB in patches with multiple SoB
 - Simplified board_get_usable_ram_top() added by PATCH3

Anup Patel (7):
  riscv: Rename cpu/qemu to cpu/generic
  riscv: Add asm/dma-mapping.h for DMA mappings
  riscv: generic: Ensure that U-Boot runs within 4GB for 64bit systems
  net: macb: Fix clk API usage for RISC-V systems
  clk: Add SiFive FU540 PRCI clock driver
  clk: Add fixed-factor clock driver
  riscv: Add SiFive FU540 board support

Atish Patra (4):
  net: macb: Fix GEM hardware detection
  drivers: serial_sifive: Fix baud rate calculation
  drivers: serial_sifive: Skip baudrate config if no input clock
  cpu: Bind timer driver for boot hart

 arch/riscv/Kconfig                            |   6 +-
 arch/riscv/cpu/{qemu => generic}/Kconfig      |   2 +-
 arch/riscv/cpu/{qemu => generic}/Makefile     |   0
 arch/riscv/cpu/{qemu => generic}/cpu.c        |   0
 arch/riscv/cpu/generic/dram.c                 |  37 ++
 arch/riscv/cpu/qemu/dram.c                    |  17 -
 arch/riscv/include/asm/dma-mapping.h          |  38 ++
 board/emulation/qemu-riscv/Kconfig            |   4 +-
 .../qemu-riscv => sifive/fu540}/Kconfig       |  36 +-
 board/sifive/fu540/MAINTAINERS                |   9 +
 board/sifive/fu540/Makefile                   |   5 +
 board/sifive/fu540/fu540.c                    |  17 +
 configs/sifive_fu540_defconfig                |  11 +
 drivers/clk/Kconfig                           |   1 +
 drivers/clk/Makefile                          |   5 +-
 drivers/clk/clk_fixed_factor.c                |  74 +++
 drivers/clk/sifive/Kconfig                    |  19 +
 drivers/clk/sifive/Makefile                   |   5 +
 .../clk/sifive/analogbits-wrpll-cln28hpc.h    | 101 +++
 drivers/clk/sifive/fu540-prci.c               | 604 ++++++++++++++++++
 drivers/clk/sifive/wrpll-cln28hpc.c           | 390 +++++++++++
 drivers/cpu/riscv_cpu.c                       |   7 +-
 drivers/net/macb.c                            |   6 +-
 drivers/serial/serial_sifive.c                |  60 +-
 include/configs/sifive-fu540.h                |  43 ++
 include/dt-bindings/clk/sifive-fu540-prci.h   |  29 +
 26 files changed, 1465 insertions(+), 61 deletions(-)
 rename arch/riscv/cpu/{qemu => generic}/Kconfig (91%)
 rename arch/riscv/cpu/{qemu => generic}/Makefile (100%)
 rename arch/riscv/cpu/{qemu => generic}/cpu.c (100%)
 create mode 100644 arch/riscv/cpu/generic/dram.c
 delete mode 100644 arch/riscv/cpu/qemu/dram.c
 create mode 100644 arch/riscv/include/asm/dma-mapping.h
 copy board/{emulation/qemu-riscv => sifive/fu540}/Kconfig (57%)
 create mode 100644 board/sifive/fu540/MAINTAINERS
 create mode 100644 board/sifive/fu540/Makefile
 create mode 100644 board/sifive/fu540/fu540.c
 create mode 100644 configs/sifive_fu540_defconfig
 create mode 100644 drivers/clk/clk_fixed_factor.c
 create mode 100644 drivers/clk/sifive/Kconfig
 create mode 100644 drivers/clk/sifive/Makefile
 create mode 100644 drivers/clk/sifive/analogbits-wrpll-cln28hpc.h
 create mode 100644 drivers/clk/sifive/fu540-prci.c
 create mode 100644 drivers/clk/sifive/wrpll-cln28hpc.c
 create mode 100644 include/configs/sifive-fu540.h
 create mode 100644 include/dt-bindings/clk/sifive-fu540-prci.h

-- 
2.17.1

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

end of thread, other threads:[~2019-02-10 18:02 UTC | newest]

Thread overview: 85+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-18 11:18 [U-Boot] [PATCH v2 00/11] SiFive FU540 Support Anup Patel
2019-01-18 11:18 ` [U-Boot] [PATCH v2 01/11] riscv: Rename cpu/qemu to cpu/generic Anup Patel
2019-01-20 19:57   ` Auer, Lukas
2019-01-22  2:06   ` Bin Meng
2019-01-18 11:18 ` [U-Boot] [PATCH v2 02/11] riscv: Add asm/dma-mapping.h for DMA mappings Anup Patel
2019-01-20 19:57   ` Auer, Lukas
2019-01-18 11:18 ` [U-Boot] [PATCH v2 03/11] riscv: generic: Ensure that U-Boot runs within 4GB for 64bit systems Anup Patel
2019-01-20 20:04   ` Auer, Lukas
2019-01-21  5:49     ` Anup Patel
2019-01-22  2:06   ` Bin Meng
2019-01-22 12:48     ` Anup Patel
2019-01-18 11:19 ` [U-Boot] [PATCH v2 04/11] net: macb: Fix clk API usage for RISC-V systems Anup Patel
2019-01-18 11:19 ` [U-Boot] [PATCH v2 05/11] net: macb: Fix GEM hardware detection Anup Patel
2019-01-18 11:51   ` Alexander Graf
2019-01-18 13:03     ` Anup Patel
2019-01-18 13:11       ` Alexander Graf
2019-01-18 13:25         ` Anup Patel
2019-01-20 20:05   ` Auer, Lukas
2019-01-18 11:19 ` [U-Boot] [PATCH v2 06/11] clk: Add SiFive FU540 PRCI clock driver Anup Patel
2019-01-20 20:12   ` Auer, Lukas
2019-01-21  5:55     ` Anup Patel
2019-01-21 12:09       ` Auer, Lukas
2019-01-18 11:19 ` [U-Boot] [PATCH v2 07/11] clk: Add fixed-factor " Anup Patel
2019-01-31 10:04   ` Simon Glass
2019-02-05 12:53     ` Anup Patel
2019-01-18 11:19 ` [U-Boot] [PATCH v2 08/11] drivers: serial_sifive: Fix baud rate calculation Anup Patel
2019-01-18 11:52   ` Alexander Graf
2019-01-18 13:04     ` Anup Patel
2019-01-20 20:13   ` Auer, Lukas
2019-01-18 11:19 ` [U-Boot] [PATCH v2 09/11] drivers: serial_sifive: Skip baudrate config if no input clock Anup Patel
2019-01-20 20:22   ` Auer, Lukas
2019-01-21  1:07     ` Atish Patra
2019-01-21 12:39       ` Auer, Lukas
2019-02-10 18:02         ` Auer, Lukas
2019-01-18 11:19 ` [U-Boot] [PATCH v2 10/11] cpu: Bind timer driver for boot hart Anup Patel
2019-01-18 11:52   ` Alexander Graf
2019-01-18 13:04     ` Anup Patel
2019-01-20 20:22   ` Auer, Lukas
2019-01-22  2:06   ` Bin Meng
2019-01-18 11:19 ` [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support Anup Patel
2019-01-20 20:26   ` Auer, Lukas
2019-01-21  1:22     ` Atish Patra
2019-01-21 12:57       ` Auer, Lukas
2019-01-21  9:48   ` Andreas Schwab
2019-01-21 16:17     ` Anup Patel
2019-01-21 16:36       ` Andreas Schwab
2019-01-21 16:53         ` Anup Patel
2019-01-21 17:10           ` Andreas Schwab
2019-01-21 17:32             ` Anup Patel
2019-01-22  9:30               ` Andreas Schwab
2019-01-23 19:01                 ` Atish Patra
2019-01-24  9:53                   ` Andreas Schwab
2019-01-24 10:43                     ` Anup Patel
2019-01-24 10:46                       ` Alexander Graf
2019-01-24 11:05                         ` Anup Patel
2019-01-24 11:18                           ` Alexander Graf
2019-01-24 12:52                             ` Anup Patel
2019-01-24 13:38                             ` Andreas Schwab
2019-01-24 13:53                               ` Alexander Graf
2019-01-24 13:57                                 ` Andreas Schwab
2019-02-03  7:41                                   ` Anup Patel
2019-02-04 11:17                                     ` Andreas Schwab
2019-02-04 13:03                                       ` Atish Patra
2019-02-04 13:10                                         ` Andreas Schwab
2019-02-05 12:14                                           ` Anup Patel
2019-02-05 12:51                                             ` Andreas Schwab
2019-02-05 12:58                                               ` Anup Patel
2019-02-05 13:40                                                 ` Andreas Schwab
2019-02-05 14:28                                                   ` Anup Patel
2019-02-05 14:39                                                     ` Andreas Schwab
2019-02-05 14:43                                                       ` Anup Patel
2019-02-05 15:00                                                         ` Andreas Schwab
2019-02-05 15:04                                                           ` Anup Patel
2019-01-22  2:06   ` Bin Meng
2019-01-20 20:33 ` [U-Boot] [PATCH v2 00/11] SiFive FU540 Support Auer, Lukas
2019-01-21  1:37   ` Atish Patra
2019-01-21  4:04     ` Anup Patel
2019-01-21  6:14       ` Bin Meng
2019-01-21  6:41         ` Anup Patel
2019-01-21  7:02           ` Bin Meng
2019-01-22 11:51       ` Auer, Lukas
2019-01-22 12:31         ` Anup Patel
2019-01-22 22:35           ` Auer, Lukas
2019-02-02 17:06         ` Paul Walmsley
2019-02-10 17:54           ` Auer, Lukas

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.