base: soc: Handle custom soc information sysfs entries
authorMurali Nalajala <mnalajal@codeaurora.org>
Mon, 7 Oct 2019 20:37:42 +0000 (13:37 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Oct 2019 12:35:32 +0000 (14:35 +0200)
commitc31e73121f4c1ec45a3e523ac6ce3ce6dafdcec1
treec77f7b5b78f358a59ddcc079edaab9bdfb68d2d2
parent201e91091b1d47047f55580b5474e1239f4d17aa
base: soc: Handle custom soc information sysfs entries

Soc framework exposed sysfs entries are not sufficient for some
of the h/w platforms. Currently there is no interface where soc
drivers can expose further information about their SoCs via soc
framework. This change address this limitation where clients can
pass their custom entries as attribute group and soc framework
would expose them as sysfs properties.

Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/1570480662-25252-1-git-send-email-mnalajal@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/soc.c
include/linux/sys_soc.h