Geert Uytterhoeven 8d6799a9ba soc: renesas: Identify SoC and register with the SoC bus
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>
2016-11-23 20:22:21 +01:00
..
2016-10-12 11:01:37 -07:00
2016-10-06 10:49:01 -07:00
2016-10-07 21:29:04 -07:00
2016-08-01 18:21:13 -04:00
2016-07-30 11:32:01 -07:00
2016-10-07 21:16:16 -07:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-08-01 18:21:13 -04:00
2016-09-14 14:39:13 +01:00