[PATCH 0/7] canaan k210 SoC fixes

Niklas Cassel Niklas.Cassel at wdc.com
Tue Feb 15 17:16:33 CET 2022


From: Niklas Cassel <niklas.cassel at wdc.com>

Hello there,

This series improves the support for the canaan k210 SoC.

Patch 1 renames a few compatible strings so that the k210 compatible
strings are identical to the ones used in Linux.

Patch 2 add missing power bus clocks, which is needed if supplying
the u-boot device tree to Linux.

Patch 3 changes two device tree properties into one, in order to
be identical to the property used in Linux.

Patch 4 is a workaround for a k210 specific HW bug in the DW SPI.

Patch 5 is a generic bug fix for the DW SPI driver which avoids an IRQ
storm which otherwise causes the k210 to hang when booting Linux.

Patch 6-7 are bug fixes for the pinctrl driver used on k210.


Kind regards,
Niklas


Damien Le Moal (4):
  k210: use the board vendor name rather than the marketing name
  k210: dts: add missing power bus clocks
  k210: dts: fix fpioa node
  spi: dw: Force set K210 fifo length to 31

Niklas Cassel (2):
  pinctrl: k210: Fix loop in k210_pc_get_drive()
  pinctrl: k210: Fix bias-pull-up

Sean Anderson (1):
  spi: dw: Actually mask interrupts

 MAINTAINERS                                   |  10 +-
 arch/riscv/dts/k210-maix-bit.dts              |   3 +-
 arch/riscv/dts/k210.dtsi                      | 173 ++++++++++--------
 board/sipeed/maix/maix.c                      |   2 +-
 ...k210-sysctl.txt => canaan,k210-sysctl.txt} |   8 +-
 ...e,k210-fpioa.txt => canaan,k210-fpioa.txt} |  12 +-
 .../spi/snps,dw-apb-ssi.txt                   |   4 +-
 drivers/clk/Makefile                          |   2 +-
 drivers/clk/{clk_kendryte.c => clk_k210.c}    |   4 +-
 drivers/pinctrl/Makefile                      |   2 +-
 .../{pinctrl-kendryte.c => pinctrl-k210.c}    |  25 ++-
 drivers/spi/designware_spi.c                  |  20 +-
 include/configs/sipeed-maix.h                 |   2 +-
 include/{kendryte => k210}/pll.h              |   0
 test/dm/k210_pll.c                            |   2 +-
 15 files changed, 161 insertions(+), 108 deletions(-)
 rename doc/device-tree-bindings/mfd/{kendryte,k210-sysctl.txt => canaan,k210-sysctl.txt} (78%)
 rename doc/device-tree-bindings/pinctrl/{kendryte,k210-fpioa.txt => canaan,k210-fpioa.txt} (91%)
 rename drivers/clk/{clk_kendryte.c => clk_k210.c} (99%)
 rename drivers/pinctrl/{pinctrl-kendryte.c => pinctrl-k210.c} (97%)
 rename include/{kendryte => k210}/pll.h (100%)

-- 
2.35.1


More information about the U-Boot mailing list