]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: arm_scmi: Add versions and identifier attributes using dev_groups
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 22 Oct 2019 09:09:01 +0000 (10:09 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Tue, 24 Dec 2019 11:35:49 +0000 (11:35 +0000)
commitf84fe387647d6e3be3568e7871d821be120a6555
treeaf26d4f499b47a6e0f8f03ced8d5fce8be3c5b0c
parent8efaa78a34698394f5472e7e73c36bbbad004862
firmware: arm_scmi: Add versions and identifier attributes using dev_groups

Platform drivers now have the option to have the platform core create
and remove any needed sysfs attribute files. Using the same, let's add
the scmi firmware and protocol version attributes as well as vendor and
sub-vendor identifiers to sysfs.

It helps to identify the firmware details from the sysfs entries similar
to ARM SCPI implementation.

Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/driver.c