mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
8d6799a9ba
Identify the SoC type and revision, and register this information with the SoC bus, so it is available under /sys/devices/soc0/, and can be checked where needed using soc_device_match(). Identification is done using the Product Register or Common Chip Code Register, as declared in DT (PRR only for now), or using a hardcoded fallback if missing. Example: Detected Renesas R-Car Gen2 r8a7791 ES1.0 ... # cat /sys/devices/soc0/{machine,family,soc_id,revision} Koelsch R-Car Gen2 r8a7791 ES1.0 Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
||
---|---|---|
.. | ||
Makefile | ||
r8a7779-sysc.c | ||
r8a7790-sysc.c | ||
r8a7791-sysc.c | ||
r8a7792-sysc.c | ||
r8a7794-sysc.c | ||
r8a7795-sysc.c | ||
r8a7796-sysc.c | ||
rcar-sysc.c | ||
rcar-sysc.h | ||
renesas-soc.c |