[PW_SID:1087342] serial: 8250_dw: Add support for UltraRISC DP1000 UART#1837
[PW_SID:1087342] serial: 8250_dw: Add support for UltraRISC DP1000 UART#1837linux-riscv-bot wants to merge 4 commits into
Conversation
Move the DW_UART_* register offsets and CPR bit/field definitions from 8250_dwlib.c into 8250_dwlib.h so they can be shared by 8250_dw and 8250_dwlib users. Add an include guard for 8250_dwlib.h. Signed-off-by: Jia Wang <wangjia@ultrarisc.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
…nitions Replace the magic CPR value for Renesas RZ/N1 with a composition using DW_UART_CPR_* bit/field definitions and FIELD_PREP_CONST(). Introduce a helper macro to convert a FIFO size (bytes) into the CPR FIFO_MODE field value, with BUILD_BUG_ON_ZERO() checks for alignment and bounds. Use it to replace the literal FIFO_MODE values in the RZN1. Signed-off-by: Jia Wang <wangjia@ultrarisc.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
UltraRISC DP1000 integrates a Synopsys DesignWare APB UART, but it does not provide the standard CPR and UCV registers. Signed-off-by: Jia Wang <wangjia@ultrarisc.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The UltraRISC DP1000 UART does not provide the standard CPR register used by 8250_dw to discover port capabilities. Provide a fixed CPR value for the DP1000-specific compatible so the driver can configure the port correctly. Signed-off-by: Jia Wang <wangjia@ultrarisc.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 1: "[v6,1/4] serial: 8250_dwlib: move DesignWare register definitions to header" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 2: "[v6,2/4] serial: 8250_dw: build Renesas RZN1 CPR value from DW_UART_CPR_* definitions" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 3: "[v6,3/4] dt-bindings: serial: snps-dw-apb-uart: Add UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
|
Patch 4: "[v6,4/4] serial: 8250_dw: Use a fixed CPR value for UltraRISC DP1000 UART" |
PR for series 1087342 applied to workflow__riscv__fixes
Name: serial: 8250_dw: Add support for UltraRISC DP1000 UART
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1087342
Version: 6