ARM: stm32mp: correctly handle Silicon revision
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 15 Apr 2022 13:00:43 +0000 (15:00 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 10 May 2022 08:56:39 +0000 (10:56 +0200)
commit655af9aa9c91303b76a9565df7292bf9ec3351a1
treef1900eaa44a6df1c0ae454fc1708f97652dd35e1
parent6a69eaf6f43840b05d7093c2728b2b6b011c31de
ARM: stm32mp: correctly handle Silicon revision

Handle correctly the silicon revision = REV_ID[15:0] of Device Version
and the associated device marking, A to Z on STMicroelectronics STM32MP
SOCs.

This patch prepare the introduction of next STM32MP family,
with STM32MP13x Rev.Z for REV_ID = 1.1.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/cpu.c
arch/arm/mach-stm32mp/include/mach/sys_proto.h