u-boot/arch/arm/include/asm/arch-meson
Evgeny Bachinin dedea0d18d arch: arm: meson: support Amlogic chip_id v1 and v2
Patch introduces:
* chip_id API - useful for various things, but used now for
  device_id (did) generation as mentioned in [1] on our private board
  code. Our device_id is calculated by means of permutations of
  chip_id value.
* new SoCs (a1, s4, etc) are usually coming with the support of chip_id
  v2 right away, whereas secure monitors on old SoCs (like axg, g12b,
  g12a, etc) may support only chip_id v1. Chip_id API handles both
  cases
* meson_sm_get_serial() is described via chip_id API.

Links:
[1] https://lore.kernel.org/linux-arm-kernel/202311242104.RjBPI3uI-lkp@intel.com/T/#m630fbeea6a6e7d531290b5c0af205af4fb979757

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Co-developed-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Signed-off-by: Evgeny Bachinin <EABachinin@salutedevices.com>
Link: https://lore.kernel.org/r/20250210-meson_chip_id_all_vers-v1-3-b98f8b6880b8@salutedevices.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
2025-03-18 15:27:25 +01:00
..
a1.h ARM: meson: add A1 support 2023-06-28 10:05:34 +02:00
axg.h arm: meson: remove static ethernet link setup 2021-04-06 11:10:29 +02:00
boot.h arch: arm: meson: support Amlogic chip_id v1 and v2 2025-03-18 15:27:25 +01:00
clock-a1.h clk: Add clock driver for Amlogic A1 2023-10-12 13:39:41 +02:00
clock-axg.h clk: Add clock driver for AXG 2018-11-26 14:40:52 +01:00
clock-g12a.h clk: meson: add g12a support 2019-04-23 11:19:09 +02:00
clock-gx.h ARM: meson: rework soc arch file to prepare for new SoC 2018-11-26 14:40:52 +01:00
eth.h arm: meson: remove static ethernet link setup 2021-04-06 11:10:29 +02:00
g12a.h arm: meson: remove static ethernet link setup 2021-04-06 11:10:29 +02:00
gpio.h arm: include: amlogic: Remove duplicate newlines 2024-07-15 12:12:16 -06:00
gx.h arm: meson: remove static ethernet link setup 2021-04-06 11:10:29 +02:00
i2c.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mem.h ARM: meson: rework soc arch file to prepare for new SoC 2018-11-26 14:40:52 +01:00
meson-vpu.h video: Add Meson Video Processing Unit Driver 2019-01-31 09:35:01 +01:00
sm.h arch: arm: meson: support Amlogic chip_id v1 and v2 2025-03-18 15:27:25 +01:00