firmware: meson_sm: Add serial number sysfs entry
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 26 Jul 2018 13:59:16 +0000 (15:59 +0200)
committerKevin Hilman <khilman@baylibre.com>
Thu, 13 Sep 2018 03:54:07 +0000 (20:54 -0700)
commit0789724f86a59fa7078d67dfeb1ee4a15ae3c693
tree1633d1a5fb54b4b5506ce471d08d313706d932a5
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
firmware: meson_sm: Add serial number sysfs entry

The Amlogic Meson SoC Secure Monitor implements a call to retrieve an unique
SoC ID starting from the GX Family and all new families.

The serial number is simply exposed as a sysfs entry under the firmware
sysfs directory.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/firmware/meson/meson_sm.c
include/linux/firmware/meson/meson_sm.h