Skip to content

riscv: add Bouffalolab bl808 support

Jisheng Zhang linux-devicetree linux-riscv linux-serial lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 21 repliesIn review
  2. v310 patches 8 repliesSuperseded
  3. v29 patches 33 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches19 repliesSuperseded

Changes in v4 from the cover letter

- fix build error reported by [email protected]
- fix earlycon compatible string
- fix dtbs_check
- collect Reviewed-by tag

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10dt-bindings: vendor-prefixes: add bouffalolabDocumentation/devicetree/bindings/vendor-prefixes.yaml+2 -04 replies
2/10dt-bindings: interrupt-controller: Add bouffalolab bl808 plicDocumentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml+1 -01 reply
3/10dt-bindings: serial: add documentation for Bouffalolab UART DriverDocumentation/devicetree/bindings/serial/bouffalolab,bl808-uart.yaml+47 -04 replies
4/10serial: bflb_uart: add Bouffalolab UART Driverdrivers/tty/serial/Kconfig drivers/tty/serial/Makefile drivers/tty/serial/bflb_uart.c +1 more+608 -04 replies
5/10riscv: add the Bouffalolab SoC family Kconfig optionarch/riscv/Kconfig.socs+5 -00 replies
6/10dt-bindings: riscv: Add bouffalolab bl808 board compatiblesDocumentation/devicetree/bindings/riscv/bouffalolab.yaml+29 -05 replies
7/10riscv: dts: bouffalolab: add the bl808 SoC base device treearch/riscv/boot/dts/bouffalolab/bl808.dtsi+73 -01 reply
8/10riscv: dts: bouffalolab: add Sipeed M1s SoM and Dock devicetreearch/riscv/boot/dts/Makefile arch/riscv/boot/dts/bouffalolab/Makefile arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s-dock.dts +1 more+49 -02 replies
9/10MAINTAINERS: riscv: add entry for Bouffalolab SoCMAINTAINERS+7 -00 replies
10/10riscv: defconfig: enable BOUFFALOLAB SoCarch/riscv/configs/defconfig+1 -00 replies

Reviews trailers per patch

9 of 10 patches have a Reviewed-by or Acked-by.

PatchConor DooleyPalmer DabbeltSamuel HollandRob Herring
1/10R-b A-b A-b
2/10R-b R-b
3/10R-b A-b
4/10
5/10R-b A-b
6/10R-b A-b
7/10A-b
8/10A-b
9/10R-b A-b
10/10R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/10] riscv: add Bouffalolab bl808 support

This series adds Bouffalolab uart driver and basic devicetrees for Bouffalolab bl808 SoC and Sipeed M1s dock board.

Since v3:
- fix build error reported by [email protected]
- fix earlycon compatible string
- fix dtbs_check
- collect Reviewed-by tag

Since v2:
- fix dt_binding_check and dtbs_check warnings
- use uart_port_tx_limited() helper in uart driver
- collect Acked-by/Reviewed-by tag
- uart0 -> uart3
- update "riscv,ndev" property
- mv vendor prefix binding as the first patch
- add compatible string for bouffalolab bl808 plic

Since v1:
- use FIELD_PREP and FIELD_GET macro
- rewrite bflb_uart_tx_chars()
- add vendor prefix for bouffalolab
- add dt binding for bl808 compatibles
- enable SOC_BOUFFALOLAB in defconfig
- collect Reviewed-by tag
- modify commit-msg as suggested

Jisheng Zhang (10):
dt-bindings: vendor-prefixes: add bouffalolab
dt-bindings: interrupt-controller: Add bouffalolab bl808 plic
dt-bindings: serial: add documentation for Bouffalolab UART Driver
serial: bflb_uart: add Bouffalolab UART Driver
riscv: add the Bouffalolab SoC family Kconfig option
dt-bindings: riscv: Add bouffalolab bl808 board compatibles
riscv: dts: bouffalolab: add the bl808 SoC base device tree
riscv: dts: bouffalolab: add Sipeed M1s SoM and Dock devicetree
MAINTAINERS: riscv: add entry for Bouffalolab SoC
riscv: defconfig: enable BOUFFALOLAB SoC

 .../sifive,plic-1.0.0.yaml                    |   1 +
 .../bindings/riscv/bouffalolab.yaml           |  29 +
 .../serial/bouffalolab,bl808-uart.yaml        |  47 ++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   7 +
 arch/riscv/Kconfig.socs                       |   5 +
 arch/riscv/boot/dts/Makefile                  |   1 +
 arch/riscv/boot/dts/bouffalolab/Makefile      |   2 +
 .../dts/bouffalolab/bl808-sipeed-m1s-dock.dts |  25 +
 .../dts/bouffalolab/bl808-sipeed-m1s.dtsi     |  21 +
 arch/riscv/boot/dts/bouffalolab/bl808.dtsi    |  73 +++
 arch/riscv/configs/defconfig                  |   1 +
 drivers/tty/serial/Kconfig                    |  18 +
 drivers/tty/serial/Makefile                   |   1 +
 drivers/tty/serial/bflb_uart.c                | 586 ++++++++++++++++++
 include/uapi/linux/serial_core.h              |   3 +
 16 files changed, 822 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/riscv/bouffalolab.yaml
 create mode 100644 Documentation/devicetree/bindings/serial/bouffalolab,bl808-uart.yaml
 create mode 100644 arch/riscv/boot/dts/bouffalolab/Makefile
 create mode 100644 arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s-dock.dts
 create mode 100644 arch/riscv/boot/dts/bouffalolab/bl808-sipeed-m1s.dtsi
 create mode 100644 arch/riscv/boot/dts/bouffalolab/bl808.dtsi
 create mode 100644 drivers/tty/serial/bflb_uart.c
Signature · 1 line
2.40.0