[U-Boot] Pull request: u-boot-riscv/next
uboot at andestech.com
uboot at andestech.com
Thu Jul 2 03:50:53 CEST 2020
Hi Tom,
This PR is for -next
Please pull some riscv updates:
- Add Sipeed Maix support
- Update clock handler and proper cpu features
Thanks
Rick
https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/703836681
The following changes since commit e2a4d24e6b1f3d30136e2dde7b6fbf35bd427b8a:
Merge branch '2020-06-30-minor-TI-board-updates' into next (2020-06-30 15:03:25 -0400)
are available in the Git repository at:
git at gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
for you to fetch changes up to add0dc1f7de91112d9e738f9482b09b75fa86acb:
riscv: cpu: check and append L1 cache to cpu features (2020-07-01 15:01:27 +0800)
----------------------------------------------------------------
Sagar Shrikant Kadam (4):
riscv: dts: hifive-unleashed-a00: add cpu aliases
uclass: cpu: fix to display proper CPU features
riscv: cpu: correctly handle the setting of CPU_FEAT_MMU bit
riscv: cpu: check and append L1 cache to cpu features
Sean Anderson (20):
clk: Always use the supplied struct clk
clk: Check that ops of composite clock components exist before calling
clk: Fix clk_get_by_* handling of index
clk: Add K210 pll support
clk: Add a bypass clock for K210
clk: Add K210 clock support
dm: Add support for simple-pm-bus
dm: Fix error handling for dev_read_addr_ptr
reset: Add generic reset driver
lib: Always set errno in hcreate_r
riscv: Add headers for asm/global_data.h
riscv: Clear pending interrupts before enabling IPIs
riscv: Clean up IPI initialization code
riscv: Add option to support RISC-V privileged spec 1.9
riscv: Allow use of reset drivers
riscv: Try to get cpu frequency from a "clocks" node if it exists
riscv: Enable cpu clock if it is present
riscv: Add device tree for K210 and Sipeed Maix BitM
doc: riscv: Add documentation for Sipeed Maix Bit
riscv: Add Sipeed Maix support
MAINTAINERS | 7 ++
arch/riscv/Kconfig | 14 ++++
arch/riscv/cpu/cpu.c | 15 ++++
arch/riscv/cpu/start.S | 2 +
arch/riscv/dts/Makefile | 1 +
arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi | 4 ++
arch/riscv/dts/k210-maix-bit.dts | 47 +++++++++++++
arch/riscv/dts/k210.dtsi | 594 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
arch/riscv/include/asm/csr.h | 40 +++++++++++
arch/riscv/include/asm/global_data.h | 2 +
arch/riscv/include/asm/smp.h | 43 ++++++++++++
arch/riscv/lib/andes_plic.c | 34 ++++-----
arch/riscv/lib/reset.c | 2 +
arch/riscv/lib/sbi_ipi.c | 5 ++
arch/riscv/lib/sifive_clint.c | 33 +++------
arch/riscv/lib/smp.c | 49 ++-----------
arch/sandbox/dts/test.dts | 21 ++++++
arch/sandbox/include/asm/clk.h | 1 +
board/sipeed/maix/Kconfig | 47 +++++++++++++
board/sipeed/maix/MAINTAINERS | 11 +++
board/sipeed/maix/Makefile | 5 ++
board/sipeed/maix/maix.c | 41 +++++++++++
common/spl/spl_opensbi.c | 5 ++
configs/sandbox_defconfig | 3 +
configs/sipeed_maix_bitm_defconfig | 8 +++
doc/board/index.rst | 1 +
doc/board/sipeed/index.rst | 9 +++
doc/board/sipeed/maix.rst | 298 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
doc/device-tree-bindings/bus/simple-pm-bus.txt | 44 ++++++++++++
doc/device-tree-bindings/mfd/kendryte,k210-sysctl.txt | 33 +++++++++
doc/device-tree-bindings/reset/syscon-reset.txt | 36 ++++++++++
doc/imx/clk/ccf.txt | 63 ++++++++---------
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 1 +
drivers/clk/clk-composite.c | 64 +++++++++++------
drivers/clk/clk-divider.c | 6 +-
drivers/clk/clk-fixed-factor.c | 3 +-
drivers/clk/clk-gate.c | 6 +-
drivers/clk/clk-mux.c | 12 ++--
drivers/clk/clk-uclass.c | 8 +--
drivers/clk/imx/clk-gate2.c | 4 +-
drivers/clk/imx/clk-imx8mp.c | 2 +-
drivers/clk/kendryte/Kconfig | 12 ++++
drivers/clk/kendryte/Makefile | 1 +
drivers/clk/kendryte/bypass.c | 270 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/clk/kendryte/clk.c | 663 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/clk/kendryte/pll.c | 601 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/core/Kconfig | 7 ++
drivers/core/Makefile | 1 +
drivers/core/read.c | 2 +-
drivers/core/simple-pm-bus.c | 56 +++++++++++++++
drivers/cpu/cpu-uclass.c | 3 +
drivers/cpu/riscv_cpu.c | 50 +++++++++++++-
drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 +-
drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 2 +-
drivers/reset/Kconfig | 5 ++
drivers/reset/Makefile | 1 +
drivers/reset/reset-syscon.c | 81 ++++++++++++++++++++++
include/configs/sipeed-maix.h | 24 +++++++
include/dm/read.h | 4 +-
include/dt-bindings/clock/k210-sysctl.h | 59 ++++++++++++++++
include/dt-bindings/mfd/k210-sysctl.h | 38 ++++++++++
include/dt-bindings/reset/k210-sysctl.h | 38 ++++++++++
include/kendryte/bypass.h | 31 +++++++++
include/kendryte/clk.h | 35 ++++++++++
include/kendryte/pll.h | 57 +++++++++++++++
include/test/export.h | 16 +++++
lib/hashtable.c | 8 ++-
test/dm/Makefile | 3 +
test/dm/k210_pll.c | 96 ++++++++++++++++++++++++++
test/dm/simple-pm-bus.c | 45 ++++++++++++
test/dm/syscon-reset.c | 59 ++++++++++++++++
72 files changed, 3723 insertions(+), 172 deletions(-)
create mode 100644 arch/riscv/dts/k210-maix-bit.dts
create mode 100644 arch/riscv/dts/k210.dtsi
create mode 100644 board/sipeed/maix/Kconfig
create mode 100644 board/sipeed/maix/MAINTAINERS
create mode 100644 board/sipeed/maix/Makefile
create mode 100644 board/sipeed/maix/maix.c
create mode 100644 configs/sipeed_maix_bitm_defconfig
create mode 100644 doc/board/sipeed/index.rst
create mode 100644 doc/board/sipeed/maix.rst
create mode 100644 doc/device-tree-bindings/bus/simple-pm-bus.txt
create mode 100644 doc/device-tree-bindings/mfd/kendryte,k210-sysctl.txt
create mode 100644 doc/device-tree-bindings/reset/syscon-reset.txt
create mode 100644 drivers/clk/kendryte/Kconfig
create mode 100644 drivers/clk/kendryte/Makefile
create mode 100644 drivers/clk/kendryte/bypass.c
create mode 100644 drivers/clk/kendryte/clk.c
create mode 100644 drivers/clk/kendryte/pll.c
create mode 100644 drivers/core/simple-pm-bus.c
create mode 100644 drivers/reset/reset-syscon.c
create mode 100644 include/configs/sipeed-maix.h
create mode 100644 include/dt-bindings/clock/k210-sysctl.h
create mode 100644 include/dt-bindings/mfd/k210-sysctl.h
create mode 100644 include/dt-bindings/reset/k210-sysctl.h
create mode 100644 include/kendryte/bypass.h
create mode 100644 include/kendryte/clk.h
create mode 100644 include/kendryte/pll.h
create mode 100644 include/test/export.h
create mode 100644 test/dm/k210_pll.c
create mode 100644 test/dm/simple-pm-bus.c
create mode 100644 test/dm/syscon-reset.c
More information about the U-Boot
mailing list