Skip to content

cpm2: Reset the CPM at startup and fix the cpm_uart driver accordingly.

Laurent Pinchart linuxppc-dev 4 versions – Applied

Status from this message: applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 2 repliesApplied
  2. v34 patches 2 repliesSuperseded
  3. v22 of 3 patches 18 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch10 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/5cpm_uart: Allocate DPRAM memory for SMC ports on CPM2-based platforms.drivers/serial/cpm_uart/cpm_uart.h drivers/serial/cpm_uart/cpm_uart_core.c drivers/serial/cpm_uart/cpm_uart_cpm1.c +1 more+76 -100 replies
2/5powerpc: Add bootwrapper function to get virtual reg from the device tree.arch/powerpc/boot/cpm-serial.c arch/powerpc/boot/devtree.c arch/powerpc/boot/mpc52xx-psc.c +2 more+31 -430 replies
3/5cpm-serial: Relocate CPM buffer descriptors and SMC parameter ram.arch/powerpc/Kconfig.debug arch/powerpc/boot/cpm-serial.c+69 -220 replies
4/5ep8248e: Reference SMC parameter RAM base in the device tree.arch/powerpc/boot/dts/ep8248e.dts+2 -30 replies
5/5cpm2: Reset the CPM when early debugging is not enabled.arch/powerpc/sysdev/cpm2.c+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCHv4 0/5] cpm2: Reset the CPM at startup and fix the cpm_uart driver accordingly.

Hi everybody,

these 5 patches reset the CPM in cpm2_reset() and fix the cpm_uart driver to initialise SMC ports correctly without relying on any initialisation performed by the boot loader/wrapper. They update the boot wrapper code and the EP8248E device tree to match the new SMC registers description.

Patches 2/5, 3/5 and 4/5 (boot wrapper and EP8248E device tree updates) haven't been tested due to lack of hardware.

Signature · 9 lines
Laurent Pinchart
CSE Semaphore Belgium

Chaussée de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75